summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-19 18:20:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-19 18:20:56 +0000
commit793b09b8547010e2b9e94a9b679ada3f2cd14e0b (patch)
treea33ae457f69492a8e5648736100682eba60fc4f2 /target
parent0ce7096e4069eaf0f011b030cd717c37553ea227 (diff)
downloadmtk-20170518-793b09b8547010e2b9e94a9b679ada3f2cd14e0b.zip
mtk-20170518-793b09b8547010e2b9e94a9b679ada3f2cd14e0b.tar.gz
mtk-20170518-793b09b8547010e2b9e94a9b679ada3f2cd14e0b.tar.bz2
really fix tgz images
SVN-Revision: 8065
Diffstat (limited to 'target')
-rw-r--r--target/linux/adm5120-2.6/image/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/adm5120-2.6/image/Makefile b/target/linux/adm5120-2.6/image/Makefile
index b9ae44e..829ddef 100644
--- a/target/linux/adm5120-2.6/image/Makefile
+++ b/target/linux/adm5120-2.6/image/Makefile
@@ -121,10 +121,13 @@ endif
endif
endif
endif
-ifeq ($(1),tgz)
+endef
+
+ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
+ define Image/BuildKernel
$(call Image/Build/RouterBoard)
+ endef
endif
-endef
define Image/Build/LZMAKernel
$(LOADER_MAKE) TARGET_DIR=$(BIN_DIR) \