diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-23 22:16:09 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-23 22:16:09 +0000 |
commit | 7938d1645165192abaaf4e4cdbe0bbb880ec3a9c (patch) | |
tree | 4ceb6d01735571c0ceb41f47bf1a5f84550ad7c0 /target/linux | |
parent | 86aff32701a745cb8f795117f1c47ccb33258862 (diff) | |
download | mtk-20170518-7938d1645165192abaaf4e4cdbe0bbb880ec3a9c.zip mtk-20170518-7938d1645165192abaaf4e4cdbe0bbb880ec3a9c.tar.gz mtk-20170518-7938d1645165192abaaf4e4cdbe0bbb880ec3a9c.tar.bz2 |
build: make MkuImage more generic
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38516
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/kirkwood/image/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index 1bc17c2..94e7bb9 100644 --- a/target/linux/kirkwood/image/Makefile +++ b/target/linux/kirkwood/image/Makefile @@ -13,8 +13,8 @@ define Image/BuildKernel/Template $(CP) $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage echo -ne '\x00\x00\x00\x00' >> $(BIN_DIR)/$(IMG_PREFIX)-zImage - $(call Image/BuildKernel/MkuImageARM, \ - 0x00008000, \ + $(call Image/BuildKernel/MkuImage, \ + none, 0x00008000, 0x00008000, \ $(BIN_DIR)/$(IMG_PREFIX)-zImage, \ $(BIN_DIR)/$(IMG_PREFIX)-uImage \ ) @@ -22,8 +22,8 @@ define Image/BuildKernel/Template ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) $(CP) $(KDIR)/zImage-initramfs $(BIN_DIR)/$(IMG_PREFIX)-zImage-initramfs echo -ne '\x00\x00\x00\x00' >> $(BIN_DIR)/$(IMG_PREFIX)-zImage-initramfs - $(call Image/BuildKernel/MkuImageARM, \ - 0x00008000, \ + $(call Image/BuildKernel/MkuImage, \ + none, 0x00008000, 0x00008000, \ $(BIN_DIR)/$(IMG_PREFIX)-zImage-initramfs, \ $(BIN_DIR)/$(IMG_PREFIX)-uImage-initramfs \ ) @@ -34,8 +34,8 @@ define Image/BuildKernel/Template $(CP) $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-zImage cat $(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb >> $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-zImage - $(call Image/BuildKernel/MkuImageARM, \ - 0x00008000, \ + $(call Image/BuildKernel/MkuImage, \ + none, 0x00008000, 0x00008000, \ $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-zImage, \ $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-uImage \ ) @@ -43,8 +43,8 @@ define Image/BuildKernel/Template ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) $(CP) $(KDIR)/zImage-initramfs $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-zImage-initramfs cat $(BIN_DIR)/$(IMG_PREFIX)-$(1).dtb >> $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-zImage-initramfs - $(call Image/BuildKernel/MkuImageARM, \ - 0x00008000, \ + $(call Image/BuildKernel/MkuImage, \ + none, 0x00008000, 0x00008000, $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-zImage-initramfs, \ $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-uImage-initramfs \ ) |