From: Imre Kaloz Date: Fri, 20 Dec 2013 05:50:24 +0000 (+0000) Subject: don't fail if there are no dtbs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=21d57f5a40773da29964f14cdd7399e4840d954e;p=openwrt%2Fstaging%2Fmans0n.git don't fail if there are no dtbs Signed-off-by: Imre Kaloz SVN-Revision: 39141 --- 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