[omap]: don't fail if there are no dtbs
authorImre Kaloz <kaloz@openwrt.org>
Fri, 20 Dec 2013 05:50:24 +0000 (05:50 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Fri, 20 Dec 2013 05:50:24 +0000 (05:50 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39141

target/linux/omap/image/Makefile

index 4035f1c44a2b08258dba165d5d1da06f77e95013..42ca517c589c3958d61795511adc1b30bdf571be 100644 (file)
@@ -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