Fix the tgz image build
authorFlorian Fainelli <florian@openwrt.org>
Wed, 18 Jul 2007 14:40:57 +0000 (14:40 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 18 Jul 2007 14:40:57 +0000 (14:40 +0000)
SVN-Revision: 8042

include/image.mk
target/linux/adm5120-2.6/image/Makefile

index 84549c5543836977fb66bf75812ecd23ad3a3b21..9c6133850c77b5b8fc8d3eee53896113f3b10b48 100644 (file)
@@ -63,6 +63,7 @@ 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
index bf4ca5711b4a63b6f74908d47e5c60d812135696..c4fdf95c2c5c37cfe36ddc0d07caaac25f759bcc 100644 (file)
@@ -90,6 +90,7 @@ define Image/Build
 # this line is here intentionally
 ifneq ($(1),jffs2-256k)
 ifneq ($(1),jffs2-128k)
+ifneq ($(1),tgz)
        $(call Image/Build/Compex,$(1),wp54g-wrt,$(patsubst jffs2-%,jffs2,$(1)),WP54G-WRT)
 ifeq ($(CONFIG_DEVEL),y)
        $(call Image/Build/Edimax,$(1),br-6104k,$(patsubst jffs2-%,jffs2,$(1)),BR-6104K)
@@ -119,6 +120,7 @@ ifeq ($(CONFIG_DEVEL),y)
 endif
 endif
 endif
+endif
 ifeq ($(1),tgz)
        $(call Image/Build/RouterBoard)
 endif