diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-19 18:20:56 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-19 18:20:56 +0000 |
commit | 907958f26817fd7ae5bcf01a290187c9c452109e (patch) | |
tree | 21edfebe032f5399b3d2f5e9d2f5a845982a2356 | |
parent | 35016b582214bbbf5f5ba494abf4f9fc60feab8e (diff) |
really fix tgz images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8065 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/image.mk | 1 | ||||
-rw-r--r-- | target/linux/adm5120-2.6/image/Makefile | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/image.mk b/include/image.mk index c56e7cf19..5fc87efa1 100644 --- a/include/image.mk +++ b/include/image.mk @@ -57,7 +57,6 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y) define Image/mkfs/tgz $(TAR) -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ . - $(call Image/Build,tgz) endef endif else diff --git a/target/linux/adm5120-2.6/image/Makefile b/target/linux/adm5120-2.6/image/Makefile index b9ae44ecb..829ddef3d 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) \ |