From 21d57f5a40773da29964f14cdd7399e4840d954e Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Fri, 20 Dec 2013 05:50:24 +0000 Subject: [PATCH] don't fail if there are no dtbs Signed-off-by: Imre Kaloz SVN-Revision: 39141 --- target/linux/omap/image/Makefile | 6 +++--- 1 file 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 -- 2.30.2