From c4b197737e99cbbbe49da0afeea1454ea69f70ef Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Sep 2009 02:53:13 +0000 Subject: [PATCH] do not fail on empty packages SVN-Revision: 17504 --- include/package-ipkg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 58c209d242..bd4e28ce35 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 $$@