From 907958f26817fd7ae5bcf01a290187c9c452109e Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 19 Jul 2007 18:20:56 +0000 Subject: really fix tgz images git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8065 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120-2.6/image/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'target/linux/adm5120-2.6/image') diff --git a/target/linux/adm5120-2.6/image/Makefile b/target/linux/adm5120-2.6/image/Makefile index b9ae44ecb4..829ddef3da 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) \ -- cgit v1.2.3