summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-18 12:07:56 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-18 12:07:56 +0000
commit36e9a33df799859b11d98d18065bfe2f332ee344 (patch)
treee1bcb8621560be3fdd196997eab62c02c055ac9c /target
parent89babcf6333dc4a7065ca11f1737a83e715b0eb9 (diff)
downloadmtk-20170518-36e9a33df799859b11d98d18065bfe2f332ee344.zip
mtk-20170518-36e9a33df799859b11d98d18065bfe2f332ee344.tar.gz
mtk-20170518-36e9a33df799859b11d98d18065bfe2f332ee344.tar.bz2
cns21xx: build uImage for the NS-K330
SVN-Revision: 30974
Diffstat (limited to 'target')
-rw-r--r--target/linux/cns21xx/image/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/cns21xx/image/Makefile b/target/linux/cns21xx/image/Makefile
index 9b1e216..711a85e 100644
--- a/target/linux/cns21xx/image/Makefile
+++ b/target/linux/cns21xx/image/Makefile
@@ -55,12 +55,13 @@ define Image/Prepare
# NSB3AST : mach id 2917 (0xb65)
$(call prepare_zimage,nsb3ast,0b,65)
# NS-K330 : mach id 3108 (0xc24)
- $(call prepare_zimage,ns-k330,0c,24)
+ $(call prepare_uimage,ns-k330,0c,24)
endef
define Image/BuildKernel
cat $(KDIR)/$(call zimage_name,nsb3ast) > $(BIN_DIR)/$(call zimage_name,nsb3ast)
cat $(KDIR)/$(call zimage_name,ns-k330) > $(BIN_DIR)/$(call zimage_name,ns-k330)
+ cat $(KDIR)/$(call uimage_name,ns-k330) > $(BIN_DIR)/$(call uimage_name,ns-k330)
endef
define Image/Build/Generic
@@ -97,6 +98,7 @@ endef
define Image/Build/NSK330
$(call Image/Build/Generic,$(1),ns-k330,2686976)
+ $(call Image/Build/uImage,$(1),ns-k330,2686976)
endef
define Image/Build/squashfs