summaryrefslogtreecommitdiff
path: root/target
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
commit21d57f5a40773da29964f14cdd7399e4840d954e (patch)
treee884c99d2ed87536b04446893e0c4c6ff22ad07e /target
parenta787a028739718548e357bfca3de0013c3525bfd (diff)
downloadmtk-20170518-21d57f5a40773da29964f14cdd7399e4840d954e.zip
mtk-20170518-21d57f5a40773da29964f14cdd7399e4840d954e.tar.gz
mtk-20170518-21d57f5a40773da29964f14cdd7399e4840d954e.tar.bz2
don't fail if there are no dtbs
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39141
Diffstat (limited to 'target')
-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 4035f1c..42ca517 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