change cp to $(CP)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Mike Baker
2006-02-01 23:53:19 +00:00
parent 8966d3e940
commit e0af0a4eb8
254 changed files with 771 additions and 783 deletions

View File

@@ -40,9 +40,9 @@ build:
$(IPKG_KERNEL) install `ls packages/$${package}_*`; \
done
if [ -d ./files ]; then \
cp -a --remove-destination ./files/* $(LINUX_BUILD_DIR)/root; \
$(CP) --remove-destination ./files/* $(LINUX_BUILD_DIR)/root; \
fi
if [ -d ./files.$(LIST) ]; then \
cp -a --remove-destination ./files.$(LIST)/* $(LINUX_BUILD_DIR)/root; \
$(CP) --remove-destination ./files.$(LIST)/* $(LINUX_BUILD_DIR)/root; \
fi
$(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install