aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2013-12-20 05:50:24 +0000
committerImre Kaloz <kaloz@openwrt.org>2013-12-20 05:50:24 +0000
commita7b9d19e1cd983d75fc08fee4c6d81eb29bc5eb8 (patch)
tree932d9d7e31083642a48c05571afe084e5177d820
parent11e80169799c5071ecaaf13d9c785863a61f72c1 (diff)
downloadmaster-187ad058-a7b9d19e1cd983d75fc08fee4c6d81eb29bc5eb8.tar.gz
master-187ad058-a7b9d19e1cd983d75fc08fee4c6d81eb29bc5eb8.tar.bz2
master-187ad058-a7b9d19e1cd983d75fc08fee4c6d81eb29bc5eb8.zip
[omap]: don't fail if there are no dtbs
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39141 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/omap/image/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/omap/image/Makefile b/target/linux/omap/image/Makefile
index 4035f1c44a..42ca517c58 100644
--- a/target/linux/omap/image/Makefile
+++ b/target/linux/omap/image/Makefile
@@ -10,9 +10,9 @@ include $(INCLUDE_DIR)/image.mk
define Image/BuildKernel
cp $(KDIR)/zImage $(BIN_DIR)/openwrt-$(BOARD)-zImage
-mkdir $(BIN_DIR)/dtbs
- $(CP) $(LINUX_DIR)/arch/arm/boot/dts/am335x*.dtb $(BIN_DIR)/dtbs/
- $(CP) $(LINUX_DIR)/arch/arm/boot/dts/omap3*.dtb $(BIN_DIR)/dtbs/
- $(CP) $(LINUX_DIR)/arch/arm/boot/dts/omap4*.dtb $(BIN_DIR)/dtbs/
+ -$(CP) $(LINUX_DIR)/arch/arm/boot/dts/am335x*.dtb $(BIN_DIR)/dtbs/
+ -$(CP) $(LINUX_DIR)/arch/arm/boot/dts/omap3*.dtb $(BIN_DIR)/dtbs/
+ -$(CP) $(LINUX_DIR)/arch/arm/boot/dts/omap4*.dtb $(BIN_DIR)/dtbs/
endef
define Image/Build