From 15b59cb40c42e69e353b2d46648654eaaff43578 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 24 Feb 2010 01:05:48 +0100 Subject: allow for target//files to be empty/non-existent --- package/base-files/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 841cc29f7..3f63df3e6 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -26,7 +26,8 @@ INSTALL_STYLE:= manual do-install: $(CP) ./src/* $(IDIR_BASE_FILES) - $(CP) $(TOPDIR)/target/$(ADK_TARGET)/files/* $(IDIR_BASE_FILES) + # allow this to fail, as there might be no target-specific files to copy + -$(CP) $(TOPDIR)/target/$(ADK_TARGET)/files/* $(IDIR_BASE_FILES) ifeq (${ADK_TARGET_ROOTFS_NFSROOT},y) @-rm $(IDIR_BASE_FILES)/etc/network/interfaces endif -- cgit v1.2.3