Fix the tgz image build

SVN-Revision: 8042
This commit is contained in:
Florian Fainelli 2007-07-18 14:40:57 +00:00
parent c72197e2cc
commit f59b6f6089
2 changed files with 3 additions and 0 deletions

View file

@ -57,6 +57,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

View 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