aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-16 21:18:48 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-16 21:18:48 +0000
commit26a11009a09f48ef5ce9b7491523bd7c26f0e6f4 (patch)
tree56541820a07bd29affb3f0f8aaaa98fbdbd20f15 /target/linux/oxnas
parent79a54d53cc6bec0774fd60ed1bffe5b2e9a5267f (diff)
downloadmaster-187ad058-26a11009a09f48ef5ce9b7491523bd7c26f0e6f4.tar.gz
master-187ad058-26a11009a09f48ef5ce9b7491523bd7c26f0e6f4.tar.bz2
master-187ad058-26a11009a09f48ef5ce9b7491523bd7c26f0e6f4.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44468 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/oxnas')
-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 b09c67ef36..2660a9b125 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)