summaryrefslogtreecommitdiff
path: root/target/linux/oxnas/image
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-16 21:18:48 +0000
committerJohn Crispin <john@openwrt.org>2015-02-16 21:18:48 +0000
commit5a8d78d710452d9c4bea427881f069f1533bba26 (patch)
tree67fd47050ab2a349e9f10f0ab0ee34c2df677497 /target/linux/oxnas/image
parent08b45f73db864775ce08c97b7a4c4065b1d4ad68 (diff)
downloadmtk-20170518-5a8d78d710452d9c4bea427881f069f1533bba26.zip
mtk-20170518-5a8d78d710452d9c4bea427881f069f1533bba26.tar.gz
mtk-20170518-5a8d78d710452d9c4bea427881f069f1533bba26.tar.bz2
oxnas: fix itb generation
- according to imx6 Makefile and u-Boot documentation is itb and probably should not be changed - this fixes build error if CONFIG_TARGET_ROOTFS_INCLUDE_FIT is set (missing .itb file) - use DTS_DIR (like in imx6 Makefile) only compile tested Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Acked-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 44468
Diffstat (limited to 'target/linux/oxnas/image')
-rw-r--r--target/linux/oxnas/image/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image/Makefile
index b09c67e..2660a9b 100644
--- a/target/linux/oxnas/image/Makefile
+++ b/target/linux/oxnas/image/Makefile
@@ -28,10 +28,10 @@ $(shell echo $(PROFILE) | tr '[:upper:]' '[:lower:]' | sed 's/_/-/g')
endef
define Image/BuildKernel/Template
- $(CP) $(LINUX_DIR)/arch/arm/boot/dts/ox820-$(1).dtb $(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb
+ $(CP) $(DTS_DIR)/ox820-$(1).dtb $(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb
$(call Image/BuildKernel/MkFIT,$(1),$(KDIR)/zImage,$(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb,none,0x60008000,0x60008000)
- $(CP) $(KDIR)/fit-$(1).itb $(BIN_DIR)/$(IMG_PREFIX)-$(1)-fit-uImage.bin
+ $(CP) $(KDIR)/fit-$(1).itb $(BIN_DIR)/$(IMG_PREFIX)-$(1)-fit-uImage.itb
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
$(call Image/BuildKernel/MkFIT,$(1),$(KDIR)/zImage-initramfs,$(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb,none,0x60008000,0x60008000,-initramfs)