From: nbd Date: Thu, 3 Sep 2009 02:53:13 +0000 (+0000) Subject: do not fail on empty packages X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/6dcd15c933bef25dbe430fe487dd6cb47939e5e9 do not fail on empty packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17504 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 58c209d24..bd4e28ce3 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -63,7 +63,7 @@ ifeq ($(DUMP),) mkdir -p $(STAGING_DIR_ROOT)/stamp $(STAGING_DIR_ROOT)/tmp-$(1) $(call Package/$(1)/install,$(STAGING_DIR_ROOT)/tmp-$(1)) $(call Package/$(1)/install_lib,$(STAGING_DIR_ROOT)/tmp-$(1)) - $(CP) $(STAGING_DIR_ROOT)/tmp-$(1)/* $(STAGING_DIR_ROOT)/ + $(CP) $(STAGING_DIR_ROOT)/tmp-$(1)/. $(STAGING_DIR_ROOT)/ rm -rf $(STAGING_DIR_ROOT)/tmp-$(1) touch $$@