mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 20:53:22 +02:00
Fix the tgz image build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8042 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9fe53f2340
commit
f985faf3de
@ -57,6 +57,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
|||||||
ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
|
ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
|
||||||
define Image/mkfs/tgz
|
define Image/mkfs/tgz
|
||||||
$(TAR) -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
|
$(TAR) -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
|
||||||
|
$(call Image/Build,tgz)
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
|
@ -90,6 +90,7 @@ define Image/Build
|
|||||||
# this line is here intentionally
|
# this line is here intentionally
|
||||||
ifneq ($(1),jffs2-256k)
|
ifneq ($(1),jffs2-256k)
|
||||||
ifneq ($(1),jffs2-128k)
|
ifneq ($(1),jffs2-128k)
|
||||||
|
ifneq ($(1),tgz)
|
||||||
$(call Image/Build/Compex,$(1),wp54g-wrt,$(patsubst jffs2-%,jffs2,$(1)),WP54G-WRT)
|
$(call Image/Build/Compex,$(1),wp54g-wrt,$(patsubst jffs2-%,jffs2,$(1)),WP54G-WRT)
|
||||||
ifeq ($(CONFIG_DEVEL),y)
|
ifeq ($(CONFIG_DEVEL),y)
|
||||||
$(call Image/Build/Edimax,$(1),br-6104k,$(patsubst jffs2-%,jffs2,$(1)),BR-6104K)
|
$(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
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
ifeq ($(1),tgz)
|
ifeq ($(1),tgz)
|
||||||
$(call Image/Build/RouterBoard)
|
$(call Image/Build/RouterBoard)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user