summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2010-02-24 01:05:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-24 19:19:49 +0100
commit15b59cb40c42e69e353b2d46648654eaaff43578 (patch)
tree5e4d0fcc226f1a08d6b07b52e2fc90cd6b0e56c9 /package/base-files
parent65e5e3f6209a4d72be094393ff2d7df871e36184 (diff)
allow for target/<DEV>/files to be empty/non-existent
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile3
1 files changed, 2 insertions, 1 deletions
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