From: Nicolas Thill Date: Wed, 28 Apr 2010 14:47:43 +0000 (+0000) Subject: buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b3b591c000acb7d9b7135b3fc8ac730e42b20832;p=openwrt%2Fstaging%2Fluka.git buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ SVN-Revision: 21238 --- diff --git a/Config.in b/Config.in index 4746ba4185..e07d803ebd 100644 --- a/Config.in +++ b/Config.in @@ -60,14 +60,14 @@ menu "Target Images" help Build a squashfs-lzma root filesystem - config TARGET_ROOTFS_TGZ - bool "tgz" - default y if USES_TGZ + config TARGET_ROOTFS_TARGZ + bool "tar.gz" + default y if USES_TARGZ help Build a compressed tar archive of the the root filesystem config TARGET_ROOTFS_CPIOGZ - bool "cpiogz" + bool "cpio.gz" default y if USES_CPIOGZ help Build a compressed cpio archive of the the root filesystem diff --git a/include/image.mk b/include/image.mk index 8dc7e114b6..22ab176cb9 100644 --- a/include/image.mk +++ b/include/image.mk @@ -125,9 +125,9 @@ ifeq ($(CONFIG_TARGET_ROOTFS_CPIOGZ),y) endef endif -ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y) - define Image/mkfs/tgz - $(TAR) -zcf $(BIN_DIR)/$(IMG_PREFIX)-rootfs.tgz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ . +ifeq ($(CONFIG_TARGET_ROOTFS_TARGZ),y) + define Image/mkfs/targz + $(TAR) -zcf $(BIN_DIR)/$(IMG_PREFIX)-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ . endef endif @@ -176,7 +176,7 @@ ifneq ($(IB),1) $(call Image/BuildKernel) $(call Image/mkfs/jffs2) $(call Image/mkfs/squashfs) - $(call Image/mkfs/tgz) + $(call Image/mkfs/targz) $(call Image/mkfs/cpiogz) $(call Image/mkfs/ext2) $(call Image/mkfs/iso) @@ -187,7 +187,7 @@ else $(call Image/BuildKernel) $(call Image/mkfs/jffs2) $(call Image/mkfs/squashfs) - $(call Image/mkfs/tgz) + $(call Image/mkfs/targz) $(call Image/mkfs/cpiogz) $(call Image/mkfs/ext2) $(call Image/mkfs/iso) diff --git a/scripts/metadata.pl b/scripts/metadata.pl index e0fb32fc11..2d12e19298 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -162,7 +162,7 @@ sub target_config_features(@) { /squashfs/ and $ret .= "\tselect USES_SQUASHFS\n"; /jffs2/ and $ret .= "\tselect USES_JFFS2\n"; /ext2/ and $ret .= "\tselect USES_EXT2\n"; - /tgz/ and $ret .= "\tselect USES_TGZ\n"; + /targz/ and $ret .= "\tselect USES_TARGZ\n"; /cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n"; /ubifs/ and $ret .= "\tselect USES_UBIFS\n"; /fpu/ and $ret .= "\tselect HAS_FPU\n"; diff --git a/target/Config.in b/target/Config.in index f881245c62..48fd827326 100644 --- a/target/Config.in +++ b/target/Config.in @@ -49,7 +49,7 @@ config USES_JFFS2 config USES_EXT2 bool -config USES_TGZ +config USES_TARGZ bool config USES_CPIOGZ diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 9c7e605cd1..540fe51d1c 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=mips BOARD:=ar71xx BOARDNAME:=Atheros AR71xx/AR7240/AR913x -FEATURES:=squashfs jffs2 tgz +FEATURES:=squashfs jffs2 targz CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time LINUX_VERSION:=2.6.32.12 diff --git a/target/linux/cobalt/Makefile b/target/linux/cobalt/Makefile index 69705e9116..806a60df4e 100644 --- a/target/linux/cobalt/Makefile +++ b/target/linux/cobalt/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=mipsel BOARD:=cobalt BOARDNAME:=Cobalt Microservers -FEATURES:=tgz pci ext2 +FEATURES:=targz pci ext2 CFLAGS:=-O2 -pipe -mtune=r5000 -funit-at-a-time LINUX_VERSION:=2.6.32.12 diff --git a/target/linux/ep93xx/Makefile b/target/linux/ep93xx/Makefile index dae98ad7cc..8e469d4b32 100644 --- a/target/linux/ep93xx/Makefile +++ b/target/linux/ep93xx/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=arm BOARD:=ep93xx BOARDNAME:=Cirrus Logic EP93xx SoC -FEATURES:=squashfs jffs2 ext2 tgz usb +FEATURES:=squashfs jffs2 ext2 targz usb CFLAGS:=-Os -pipe -march=armv4t -funit-at-a-time LINUX_VERSION:=2.6.30.10 diff --git a/target/linux/kirkwood/Makefile b/target/linux/kirkwood/Makefile index a1e9e5f57f..13f38af452 100644 --- a/target/linux/kirkwood/Makefile +++ b/target/linux/kirkwood/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=arm BOARD:=kirkwood BOARDNAME:=Marvell Kirkwood -FEATURES:=tgz usb +FEATURES:=targz usb LINUX_VERSION:=2.6.30.10 diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile index 8e2a8cdaa6..ee9fa6c09a 100644 --- a/target/linux/mpc52xx/Makefile +++ b/target/linux/mpc52xx/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=powerpc BOARD:=mpc52xx BOARDNAME:=Freescale MPC52xx -FEATURES:=tgz ext2 +FEATURES:=targz ext2 LINUX_VERSION:=2.6.30.10 diff --git a/target/linux/mpc83xx/Makefile b/target/linux/mpc83xx/Makefile index 5598b5b117..9fa36d4cfe 100644 --- a/target/linux/mpc83xx/Makefile +++ b/target/linux/mpc83xx/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=powerpc BOARD:=mpc83xx BOARDNAME:=Freescale MPC83xx -FEATURES:=squashfs tgz broken +FEATURES:=squashfs targz broken LINUX_VERSION:=2.6.31.12 diff --git a/target/linux/rb532/Makefile b/target/linux/rb532/Makefile index b4253833b2..ed92715843 100644 --- a/target/linux/rb532/Makefile +++ b/target/linux/rb532/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=mipsel BOARD:=rb532 BOARDNAME:=Mikrotik RouterBoard 532 -FEATURES:=jffs2 pci tgz +FEATURES:=jffs2 pci targz LINUX_VERSION:=2.6.32.12 diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile index 6662912380..6e7679570c 100644 --- a/target/linux/x86/Makefile +++ b/target/linux/x86/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=i386 BOARD:=x86 BOARDNAME:=x86 -FEATURES:=squashfs jffs2 ext2 vdi vmdk pcmcia tgz +FEATURES:=squashfs jffs2 ext2 vdi vmdk pcmcia targz SUBTARGETS=generic olpc xen_domu ep80579 net5501 LINUX_VERSION:=2.6.32.12 diff --git a/target/linux/xburst/Makefile b/target/linux/xburst/Makefile index 7925c49db3..1381972900 100644 --- a/target/linux/xburst/Makefile +++ b/target/linux/xburst/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=mipsel BOARD:=xburst BOARDNAME:=Ingenic XBurst -FEATURES:=jffs2 tgz ubifs audio +FEATURES:=jffs2 targz ubifs audio SUBTARGETS:=qi_lb60 n516 n526 LINUX_VERSION:=2.6.32.12