Pull request for branch various-fixes
Subsystems (2)
Hello,
During the flight to San Francisco today (to go to the Embedded Linux Conference), I had the time to work on a few Buildroot cleanups. Most of them have been discussed during the Buildroot Working Day that took place in February 2010, right after FOSDEM, in Brussels.
Enjoy :-)
Thomas
The following changes since commit e7b72e11dc2fb7d15440dca32cff59869dc1c2c3:
Peter Korsgaard (1):
cramfs: fix help text typo
are available in the git repository at:
git://git.busybox.net/~tpetazzoni/git/buildroot various-fixes
Thomas Petazzoni (25):
Remove BR2_PREFER_IMA
Update defconfig after BR2_PREFER_IMA removal
Update config.{guess,sub} unconditionally
Update defconfigs after BR2_UPDATE_CONFIG removal
Do not let packages remove man pages, info pages and documentation Remove all documentation when BR2_HAVE_DOCUMENTATION is not set Do not remove documentation on a per-package basis
Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES} Get rid of BR2_HAVE_{MANPAGES,INFOPAGES} config options Update defconfigs after BR2_HAVE_{INFOPAGES,MANPAGES} removal Get rid of all usages of BR2_RECENT
Remove the BR2_RECENT option
Update defconfigs after BR2_RECENT removal
Move the command-related options to a submenu
Bring the three path-related options together
Move the global config cache option to an Advanced submenu Guess build system and remove BR2_GNU_BUILD_SUFFIX Update defconfigs after BR2_GNU_BUILD_SUFFIX removal Get rid of now unused HOST_ARCH computation code
Remove BR2_ENABLE_LOCALE_PREGENERATED
Update defconfigs after BR2_ENABLE_LOCALE_PREGENERATED removal Get rid of unused variables
Remove variables useless after BR2_PREFER_IMA removal Get rid of useless OpenMP related code
Get rid of the OPTIMIZE_FOR_CPU variable
Config.in | 73 +++++++---------------------- Makefile | 22 +++------ configs/arm_toolchain_defconfig | 7 --- configs/at91rm9200df_defconfig | 7 --- configs/at91rm9200df_ext_bare_defconfig | 6 -- configs/at91rm9200df_ext_defconfig | 6 -- configs/at91sam9260dfc_defconfig | 7 --- configs/at91sam9260dfc_ext_bare_defconfig | 6 -- configs/at91sam9260dfc_ext_defconfig | 6 -- configs/at91sam9260pf_defconfig | 3 - configs/at91sam9261ek_defconfig | 7 --- configs/at91sam9261ek_ext_bare_defconfig | 6 -- configs/at91sam9261ek_ext_defconfig | 6 -- configs/at91sam9263ek_defconfig | 7 --- configs/at91sam9263ek_ext_bare_defconfig | 6 -- configs/at91sam9263ek_ext_defconfig | 6 -- configs/at91sam9g20dfc_defconfig | 7 --- configs/at91sam9g20dfc_ext_bare_defconfig | 6 -- configs/at91sam9g20dfc_ext_defconfig | 6 -- configs/atngw100-base_defconfig | 6 -- configs/atngw100_defconfig | 7 --- configs/atstk1005_defconfig | 7 --- configs/atstk100x_defconfig | 7 --- configs/i386_defconfig | 7 --- configs/i686_defconfig | 7 --- configs/integrator926_defconfig | 6 -- configs/integrator926_huge_defconfig | 6 -- configs/kb9202_defconfig | 6 -- configs/v100sc2_defconfig | 6 -- package/Makefile.autotools.in | 2 - package/Makefile.in | 19 +------- package/Makefile.package.in | 9 ---- package/avahi/avahi.mk | 2 +- package/axel/axel.mk | 2 +- package/bash/bash.mk | 7 --- package/berkeleydb/berkeleydb.mk | 7 --- package/bison/bison.mk | 7 --- package/busybox/Config.in | 4 +- package/busybox/busybox.mk | 8 --- package/busybox/initramfs.mk | 8 --- package/coreutils/coreutils.mk | 7 --- package/dhcp/dhcp.mk | 25 ---------- package/dialog/dialog.mk | 3 - package/diffutils/diffutils.mk | 6 -- package/file/file.mk | 7 --- package/findutils/findutils.mk | 7 --- package/gawk/gawk.mk | 7 --- package/gettext/gettext.mk | 11 +---- package/gnuconfig/Config.in | 8 --- package/gzip/gzip.mk | 6 -- package/hdparm/hdparm.mk | 2 +- package/ipsec-tools/ipsec-tools.mk | 7 --- package/liblockfile/liblockfile.mk | 3 - package/ltrace/ltrace.mk | 2 +- package/microcom/microcom.mk | 7 --- package/netsnmp/netsnmp.mk | 9 +--- package/pppd/pppd.mk | 2 +- package/pptp-linux/pptp-linux.mk | 2 +- package/qt/qt.mk | 2 +- package/quagga/quagga.mk | 6 -- package/rp-pppoe/rp-pppoe.mk | 2 +- package/sed/sed.mk | 12 ----- package/setserial/setserial.mk | 4 -- package/udpcast/udpcast.mk | 4 -- target/u-boot/Config.in | 4 +- target/xtensa/defconfig | 1 - toolchain/Config.in.2 | 10 ---- toolchain/Makefile.in | 14 ------ toolchain/binutils/Config.in | 2 +- toolchain/binutils/binutils.mk | 8 +--- toolchain/gcc/Config.in | 4 +- toolchain/gcc/Makefile.in | 4 -- toolchain/kernel-headers/Config.in | 2 +- toolchain/uClibc/Config.in | 2 +- toolchain/uClibc/uclibc.mk | 21 +-------- 75 files changed, 50 insertions(+), 513 deletions(-) delete mode 100644 package/gnuconfig/Config.in
Thanks,
Signature · 1 line
Thomas Petazzoni
PATCH 1/25 Remove BR2_PREFER_IMA
This option is barely used, no-one is maintaining it or extending it. So let's remove it.
--- Config.in | 11 ----------- package/busybox/busybox.mk | 8 -------- package/busybox/initramfs.mk | 8 -------- package/microcom/microcom.mk | 7 ------- package/setserial/setserial.mk | 4 ---- toolchain/gcc/Makefile.in | 4 ---- 6 files changed, 0 insertions(+), 42 deletions(-)
Config.in +0 -11
@@ -136,17 +136,6 @@ config BR2_JLEVEL help Number of jobs to run simultaneously -config BR2_PREFER_IMA - bool "prefer IMA compiles" - help - Where possible, compile package with Inter Module Analysis. - This potentially uses alot of system resources on your compile - host with the benefit of creating smaller binaries for the target. - - If unsure, say No. - - WARNING: This is highly experimental at the moment. - config BR2_DEPRECATED bool "Show packages that are deprecated or obsolete" help
package/busybox/busybox.mk +0 -8
@@ -107,14 +107,6 @@ $(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.config CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \ ARCH=$(KERNEL_ARCH) \ EXTRA_CFLAGS="$(BUSYBOX_CFLAGS)" -C $(BUSYBOX_DIR) -ifeq ($(BR2_PREFER_IMA)$(BR2_PACKAGE_BUSYBOX_SNAPSHOT),yy) - rm -f $@ - $(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \ - CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \ - ARCH=$(KERNEL_ARCH) STRIP="$(STRIPCMD)" \ - EXTRA_CFLAGS="$(BUSYBOX_CFLAGS)" -C $(BUSYBOX_DIR) \ - -f scripts/Makefile.IMA -endif $(TARGET_DIR)/bin/busybox: $(BUSYBOX_DIR)/busybox ifeq ($(BR2_PACKAGE_BUSYBOX_FULLINSTALL),y)
package/busybox/initramfs.mk +0 -8
@@ -86,14 +86,6 @@ $(BUSYBOX_INITRAMFS_DIR)/busybox: $(BUSYBOX_INITRAMFS_DIR)/.configured ARCH=$(KERNEL_ARCH) \ EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_INITRAMFS_DIR) \ busybox.links busybox -ifeq ($(BR2_PREFER_IMA)$(BR2_PACKAGE_BUSYBOX_SNAPSHOT),yy) - rm -f $@ - $(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \ - CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \ - ARCH=$(KERNEL_ARCH) STRIP="$(STRIPCMD)" \ - EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_INITRAMFS_DIR) \ - -f scripts/Makefile.IMA -endif $(BR2_INITRAMFS_DIR)/bin/busybox: $(BUSYBOX_INITRAMFS_DIR)/busybox $(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
package/microcom/microcom.mk +0 -7
@@ -46,14 +46,7 @@ $(MICROCOM_DIR)/.configured: $(MICROCOM_DIR)/.unpacked touch $@ $(MICROCOM_DIR)/microcom: $(MICROCOM_DIR)/.configured -ifeq ($(BR2_PREFER_IMA),y) - (cd $(MICROCOM_DIR); \ - $(TARGET_CC) $(TARGET_CFLAGS) $(CFLAGS_COMBINE) \ - $(CFLAGS_WHOLE_PROGRAM) -o $@ $(wildcard $(MICROCOM_DIR)/*.c); \ - ) -else $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(MICROCOM_DIR) -endif $(STRIPCMD) $(STRIP_STRIP_ALL) $@ $(TARGET_DIR)/usr/bin/microcom: $(MICROCOM_DIR)/microcom
package/setserial/setserial.mk +0 -4
@@ -36,10 +36,6 @@ endif touch $(SETSERIAL_DIR)/gorhack.h touch $@ -ifeq ($(BR2_PREFER_IMA),y) -SETSERIAL_CFLAGS=$(CFLAGS_COMBINE) $(CFLAGS_WHOLE_PROGRAM) -endif - $(SETSERIAL_DIR)/.configured: $(SETSERIAL_DIR)/.unpacked (cd $(SETSERIAL_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \
toolchain/gcc/Makefile.in +0 -4
@@ -74,9 +74,5 @@ endif # and finally pull in config opts from the user EXTRA_TARGET_GCC_CONFIG_OPTIONS+=$(call qstrip,$(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS)) -ifeq ($(BR2_PREFER_IMA),y) -EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule -endif # BR2_PREFER_IMA=y - TARGETS+=gcc_target endif
Signature · 1 line
1.6.3.3
PATCH 2/25 Update defconfig after BR2_PREFER_IMA removal
In reply to Thomas Petazzoni--- configs/arm_toolchain_defconfig | 1 - configs/at91rm9200df_defconfig | 1 - configs/at91rm9200df_ext_bare_defconfig | 1 - configs/at91rm9200df_ext_defconfig | 1 - configs/at91sam9260dfc_defconfig | 1 - configs/at91sam9260dfc_ext_bare_defconfig | 1 - configs/at91sam9260dfc_ext_defconfig | 1 - configs/at91sam9260pf_defconfig | 1 - configs/at91sam9261ek_defconfig | 1 - configs/at91sam9261ek_ext_bare_defconfig | 1 - configs/at91sam9261ek_ext_defconfig | 1 - configs/at91sam9263ek_defconfig | 1 - configs/at91sam9263ek_ext_bare_defconfig | 1 - configs/at91sam9263ek_ext_defconfig | 1 - configs/at91sam9g20dfc_defconfig | 1 - configs/at91sam9g20dfc_ext_bare_defconfig | 1 - configs/at91sam9g20dfc_ext_defconfig | 1 - configs/atngw100-base_defconfig | 1 - configs/atngw100_defconfig | 1 - configs/atstk1005_defconfig | 1 - configs/atstk100x_defconfig | 1 - configs/i386_defconfig | 1 - configs/i686_defconfig | 1 - configs/integrator926_defconfig | 1 - configs/integrator926_huge_defconfig | 1 - configs/kb9202_defconfig | 1 - configs/v100sc2_defconfig | 1 - 27 files changed, 0 insertions(+), 27 deletions(-)
configs/arm_toolchain_defconfig +0 -1
@@ -165,7 +165,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y BR2_CONFIG_CACHE=y
configs/at91rm9200df_defconfig +0 -1
@@ -170,7 +170,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91rm9200df_ext_bare_defconfig +0 -1
@@ -165,7 +165,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91rm9200df_ext_defconfig +0 -1
@@ -176,7 +176,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91sam9260dfc_defconfig +0 -1
@@ -183,7 +183,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91sam9260dfc_ext_bare_defconfig +0 -1
@@ -165,7 +165,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91sam9260dfc_ext_defconfig +0 -1
@@ -184,7 +184,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91sam9260pf_defconfig +0 -1
@@ -76,7 +76,6 @@ BR2_TOPDIR_SUFFIX="wchar" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_STRIP_strip=y # BR2_STRIP_sstrip is not set
configs/at91sam9261ek_defconfig +0 -1
@@ -186,7 +186,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y BR2_CONFIG_CACHE=y
configs/at91sam9261ek_ext_bare_defconfig +0 -1
@@ -168,7 +168,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91sam9261ek_ext_defconfig +0 -1
@@ -187,7 +187,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y BR2_CONFIG_CACHE=y
configs/at91sam9263ek_defconfig +0 -1
@@ -184,7 +184,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y BR2_CONFIG_CACHE=y
configs/at91sam9263ek_ext_bare_defconfig +0 -1
@@ -167,7 +167,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91sam9263ek_ext_defconfig +0 -1
@@ -186,7 +186,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y BR2_CONFIG_CACHE=y
configs/at91sam9g20dfc_defconfig +0 -1
@@ -184,7 +184,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91sam9g20dfc_ext_bare_defconfig +0 -1
@@ -165,7 +165,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/at91sam9g20dfc_ext_defconfig +0 -1
@@ -184,7 +184,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/atngw100-base_defconfig +0 -1
@@ -116,7 +116,6 @@ BR2_TOPDIR_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/atngw100_defconfig +0 -1
@@ -116,7 +116,6 @@ BR2_TOPDIR_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=3 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y BR2_CONFIG_CACHE=y
configs/atstk1005_defconfig +0 -1
@@ -116,7 +116,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/atstk100x_defconfig +0 -1
@@ -115,7 +115,6 @@ BR2_TOPDIR_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/i386_defconfig +0 -1
@@ -116,7 +116,6 @@ BR2_TOPDIR_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/i686_defconfig +0 -1
@@ -116,7 +116,6 @@ BR2_TOPDIR_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/integrator926_defconfig +0 -1
@@ -114,7 +114,6 @@ BR2_ROOTFS_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibcgnueabi" BR2_JLEVEL=1 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/integrator926_huge_defconfig +0 -1
@@ -114,7 +114,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibcgnueabi" BR2_JLEVEL=1 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_CONFIG_CACHE is not set
configs/kb9202_defconfig +0 -1
@@ -122,7 +122,6 @@ BR2_ROOTFS_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_ENABLE_DEBUG is not set
configs/v100sc2_defconfig +0 -1
@@ -93,7 +93,6 @@ BR2_ROOTFS_SUFFIX="$(DATE)" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 -# BR2_PREFER_IMA is not set # BR2_DEPRECATED is not set BR2_RECENT=y # BR2_ENABLE_DEBUG is not set
Signature · 1 line
1.6.3.3
PATCH 3/25 Update config.{guess, sub} unconditionally
In reply to Thomas PetazzoniRemove the BR2_UPDATE_CONFIG option which allowed to globally enable/disable the replacement of config.{guess,sub} for autotools-based packages. Doing it unconditionnally just works.
--- Config.in | 2 -- package/Makefile.autotools.in | 2 -- package/gnuconfig/Config.in | 8 -------- 3 files changed, 0 insertions(+), 12 deletions(-) delete mode 100644 package/gnuconfig/Config.in
Config.in +0 -2
@@ -327,8 +327,6 @@ config BR2_HAVE_DEVFILES Install headers and static libraries in the target filesystem -source package/gnuconfig/Config.in - endmenu source "toolchain/Config.in"
package/Makefile.autotools.in +0 -2
@@ -128,9 +128,7 @@ define UPDATE_CONFIG_HOOK done endef -ifeq ($(BR2_UPDATE_CONFIG),y) $(2)_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK -endif # # Hook to patch libtool to make it work properly for cross-compilation
package/gnuconfig/Config.in deleted +0 -8
@@ -1,8 +0,0 @@ -config BR2_UPDATE_CONFIG - bool "update config.sub and config.guess" - default y - help - This just exists to easily update the config.sub / config.guess - files in packages to the latest version (since many bundled ones - don't support the latest possible targets) -
Signature · 1 line
1.6.3.3
PATCH 4/25 Update defconfigs after BR2_UPDATE_CONFIG removal
In reply to Thomas Petazzoni--- configs/arm_toolchain_defconfig | 1 - configs/at91rm9200df_defconfig | 1 - configs/at91rm9200df_ext_bare_defconfig | 1 - configs/at91rm9200df_ext_defconfig | 1 - configs/at91sam9260dfc_defconfig | 1 - configs/at91sam9260dfc_ext_bare_defconfig | 1 - configs/at91sam9260dfc_ext_defconfig | 1 - configs/at91sam9260pf_defconfig | 1 - configs/at91sam9261ek_defconfig | 1 - configs/at91sam9261ek_ext_bare_defconfig | 1 - configs/at91sam9261ek_ext_defconfig | 1 - configs/at91sam9263ek_defconfig | 1 - configs/at91sam9263ek_ext_bare_defconfig | 1 - configs/at91sam9263ek_ext_defconfig | 1 - configs/at91sam9g20dfc_defconfig | 1 - configs/at91sam9g20dfc_ext_bare_defconfig | 1 - configs/at91sam9g20dfc_ext_defconfig | 1 - configs/atngw100-base_defconfig | 1 - configs/atngw100_defconfig | 1 - configs/atstk1005_defconfig | 1 - configs/atstk100x_defconfig | 1 - configs/i386_defconfig | 1 - configs/i686_defconfig | 1 - configs/integrator926_defconfig | 1 - configs/integrator926_huge_defconfig | 1 - configs/kb9202_defconfig | 1 - configs/v100sc2_defconfig | 1 - target/xtensa/defconfig | 1 - 28 files changed, 0 insertions(+), 28 deletions(-)
configs/arm_toolchain_defconfig +0 -1
@@ -182,7 +182,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91rm9200df_defconfig +0 -1
@@ -187,7 +187,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91rm9200df_ext_bare_defconfig +0 -1
@@ -182,7 +182,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91rm9200df_ext_defconfig +0 -1
@@ -193,7 +193,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9260dfc_defconfig +0 -1
@@ -200,7 +200,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9260dfc_ext_bare_defconfig +0 -1
@@ -182,7 +182,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9260dfc_ext_defconfig +0 -1
@@ -201,7 +201,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9260pf_defconfig +0 -1
@@ -52,7 +52,6 @@ BR2_ENDIAN="LITTLE" # # Build options # -# BR2_UPDATE_CONFIG is not set BR2_WGET="wget --passive-ftp" BR2_SVN="svn co" BR2_ZCAT="gzip -d -c"
configs/at91sam9261ek_defconfig +0 -1
@@ -203,7 +203,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9261ek_ext_bare_defconfig +0 -1
@@ -185,7 +185,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9261ek_ext_defconfig +0 -1
@@ -204,7 +204,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9263ek_defconfig +0 -1
@@ -201,7 +201,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9263ek_ext_bare_defconfig +0 -1
@@ -184,7 +184,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9263ek_ext_defconfig +0 -1
@@ -203,7 +203,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9g20dfc_defconfig +0 -1
@@ -201,7 +201,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9g20dfc_ext_bare_defconfig +0 -1
@@ -182,7 +182,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/at91sam9g20dfc_ext_defconfig +0 -1
@@ -201,7 +201,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/atngw100-base_defconfig +0 -1
@@ -133,7 +133,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/atngw100_defconfig +0 -1
@@ -133,7 +133,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/atstk1005_defconfig +0 -1
@@ -133,7 +133,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/atstk100x_defconfig +0 -1
@@ -132,7 +132,6 @@ BR2_OPTIMIZE_2=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/i386_defconfig +0 -1
@@ -133,7 +133,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/i686_defconfig +0 -1
@@ -133,7 +133,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/integrator926_defconfig +0 -1
@@ -131,7 +131,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/integrator926_huge_defconfig +0 -1
@@ -131,7 +131,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/kb9202_defconfig +0 -1
@@ -137,7 +137,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_MANPAGES is not set # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
configs/v100sc2_defconfig +0 -1
@@ -109,7 +109,6 @@ BR2_OPTIMIZE_S=y # BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set -BR2_UPDATE_CONFIG=y # # Toolchain
target/xtensa/defconfig +0 -1
@@ -19,7 +19,6 @@ BR2_WGET="wget --passive-ftp" # BR2_STRIP_none=y ## Added by Maxim -BR2_UPDATE_CONFIG=y # # Kernel Header Options
Signature · 1 line
1.6.3.3
PATCH 5/25 Do not let packages remove man pages, info pages and documentation
In reply to Thomas PetazzoniThe cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man, $(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info, $(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done globally in the main Makefile. Therefore, there's no need to handle that on a per-package basis.
--- package/bash/bash.mk | 7 ------- package/berkeleydb/berkeleydb.mk | 7 ------- package/bison/bison.mk | 7 ------- package/coreutils/coreutils.mk | 7 ------- package/dhcp/dhcp.mk | 25 ------------------------- package/dialog/dialog.mk | 3 --- package/diffutils/diffutils.mk | 6 ------ package/file/file.mk | 7 ------- package/findutils/findutils.mk | 7 ------- package/gawk/gawk.mk | 7 ------- package/gettext/gettext.mk | 9 +-------- package/gzip/gzip.mk | 6 ------ package/ipsec-tools/ipsec-tools.mk | 7 ------- package/liblockfile/liblockfile.mk | 3 --- package/netsnmp/netsnmp.mk | 7 ------- package/quagga/quagga.mk | 6 ------ package/sed/sed.mk | 12 ------------ package/udpcast/udpcast.mk | 4 ---- toolchain/binutils/binutils.mk | 8 +------- 19 files changed, 2 insertions(+), 143 deletions(-)
package/bash/bash.mk +0 -7
@@ -81,14 +81,7 @@ $(TARGET_DIR)/$(BASH_TARGET_BINARY): $(BASH_DIR)/$(BASH_BINARY) rm -f $(TARGET_DIR)/bin/bash* mv $(TARGET_DIR)/usr/bin/bash* $(TARGET_DIR)/bin/ (cd $(TARGET_DIR)/bin; /bin/ln -fs bash sh) -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif rm -rf $(TARGET_DIR)/share/locale - rm -rf $(TARGET_DIR)/usr/share/doc # If both bash and busybox are selected, make certain bash wins # the fight over who gets to own the /bin/sh symlink.
package/berkeleydb/berkeleydb.mk +0 -7
@@ -60,14 +60,7 @@ $(STAGING_DIR)/lib/$(DB_SHARLIB): $(DB_DIR)/build_unix/.libs/$(DB_SHARLIB) $(MAKE) DESTDIR=$(STAGING_DIR) -C $(DB_DIR)/build_unix install chmod a-x $(STAGING_DIR)/lib/libdb*so* rm -f $(STAGING_DIR)/bin/db_* -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(STAGING_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(STAGING_DIR)/usr/share/man -endif rm -rf $(STAGING_DIR)/share/locale - rm -rf $(STAGING_DIR)/usr/share/doc $(TARGET_DIR)/lib/$(DB_SHARLIB): $(STAGING_DIR)/lib/$(DB_SHARLIB) rm -rf $(TARGET_DIR)/lib/libdb*
package/bison/bison.mk +0 -7
@@ -52,14 +52,7 @@ $(BISON_DIR)/$(BISON_BINARY): $(BISON_DIR)/.configured $(TARGET_DIR)/$(BISON_TARGET_BINARY): $(BISON_DIR)/$(BISON_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BISON_DIR) install -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif rm -rf $(TARGET_DIR)/share/locale - rm -rf $(TARGET_DIR)/usr/share/doc cp -a package/bison/yacc $(TARGET_DIR)/usr/bin/yacc bison: $(TARGET_DIR)/$(BISON_TARGET_BINARY)
package/coreutils/coreutils.mk +0 -7
@@ -118,14 +118,7 @@ $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY): $(COREUTILS_DIR)/$(COREUTILS_BINARY) # gnu thinks chroot is in bin, debian thinks it's in sbin mv $(TARGET_DIR)/usr/bin/chroot $(TARGET_DIR)/usr/sbin/chroot $(STRIPCMD) $(TARGET_DIR)/usr/sbin/chroot > /dev/null 2>&1 -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif rm -rf $(TARGET_DIR)/share/locale - rm -rf $(TARGET_DIR)/usr/share/doc # If both coreutils and busybox are selected, make certain coreutils # wins the fight over who gets to have their utils actually installed.
package/dhcp/dhcp.mk +0 -25
@@ -57,14 +57,7 @@ $(TARGET_DIR)/$(DHCP_SERVER_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY) mkdir -p $(TARGET_DIR)/etc/dhcp $(INSTALL) -m 0644 -D package/dhcp/dhcpd.conf \ $(TARGET_DIR)/etc/dhcp/dhcpd.conf -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/man -endif rm -rf $(TARGET_DIR)/share/locale - rm -rf $(TARGET_DIR)/usr/share/doc $(TARGET_DIR)/$(DHCP_RELAY_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY) mkdir -p $(TARGET_DIR)/var/lib
@@ -74,15 +67,6 @@ $(TARGET_DIR)/$(DHCP_RELAY_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY) mkdir -p $(TARGET_DIR)/etc/init.d $(INSTALL) -m 0755 -D package/dhcp/S80dhcp-relay \ $(TARGET_DIR)/etc/init.d -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/man -endif - # Why on earth do we wipe out whole directories here? - #rm -rf $(TARGET_DIR)/usr/share/locale - #rm -rf $(TARGET_DIR)/usr/share/doc $(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY) mkdir -p $(TARGET_DIR)/var/lib
@@ -94,15 +78,6 @@ $(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY): $(DHCP_DIR)/$(DHCP_RELAY_BINARY) $(TARGET_DIR)/etc/dhcp/dhclient.conf $(INSTALL) -m 0755 -D package/dhcp/dhclient-script \ $(TARGET_DIR)/sbin/dhclient-script -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/man -endif - # Why on earth do we wipe out whole directories here? - #rm -rf $(TARGET_DIR)/usr/share/locale - #rm -rf $(TARGET_DIR)/usr/share/doc dhcp_server: $(TARGET_DIR)/$(DHCP_SERVER_TARGET_BINARY)
package/dialog/dialog.mk +0 -3
@@ -39,9 +39,6 @@ $(TARGET_DIR)/$(DIALOG_TARGET_BINARY): $(DIALOG_DIR)/$(DIALOG_BINARY) $(MAKE) prefix=$(TARGET_DIR)/usr \ mandir=$(TARGET_DIR)/usr/share/man \ -C $(DIALOG_DIR) install -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -Rf $(TARGET_DIR)/usr/share/man -endif dialog: ncurses $(TARGET_DIR)/$(DIALOG_TARGET_BINARY)
package/diffutils/diffutils.mk +0 -6
@@ -90,12 +90,6 @@ $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY): $(DIFFUTILS_DIR)/.configured $(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY): $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) \ $(if $(BR2_STRIP_none),install,install-strip) -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif ifneq ($(BR2_ENABLE_LOCALE),y) rm -rf $(TARGET_DIR)/usr/share/locale endif
package/file/file.mk +0 -7
@@ -91,14 +91,7 @@ $(FILE_DIR2)/$(FILE_BINARY): $(FILE_DIR2)/.configured $(TOOLCHAIN_DIR)/bin/file $(TARGET_DIR)/$(FILE_TARGET_BINARY): $(FILE_DIR2)/$(FILE_BINARY) $(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(FILE_DIR2) install -($(STRIPCMD) $(TARGET_DIR)/usr/lib/libmagic.so.*.* > /dev/null 2>&1) -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif rm -rf $(TARGET_DIR)/share/locale - rm -rf $(TARGET_DIR)/usr/share/doc mv $(TARGET_DIR)/lib/libmagic.a $(STAGING_DIR)/lib rm -f $(TARGET_DIR)/lib/libmagic.la mv $(TARGET_DIR)/usr/include/magic.h $(STAGING_DIR)/usr/include
package/findutils/findutils.mk +0 -7
@@ -62,14 +62,7 @@ findutils-target_binary: $(FINDUTILS_DIR)/$(FINDUTILS_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(FINDUTILS_DIR) install-strip; \ $(STRIPCMD) $(TARGET_DIR)/usr/lib/locate/* > /dev/null 2>&1; \ fi -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif rm -rf $(TARGET_DIR)/share/locale - rm -rf $(TARGET_DIR)/usr/share/doc findutils: findutils-target_binary
package/gawk/gawk.mk +0 -7
@@ -56,14 +56,7 @@ $(TARGET_DIR)/$(GAWK_TARGET_BINARY): $(GAWK_DIR)/$(GAWK_BINARY) rm -f $(TARGET_DIR)/usr/bin/gawk-* (cd $(TARGET_DIR)/usr/bin; ln -snf gawk awk) $(STRIPCMD) $(TARGET_DIR)/usr/lib/awk/* > /dev/null 2>&1 -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif rm -rf $(TARGET_DIR)/share/locale - rm -rf $(TARGET_DIR)/usr/share/doc gawk: $(TARGET_DIR)/$(GAWK_TARGET_BINARY)
package/gettext/gettext.mk +1 -8
@@ -135,14 +135,7 @@ gettext-dirclean: gettext-target: $(GETTEXT_DIR)/$(GETTEXT_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(GETTEXT_DIR) install chmod +x $(TARGET_DIR)/usr/lib/libintl.so* # identify as needing to be stripped -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/man -endif - rm -rf $(addprefix $(TARGET_DIR),/usr/share/doc \ - /usr/doc /usr/share/aclocal /usr/include/libintl.h) + rm -rf $(addprefix $(TARGET_DIR),/usr/share/aclocal /usr/include/libintl.h) rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/libintl.so: $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
package/gzip/gzip.mk +0 -6
@@ -41,12 +41,6 @@ $(GZIP_BINARY): $(GZIP_DIR)/.configured $(GZIP_TARGET_BINARY): $(GZIP_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GZIP_DIR) install-strip -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif gzip: $(GZIP_TARGET_BINARY)
package/ipsec-tools/ipsec-tools.mk +0 -7
@@ -121,13 +121,6 @@ $(TARGET_DIR)/$(IPSEC_TOOLS_TARGET_BINARY_RACOONCTL): \ $(TARGET_DIR)/$(IPSEC_TOOLS_TARGET_BINARY_SETKEY) \ $(TARGET_DIR)/$(IPSEC_TOOLS_TARGET_BINARY_RACOON) \ $(TARGET_DIR)/$(IPSEC_TOOLS_TARGET_BINARY_RACOONCTL) -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -f $(addprefix $(TARGET_DIR)/usr/man/, \ - man3/ipsec_strerror.3 man3/ipsec_set_policy.3 \ - man5/racoon.conf.5 \ - man8/racoonctl.8 man8/racoon.8 \ - man8/plainrsa-gen.8 man8/setkey.8) -endif ifeq ($(BR2_PACKAGE_IPSEC_TOOLS_LIBS), y) install -D $(addprefix $(IPSEC_TOOLS_DIR)/src/, \ libipsec/.libs/libipsec.a libipsec/.libs/libipsec.la \
package/liblockfile/liblockfile.mk +0 -3
@@ -56,9 +56,6 @@ liblockfile-clean: rm -f $(TARGET_DIR)/usr/lib/liblockfile.so* rm -f $(STAGING_DIR)/usr/lib/liblockfile* rm -f $(addprefix $(STAGING_DIR)/usr/include/,lockfile.h mailfile.h) -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(STAGING_DIR)/usr/share/man -endif -$(MAKE) -C $(LIBLOCKFILE_DIR) clean liblockfile-dirclean:
package/netsnmp/netsnmp.mk +0 -7
@@ -111,13 +111,6 @@ $(TARGET_DIR)/usr/sbin/snmpd: $(NETSNMP_DIR)/agent/snmpd includedir=$(STAGING_DIR)/usr/include/net-snmp \ ucdincludedir=$(STAGING_DIR)/usr/include/ucd-snmp \ -C $(NETSNMP_DIR) install - rm -rf $(TARGET_DIR)/usr/share/doc -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif # Copy the .conf files. $(INSTALL) -D -m 0644 $(NETSNMP_DIR)/EXAMPLE.conf $(TARGET_DIR)/etc/snmp/snmpd.conf -mv $(TARGET_DIR)/usr/share/snmp/mib2c*.conf $(TARGET_DIR)/etc/snmp
package/quagga/quagga.mk +0 -6
@@ -159,12 +159,6 @@ $(TARGET_DIR)/usr/sbin/$(QUAGGA_TARGET_BINARY): $(QUAGGA_BINARY) ifneq ($(BR2_PACKAGE_QUAGGA_HEADERS),y) rm -rf $(TARGET_DIR)/usr/include/quagga endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/man -endif -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/info -endif quagga: $(QUAGGA_DEPENDENCIES) $(TARGET_DIR)/usr/sbin/$(QUAGGA_TARGET_BINARY)
package/sed/sed.mk +0 -12
@@ -65,12 +65,6 @@ build-sed-host-binary: $(SED_DIR1)/$(SED_BINARY) rm -rf $(HOST_SED_DIR)/share/locale; \ rm -rf $(HOST_SED_DIR)/usr/share/doc; \ fi -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(HOST_SED_DIR)/usr/man/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(HOST_SED_DIR)/usr/share/man -endif $(HOST_SED_DIR)/$(SED_TARGET_BINARY): if [ ! -e "$(HOST_SED_DIR)/$(SED_TARGET_BINARY)" ]; then \
@@ -152,12 +146,6 @@ sed-target_binary: $(SED_DIR2)/$(SED_BINARY) rm -rf $(TARGET_DIR)/share/locale; \ rm -rf $(TARGET_DIR)/usr/share/doc; \ fi -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif sed: sed-target_binary
package/udpcast/udpcast.mk +0 -4
@@ -73,10 +73,6 @@ ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) rm -f $(TARGET_DIR)/usr/sbin/udp-receiver rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -f $(addprefix $(TARGET_DIR)/usr/man/, \ - $(addsuffix .1,$(UDPCAST_BINARIES))) -endif udpcast: $(UDPCAST_PROGS)
toolchain/binutils/binutils.mk +1 -7
@@ -151,13 +151,7 @@ $(TARGET_DIR)/usr/bin/ld: $(BINUTILS_DIR2)/binutils/objdump $(MAKE) DESTDIR=$(TARGET_DIR) \ tooldir=/usr build_tooldir=/usr \ -C $(BINUTILS_DIR2) install -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/man -endif -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/info -endif - rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/share/doc + rm -rf $(TARGET_DIR)/share/locale -$(STRIPCMD) $(TARGET_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin/* > /dev/null 2>&1 -$(STRIPCMD) $(TARGET_DIR)/usr/bin/* > /dev/null 2>&1
Signature · 1 line
1.6.3.3
PATCH 6/25 Remove all documentation when BR2_HAVE_DOCUMENTATION is not set
In reply to Thomas PetazzoniUntil now, we had BR2_HAVE_MANPAGES, BR2_HAVE_INFOPAGES and BR2_HAVE_DOCUMENTATION, but there's no need to have such a fine-grained control over what documentation gets kept or not.
Therefore, just remove all the documentation (man pages, info pages and documentation in $(TARGET_DIR)/usr/doc and $(TARGET_DIR)/usr/share/doc) when BR2_HAVE_DOCUMENTATION is not set.
--- Makefile | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
Makefile +2 -3
@@ -409,11 +409,10 @@ else find $(TARGET_DIR)/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f find $(TARGET_DIR)/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f endif -ifneq ($(BR2_HAVE_MANPAGES),y) +ifneq ($(BR2_HAVE_DOCUMENTATION),y) rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man -endif -ifneq ($(BR2_HAVE_INFOPAGES),y) rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info + rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc endif find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
Signature · 1 line
1.6.3.3
PATCH 7/25 Do not remove documentation on a per-package basis
In reply to Thomas PetazzoniSince the documentation cleanup is done by the main Makefile in a global way, there's no need to do that on a per-package basis in the generic package infrastructure.
--- package/Makefile.package.in | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-)
package/Makefile.package.in +0 -9
@@ -171,15 +171,6 @@ $(BUILD_DIR)/%/.stamp_target_installed: @$(call MESSAGE,"Installing to target") $($(PKG)_INSTALL_TARGET_CMDS) $(foreach hook,$($(PKG)_POST_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep)) - $(if $(BR2_HAVE_MANPAGES),,for d in man share/man; do \ - rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \ - done) - $(if $(BR2_HAVE_INFOPAGES),,for d in info share/info; do \ - rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \ - done) - $(if $(BR2_HAVE_DOCUMENTATION),,for d in doc share/doc; do \ - rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \ - done) $(Q)touch $@ # Clean package
Signature · 1 line
1.6.3.3
PATCH 8/25 Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES, INFOPAGES}
In reply to Thomas Petazzoni--- package/avahi/avahi.mk | 2 +- package/axel/axel.mk | 2 +- package/hdparm/hdparm.mk | 2 +- package/ltrace/ltrace.mk | 2 +- package/netsnmp/netsnmp.mk | 2 +- package/pppd/pppd.mk | 2 +- package/pptp-linux/pptp-linux.mk | 2 +- package/rp-pppoe/rp-pppoe.mk | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
package/avahi/avahi.mk +1 -1
@@ -75,7 +75,7 @@ AVAHI_CONF_OPT = --localstatedir=/var \ --disable-monodoc \ --disable-stack-protector \ --with-distro=none \ - $(if $(BR2_HAVE_MANPAGES),--enable,--disable)-manpages \ + $(if $(BR2_HAVE_DOCUMENTATION),--enable,--disable)-manpages \ $(if $(BR2_PACKAGE_AVAHI_AUTOIPD),--enable,--disable)-autoipd \ --with-avahi-user=default \ --with-avahi-group=default \
package/axel/axel.mk +1 -1
@@ -32,7 +32,7 @@ $(AXEL_DIR)/$(AXEL_BINARY): $(AXEL_DIR)/Makefile.settings $(TARGET_DIR)/$(AXEL_TARGET_BINARY): $(AXEL_DIR)/$(AXEL_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-bin -ifeq ($(BR2_HAVE_MANPAGES),y) +ifeq ($(BR2_HAVE_DOCUMENTATION),y) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-man endif
package/hdparm/hdparm.mk +1 -1
@@ -29,7 +29,7 @@ $(HDPARM_DIR)/$(HDPARM_BINARY): $(HDPARM_DIR)/.unpacked $(TARGET_DIR)/$(HDPARM_TARGET_BINARY): $(HDPARM_DIR)/$(HDPARM_BINARY) rm -f $(TARGET_DIR)/$(HDPARM_TARGET_BINARY) $(INSTALL) -D -m 0755 $(HDPARM_DIR)/$(HDPARM_BINARY) $(TARGET_DIR)/$(HDPARM_TARGET_BINARY) -ifeq ($(BR2_HAVE_MANPAGES),y) +ifeq ($(BR2_HAVE_DOCUMENTATION),y) $(INSTALL) -D $(HDPARM_DIR)/hdparm.8 $(TARGET_DIR)/usr/share/man/man8/hdparm.8 endif $(STRIPCMD) $(STRIP_STRIP_ALL) $@
package/ltrace/ltrace.mk +1 -1
@@ -60,7 +60,7 @@ $(LTRACE_DIR)/$(LTRACE_BINARY): $(LTRACE_DIR)/.configured $(TARGET_DIR)/$(LTRACE_TARGET_BINARY): $(LTRACE_DIR)/$(LTRACE_BINARY) #$(MAKE) DESTDIR=$(TARGET_DIR) ARCH=$(LTRACE_ARCH) -C $(LTRACE_DIR) install $(INSTALL) -D $(LTRACE_DIR)/$(LTRACE_BINARY) $@ -ifeq ($(BR2_HAVE_MANPAGES),y) +ifeq ($(BR2_HAVE_DOCUMENTATION),y) $(INSTALL) -D $(LTRACE_DIR)/ltrace.1 \ $(TARGET_DIR)/usr/share/man/man1/ltrace.1 endif
package/netsnmp/netsnmp.mk +1 -1
@@ -52,7 +52,7 @@ else NETSNMP_CONFIGURE_OPENSSL:=--without-openssl endif -ifneq ($(findstring y,$(BR2_HAVE_MANPAGES)$(BR2_HAVE_INFOPAGES)),y) +ifneq ($(BR2_HAVE_DOCUMENTATION),y) NETSNMP_DOCS:=--disable-manuals endif
package/pppd/pppd.mk +1 -1
@@ -8,7 +8,7 @@ PPPD_VERSION = 2.4.5 PPPD_SOURCE = ppp-$(PPPD_VERSION).tar.gz PPPD_SITE = ftp://ftp.samba.org/pub/ppp PPPD_TARGET_BINS = chat pppd pppdump pppstats -PPPD_MANPAGES = $(if $(BR2_HAVE_MANPAGES),chat pppd pppdump pppstats) +PPPD_MANPAGES = $(if $(BR2_HAVE_DOCUMENTATION),chat pppd pppdump pppstats) PPPD_MAKE = $(MAKE) CC=$(TARGET_CC) COPTS="$(TARGET_CFLAGS)" -C $(PPPD_DIR) $(PPPD_MAKE_OPT) ifeq ($(BR2_PACKAGE_PPPD_FILTER),y)
package/pptp-linux/pptp-linux.mk +1 -1
@@ -51,7 +51,7 @@ $(PPTP_LINUX_DIR)/$(PPTP_LINUX_BINARY): $(PPTP_LINUX_DIR)/.unpacked $(TARGET_DIR)/$(PPTP_LINUX_TARGET_BINARY): $(PPTP_LINUX_DIR)/$(PPTP_LINUX_BINARY) cp -dpf $(PPTP_LINUX_DIR)/$(PPTP_LINUX_BINARY) $@ -ifeq ($(BR2_HAVE_MANPAGES),y) +ifeq ($(BR2_HAVE_DOCUMENTATION),y) mkdir -p $(TARGET_DIR)/usr/share/man/man8 $(INSTALL) -m 644 $(PPTP_LINUX_DIR)/pptp.8 $(TARGET_DIR)/usr/share/man/man8/pptp.8 endif
package/rp-pppoe/rp-pppoe.mk +1 -1
@@ -53,7 +53,7 @@ $(RP_PPPOE_DIR)/$(RP_PPPOE_BINARY): $(RP_PPPOE_TOPDIR)/.configured $(TARGET_DIR)/$(RP_PPPOE_TARGET_BINARY): $(RP_PPPOE_DIR)/$(RP_PPPOE_BINARY) cp -dpf $(RP_PPPOE_DIR)/$(RP_PPPOE_BINARY) $@ -ifeq ($(BR2_HAVE_MANPAGES),y) +ifeq ($(BR2_HAVE_DOCUMENTATION),y) mkdir -p $(TARGET_DIR)/usr/share/man/man8 $(INSTALL) -m 644 $(RP_PPPOE_TOPDIR)/man/pppoe.8 $(TARGET_DIR)/usr/share/man/man8/pppoe.8 endif
Signature · 1 line
1.6.3.3
PATCH 9/25 Get rid of BR2_HAVE_{MANPAGES, INFOPAGES} config options
In reply to Thomas Petazzoni--- Config.in | 17 ++--------------- 1 files changed, 2 insertions(+), 15 deletions(-)
Config.in +2 -15
@@ -300,24 +300,11 @@ config BR2_PREFER_STATIC_LIB WARNING: This is highly experimental at the moment. -config BR2_HAVE_MANPAGES - bool "manpages on the target" - help - Leave the manpages on the target. - If you say n here, your target will not contain any - manpage. - -config BR2_HAVE_INFOPAGES - bool "infopages on the target" - help - Leave the infopages on the target. - If you say n here, your target will not contain any - infopage. - config BR2_HAVE_DOCUMENTATION bool "documentation on the target" help - Leave the documentation on the target. + Install the documentation, including manual pages and info + pages, on the target. If you say n here, your target will not contain any documentation.
Signature · 1 line
1.6.3.3
PATCH 10/25 Update defconfigs after BR2_HAVE_{INFOPAGES, MANPAGES} removal
In reply to Thomas Petazzoni--- configs/arm_toolchain_defconfig | 2 -- configs/at91rm9200df_defconfig | 2 -- configs/at91rm9200df_ext_bare_defconfig | 2 -- configs/at91rm9200df_ext_defconfig | 2 -- configs/at91sam9260dfc_defconfig | 2 -- configs/at91sam9260dfc_ext_bare_defconfig | 2 -- configs/at91sam9260dfc_ext_defconfig | 2 -- configs/at91sam9261ek_defconfig | 2 -- configs/at91sam9261ek_ext_bare_defconfig | 2 -- configs/at91sam9261ek_ext_defconfig | 2 -- configs/at91sam9263ek_defconfig | 2 -- configs/at91sam9263ek_ext_bare_defconfig | 2 -- configs/at91sam9263ek_ext_defconfig | 2 -- configs/at91sam9g20dfc_defconfig | 2 -- configs/at91sam9g20dfc_ext_bare_defconfig | 2 -- configs/at91sam9g20dfc_ext_defconfig | 2 -- configs/atngw100-base_defconfig | 2 -- configs/atngw100_defconfig | 2 -- configs/atstk1005_defconfig | 2 -- configs/atstk100x_defconfig | 2 -- configs/i386_defconfig | 2 -- configs/i686_defconfig | 2 -- configs/integrator926_defconfig | 2 -- configs/integrator926_huge_defconfig | 2 -- configs/kb9202_defconfig | 2 -- configs/v100sc2_defconfig | 2 -- 26 files changed, 0 insertions(+), 52 deletions(-)
configs/arm_toolchain_defconfig +0 -2
@@ -178,8 +178,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91rm9200df_defconfig +0 -2
@@ -183,8 +183,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91rm9200df_ext_bare_defconfig +0 -2
@@ -178,8 +178,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91rm9200df_ext_defconfig +0 -2
@@ -189,8 +189,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9260dfc_defconfig +0 -2
@@ -196,8 +196,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9260dfc_ext_bare_defconfig +0 -2
@@ -178,8 +178,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9260dfc_ext_defconfig +0 -2
@@ -197,8 +197,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9261ek_defconfig +0 -2
@@ -199,8 +199,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9261ek_ext_bare_defconfig +0 -2
@@ -181,8 +181,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9261ek_ext_defconfig +0 -2
@@ -200,8 +200,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9263ek_defconfig +0 -2
@@ -197,8 +197,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9263ek_ext_bare_defconfig +0 -2
@@ -180,8 +180,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9263ek_ext_defconfig +0 -2
@@ -199,8 +199,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9g20dfc_defconfig +0 -2
@@ -197,8 +197,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9g20dfc_ext_bare_defconfig +0 -2
@@ -178,8 +178,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/at91sam9g20dfc_ext_defconfig +0 -2
@@ -197,8 +197,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/atngw100-base_defconfig +0 -2
@@ -129,8 +129,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/atngw100_defconfig +0 -2
@@ -129,8 +129,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/atstk1005_defconfig +0 -2
@@ -129,8 +129,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/atstk100x_defconfig +0 -2
@@ -128,8 +128,6 @@ BR2_OPTIMIZE_2=y # BR2_OPTIMIZE_3 is not set # BR2_OPTIMIZE_S is not set # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/i386_defconfig +0 -2
@@ -129,8 +129,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/i686_defconfig +0 -2
@@ -129,8 +129,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/integrator926_defconfig +0 -2
@@ -127,8 +127,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/integrator926_huge_defconfig +0 -2
@@ -127,8 +127,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
configs/kb9202_defconfig +0 -2
@@ -134,8 +134,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DEVFILES is not set #
configs/v100sc2_defconfig +0 -2
@@ -105,8 +105,6 @@ BR2_STRIP_strip=y # BR2_OPTIMIZE_3 is not set BR2_OPTIMIZE_S=y # BR2_PREFER_STATIC_LIB is not set -# BR2_HAVE_MANPAGES is not set -# BR2_HAVE_INFOPAGES is not set # BR2_HAVE_DOCUMENTATION is not set # BR2_HAVE_DEVFILES is not set
Signature · 1 line
1.6.3.3
PATCH 11/25 Get rid of all usages of BR2_RECENT
In reply to Thomas Petazzoni--- package/busybox/Config.in | 4 ++-- target/u-boot/Config.in | 4 ++-- toolchain/binutils/Config.in | 2 +- toolchain/gcc/Config.in | 4 ++-- toolchain/kernel-headers/Config.in | 2 +- toolchain/uClibc/Config.in | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-)
package/busybox/Config.in +2 -2
@@ -23,7 +23,7 @@ choice config BR2_BUSYBOX_VERSION_1_13_X bool "BusyBox 1.13.x" - depends on BR2_RECENT + depends on BR2_DEPRECATED config BR2_BUSYBOX_VERSION_1_14_X bool "BusyBox 1.14.x"
@@ -31,7 +31,7 @@ choice config BR2_BUSYBOX_VERSION_1_15_X bool "BusyBox 1.15.x" - depends on BR2_DEPRECATED || BR2_RECENT + depends on BR2_DEPRECATED config BR2_BUSYBOX_VERSION_1_16_X bool "BusyBox 1.16.x"
target/u-boot/Config.in +2 -2
@@ -22,11 +22,11 @@ config BR2_TARGET_UBOOT_2010_03 config BR2_TARGET_UBOOT_2009_11 bool "u-boot-2009.11" - depends on BR2_DEPRECATED || BR2_RECENT + depends on BR2_DEPRECATED config BR2_TARGET_UBOOT_2009_08 bool "u-boot-2009.08" - depends on BR2_DEPRECATED || BR2_RECENT + depends on BR2_DEPRECATED config BR2_TARGET_UBOOT_2009_06 bool "u-boot-2009.06"
toolchain/binutils/Config.in +1 -1
@@ -34,7 +34,7 @@ choice config BR2_BINUTILS_VERSION_2_20 depends on !BR2_avr32 - depends on BR2_DEPRECATED || BR2_RECENT + depends on BR2_DEPRECATED bool "binutils 2.20" config BR2_BINUTILS_VERSION_2_20_1
toolchain/gcc/Config.in +2 -2
@@ -35,7 +35,7 @@ choice config BR2_GCC_VERSION_4_2_4 depends on !BR2_avr32 - depends on BR2_RECENT || BR2_DEPRECATED + depends on BR2_DEPRECATED bool "gcc 4.2.4" config BR2_GCC_VERSION_4_3_2
@@ -45,7 +45,7 @@ choice config BR2_GCC_VERSION_4_3_3 depends on !BR2_avr32 - depends on BR2_RECENT || BR2_DEPRECATED + depends on BR2_DEPRECATED bool "gcc 4.3.3" config BR2_GCC_VERSION_4_3_4
toolchain/kernel-headers/Config.in +1 -1
@@ -38,7 +38,7 @@ choice config BR2_KERNEL_HEADERS_2_6_32 bool "Linux 2.6.32.x kernel headers" - depends on BR2_DEPRECATED || BR2_RECENT + depends on BR2_DEPRECATED config BR2_KERNEL_HEADERS_2_6_33 bool "Linux 2.6.33.x kernel headers"
toolchain/uClibc/Config.in +1 -1
@@ -20,7 +20,7 @@ choice bool "uClibc 0.9.29" config BR2_UCLIBC_VERSION_0_9_30 - depends on BR2_DEPRECATED || BR2_RECENT + depends on BR2_DEPRECATED bool "uClibc 0.9.30.x" config BR2_UCLIBC_VERSION_0_9_31
Signature · 1 line
1.6.3.3
PATCH 11/25 Get rid of all usages of BR2_RECENT
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> Signed-off-by: Thomas Petazzoni <[email protected]> Thomas> ---
This is a pretty big user visible change - E.G. BR2_RECENT defaults to Y, an BR2_DEPRECATED doesn't, so quite some options are now hidden by default.
Is this what we want to do?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 12/25 Remove the BR2_RECENT option
In reply to Thomas Petazzoni--- Config.in | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
Config.in +0 -6
@@ -141,12 +141,6 @@ config BR2_DEPRECATED help This option hides outdated/obsolete versions of packages. -config BR2_RECENT - bool "Show packages that are of the latest major version" - default y - help - This option show recent versions of packages. - config BR2_CONFIG_CACHE bool "Use a central configure cache file" default y
Signature · 1 line
1.6.3.3
PATCH 13/25 Update defconfigs after BR2_RECENT removal
In reply to Thomas Petazzoni--- configs/arm_toolchain_defconfig | 1 - configs/at91rm9200df_defconfig | 1 - configs/at91rm9200df_ext_bare_defconfig | 1 - configs/at91rm9200df_ext_defconfig | 1 - configs/at91sam9260dfc_defconfig | 1 - configs/at91sam9260dfc_ext_bare_defconfig | 1 - configs/at91sam9260dfc_ext_defconfig | 1 - configs/at91sam9261ek_defconfig | 1 - configs/at91sam9261ek_ext_bare_defconfig | 1 - configs/at91sam9261ek_ext_defconfig | 1 - configs/at91sam9263ek_defconfig | 1 - configs/at91sam9263ek_ext_bare_defconfig | 1 - configs/at91sam9263ek_ext_defconfig | 1 - configs/at91sam9g20dfc_defconfig | 1 - configs/at91sam9g20dfc_ext_bare_defconfig | 1 - configs/at91sam9g20dfc_ext_defconfig | 1 - configs/atngw100-base_defconfig | 1 - configs/atngw100_defconfig | 1 - configs/atstk1005_defconfig | 1 - configs/atstk100x_defconfig | 1 - configs/i386_defconfig | 1 - configs/i686_defconfig | 1 - configs/integrator926_defconfig | 1 - configs/integrator926_huge_defconfig | 1 - configs/kb9202_defconfig | 1 - configs/v100sc2_defconfig | 1 - 26 files changed, 0 insertions(+), 26 deletions(-)
configs/arm_toolchain_defconfig +0 -1
@@ -166,7 +166,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y BR2_CONFIG_CACHE=y # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91rm9200df_defconfig +0 -1
@@ -171,7 +171,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91rm9200df_ext_bare_defconfig +0 -1
@@ -166,7 +166,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91rm9200df_ext_defconfig +0 -1
@@ -177,7 +177,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9260dfc_defconfig +0 -1
@@ -184,7 +184,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9260dfc_ext_bare_defconfig +0 -1
@@ -166,7 +166,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9260dfc_ext_defconfig +0 -1
@@ -185,7 +185,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9261ek_defconfig +0 -1
@@ -187,7 +187,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y BR2_CONFIG_CACHE=y # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9261ek_ext_bare_defconfig +0 -1
@@ -169,7 +169,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9261ek_ext_defconfig +0 -1
@@ -188,7 +188,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y BR2_CONFIG_CACHE=y # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9263ek_defconfig +0 -1
@@ -185,7 +185,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y BR2_CONFIG_CACHE=y # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9263ek_ext_bare_defconfig +0 -1
@@ -168,7 +168,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9263ek_ext_defconfig +0 -1
@@ -187,7 +187,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y BR2_CONFIG_CACHE=y # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9g20dfc_defconfig +0 -1
@@ -185,7 +185,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9g20dfc_ext_bare_defconfig +0 -1
@@ -166,7 +166,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/at91sam9g20dfc_ext_defconfig +0 -1
@@ -185,7 +185,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/atngw100-base_defconfig +0 -1
@@ -117,7 +117,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/atngw100_defconfig +0 -1
@@ -117,7 +117,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=3 # BR2_DEPRECATED is not set -BR2_RECENT=y BR2_CONFIG_CACHE=y # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/atstk1005_defconfig +0 -1
@@ -117,7 +117,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/atstk100x_defconfig +0 -1
@@ -116,7 +116,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/i386_defconfig +0 -1
@@ -117,7 +117,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/i686_defconfig +0 -1
@@ -117,7 +117,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/integrator926_defconfig +0 -1
@@ -115,7 +115,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibcgnueabi" BR2_JLEVEL=1 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/integrator926_huge_defconfig +0 -1
@@ -115,7 +115,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibcgnueabi" BR2_JLEVEL=1 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_CONFIG_CACHE is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y
configs/kb9202_defconfig +0 -1
@@ -123,7 +123,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y # BR2_STRIP_sstrip is not set
configs/v100sc2_defconfig +0 -1
@@ -94,7 +94,6 @@ BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set -BR2_RECENT=y # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y # BR2_STRIP_sstrip is not set
Signature · 1 line
1.6.3.3
PATCH 14/25 Move the command-related options to a submenu
In reply to Thomas Petazzoni--- Config.in | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Config.in +4 -0
@@ -15,6 +15,8 @@ source "target/device/Config.in" menu "Build options" +menu "Commands" + config BR2_WGET string "Wget command" default "wget --passive-ftp -nd"
@@ -67,6 +69,8 @@ config BR2_TAR_OPTIONS E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files and to be verbose. +endmenu + config BR2_DL_DIR string "Download dir" default "$(TOPDIR)/dl"
Signature · 1 line
1.6.3.3
PATCH 15/25 Bring the three path-related options together
In reply to Thomas Petazzoni--- Config.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Config.in +2 -2
@@ -88,8 +88,6 @@ config BR2_COPYTO Setting this variable will (eventually) override any other copyto configurations in buildroot. -source "target/device/Config.in.mirrors" - config BR2_STAGING_DIR string "Toolchain and header file location?" default "$(BASE_DIR)/staging"
@@ -103,6 +101,8 @@ config BR2_STAGING_DIR Most people will leave this set to the default value of "$(BASE_DIR)/staging". +source "target/device/Config.in.mirrors" + config BR2_GNU_BUILD_SUFFIX string "GNU build hostname suffix" default "pc-linux-gnu"
Signature · 1 line
1.6.3.3
PATCH 16/25 Move the global config cache option to an Advanced submenu
In reply to Thomas Petazzoni--- Config.in | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-)
Config.in +12 -8
@@ -145,14 +145,6 @@ config BR2_DEPRECATED help This option hides outdated/obsolete versions of packages. -config BR2_CONFIG_CACHE - bool "Use a central configure cache file" - default y - help - This determines if a central config cache is used by - packages, reducing the configure time for packages as each - one caches its findings. - config BR2_ENABLE_DEBUG bool "build packages with debugging symbols" select BR2_PACKAGE_GDB_SERVER
@@ -312,6 +304,18 @@ config BR2_HAVE_DEVFILES Install headers and static libraries in the target filesystem +menu "Advanced" + +config BR2_CONFIG_CACHE + bool "Use a central configure cache file" + default y + help + This determines if a central config cache is used by + packages, reducing the configure time for packages as each + one caches its findings. + +endmenu + endmenu source "toolchain/Config.in"
Signature · 1 line
1.6.3.3
PATCH 17/25 Guess build system and remove BR2_GNU_BUILD_SUFFIX
In reply to Thomas PetazzoniInstead of having a configuration option BR2_GNU_BUILD_SUFFIX, let's use config.guess to guess the build system type.
--- Config.in | 13 ------------- Makefile | 10 ++++++---- package/Makefile.in | 1 - package/qt/qt.mk | 2 +- 4 files changed, 7 insertions(+), 19 deletions(-)
Config.in +0 -13
@@ -103,19 +103,6 @@ config BR2_STAGING_DIR source "target/device/Config.in.mirrors" -config BR2_GNU_BUILD_SUFFIX - string "GNU build hostname suffix" - default "pc-linux-gnu" - help - The string used to pass to configure scripts via the - --build= option. Just specify the suffix here, the leading - arch will be filled in automatically. - - Here's some copy and paste build host options for you: - linux: pc-linux-gnu - cygwin: pc-cygwin - os x: apple-darwin7 / apple-darwin8 - config BR2_GNU_TARGET_SUFFIX string "GNU target suffix" default "linux-uclibcgnueabi" if BR2_ARM_EABI
Makefile +6 -4
@@ -153,29 +153,31 @@ cc-option=$(shell if $(TARGET_CC) $(TARGET_CFLAGS) $(1) -S -o /dev/null -xc /dev unexport CROSS_COMPILE unexport ARCH +GNU_HOST_NAME=$(shell package/gnuconfig/config.guess) + ############################################################# # # Setup the proper filename extensions for the host # ############################################################## -ifneq ($(findstring linux,$(BR2_GNU_BUILD_SUFFIX)),) +ifneq ($(findstring linux,$(GNU_HOST_NAME)),) HOST_EXEEXT:= HOST_LIBEXT:=.a HOST_SHREXT:=.so endif -ifneq ($(findstring apple,$(BR2_GNU_BUILD_SUFFIX)),) +ifneq ($(findstring apple,$(GNU_HOST_NAME)),) HOST_EXEEXT:= HOST_LIBEXT:=.a HOST_SHREXT:=.dylib endif -ifneq ($(findstring cygwin,$(BR2_GNU_BUILD_SUFFIX)),) +ifneq ($(findstring cygwin,$(GNU_HOST_NAME)),) HOST_EXEEXT:=.exe HOST_LIBEXT:=.lib HOST_SHREXT:=.dll HOST_LOADLIBES="-lcurses -lintl" export HOST_LOADLIBES endif -ifneq ($(findstring mingw,$(BR2_GNU_BUILD_SUFFIX)),) +ifneq ($(findstring mingw,$(GNU_HOST_NAME)),) HOST_EXEEXT:=.exe HOST_LIBEXT:=.lib HOST_SHREXT:=.dll
package/Makefile.in +0 -1
@@ -187,7 +187,6 @@ HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \ -e 's/i[3-9]86/i386/' \ -e 's/xtensa.*/xtensa/' \ ) -GNU_HOST_NAME:=$(HOST_ARCH)-$(call qstrip,$(BR2_GNU_BUILD_SUFFIX)) TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \ AR="$(TARGET_AR)" \
package/qt/qt.mk +1 -1
@@ -372,7 +372,7 @@ BR2_PACKAGE_QT_EMB_PLATFORM:=$(call qstrip,$(BR2_PACKAGE_QT_EMB_PLATFORM)) # x86x86fix # Workaround Qt Embedded bug when crosscompiling for x86 under x86 with linux # host. It's unclear if this would happen on other hosts. -ifneq ($(findstring pc-linux,$(BR2_GNU_BUILD_SUFFIX)),) +ifneq ($(findstring unknown-linux,$(GNU_HOST_NAME)),) ifneq ($(findstring x86,$(BR2_PACKAGE_QT_EMB_PLATFORM)),) QT_CONFIGURE+= -platform linux-g++ endif
Signature · 1 line
1.6.3.3
PATCH 18/25 Update defconfigs after BR2_GNU_BUILD_SUFFIX removal
In reply to Thomas Petazzoni--- configs/arm_toolchain_defconfig | 1 - configs/at91rm9200df_defconfig | 1 - configs/at91rm9200df_ext_bare_defconfig | 1 - configs/at91rm9200df_ext_defconfig | 1 - configs/at91sam9260dfc_defconfig | 1 - configs/at91sam9260dfc_ext_bare_defconfig | 1 - configs/at91sam9260dfc_ext_defconfig | 1 - configs/at91sam9260pf_defconfig | 1 - configs/at91sam9261ek_defconfig | 1 - configs/at91sam9261ek_ext_bare_defconfig | 1 - configs/at91sam9261ek_ext_defconfig | 1 - configs/at91sam9263ek_defconfig | 1 - configs/at91sam9263ek_ext_bare_defconfig | 1 - configs/at91sam9263ek_ext_defconfig | 1 - configs/at91sam9g20dfc_defconfig | 1 - configs/at91sam9g20dfc_ext_bare_defconfig | 1 - configs/at91sam9g20dfc_ext_defconfig | 1 - configs/atngw100-base_defconfig | 1 - configs/atngw100_defconfig | 1 - configs/atstk1005_defconfig | 1 - configs/atstk100x_defconfig | 1 - configs/i386_defconfig | 1 - configs/i686_defconfig | 1 - configs/integrator926_defconfig | 1 - configs/integrator926_huge_defconfig | 1 - configs/kb9202_defconfig | 1 - configs/v100sc2_defconfig | 1 - 27 files changed, 0 insertions(+), 27 deletions(-)
configs/arm_toolchain_defconfig +0 -1
@@ -162,7 +162,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91rm9200df_defconfig +0 -1
@@ -167,7 +167,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9260dfc" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91rm9200df_ext_bare_defconfig +0 -1
@@ -162,7 +162,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91rm9200df-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91rm9200df_ext_defconfig +0 -1
@@ -173,7 +173,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91rm9200df-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9260dfc_defconfig +0 -1
@@ -180,7 +180,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9260dfc-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9260dfc_ext_bare_defconfig +0 -1
@@ -162,7 +162,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9260dfc-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9260dfc_ext_defconfig +0 -1
@@ -181,7 +181,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9260dfc-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9260pf_defconfig +0 -1
@@ -72,7 +72,6 @@ BR2_AT91_PATCH_MIRROR="http://maxim.org.za/AT91RM9200/2.6/" BR2_STAGING_DIR="$(BASE_DIR)/staging" BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="wchar" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set
configs/at91sam9261ek_defconfig +0 -1
@@ -183,7 +183,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9261ek-NAND" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9261ek_ext_bare_defconfig +0 -1
@@ -165,7 +165,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9261ek-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9261ek_ext_defconfig +0 -1
@@ -184,7 +184,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9261ek-NAND" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9263ek_defconfig +0 -1
@@ -181,7 +181,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9263ek-NAND" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9263ek_ext_bare_defconfig +0 -1
@@ -164,7 +164,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9263ek-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9263ek_ext_defconfig +0 -1
@@ -183,7 +183,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9263ek-NAND" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9g20dfc_defconfig +0 -1
@@ -181,7 +181,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam92g20ek-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9g20dfc_ext_bare_defconfig +0 -1
@@ -162,7 +162,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9g20dfc-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/at91sam9g20dfc_ext_defconfig +0 -1
@@ -181,7 +181,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="at91sam9g20dfc-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/atngw100-base_defconfig +0 -1
@@ -113,7 +113,6 @@ BR2_STAGING_DIR="$(BASE_DIR)/staging" # BR2_FPU_SUFFIX is not set BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set
configs/atngw100_defconfig +0 -1
@@ -113,7 +113,6 @@ BR2_STAGING_DIR="$(BASE_DIR)/staging" # BR2_FPU_SUFFIX is not set BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=3 # BR2_DEPRECATED is not set
configs/atstk1005_defconfig +0 -1
@@ -113,7 +113,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/atstk100x_defconfig +0 -1
@@ -112,7 +112,6 @@ BR2_STAGING_DIR="$(BASE_DIR)/staging" # BR2_FPU_SUFFIX is not set BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=2 # BR2_DEPRECATED is not set
configs/i386_defconfig +0 -1
@@ -113,7 +113,6 @@ BR2_STAGING_DIR="$(BASE_DIR)/staging" # BR2_FPU_SUFFIX is not set BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set
configs/i686_defconfig +0 -1
@@ -113,7 +113,6 @@ BR2_STAGING_DIR="$(BASE_DIR)/staging" # BR2_FPU_SUFFIX is not set BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set
configs/integrator926_defconfig +0 -1
@@ -111,7 +111,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="rootfs" BR2_ROOTFS_SUFFIX="" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibcgnueabi" BR2_JLEVEL=1 # BR2_DEPRECATED is not set
configs/integrator926_huge_defconfig +0 -1
@@ -111,7 +111,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="$(BOARD_NAME)-rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibcgnueabi" BR2_JLEVEL=1 # BR2_DEPRECATED is not set
configs/kb9202_defconfig +0 -1
@@ -119,7 +119,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="rootfs" BR2_ROOTFS_SUFFIX="" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set
configs/v100sc2_defconfig +0 -1
@@ -90,7 +90,6 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_ROOTFS_PREFIX="rootfs" BR2_ROOTFS_SUFFIX="$(DATE)" -BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" BR2_GNU_TARGET_SUFFIX="linux-uclibc" BR2_JLEVEL=1 # BR2_DEPRECATED is not set
Signature · 1 line
1.6.3.3
PATCH 19/25 Get rid of now unused HOST_ARCH computation code
In reply to Thomas Petazzoni--- package/Makefile.in | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-)
package/Makefile.in +0 -14
@@ -174,20 +174,6 @@ HOST_PATH=$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(PATH) HOSTCC_VERSION:=$(shell $(HOSTCC) --version | \ sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p') -HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \ - -e 's/sparc.*/sparc/' \ - -e 's/arm.*/arm/g' \ - -e 's/m68k.*/m68k/' \ - -e 's/ppc/powerpc/g' \ - -e 's/v850.*/v850/g' \ - -e 's/sh[234]/sh/' \ - -e 's/mips-.*/mips/' \ - -e 's/mipsel-.*/mipsel/' \ - -e 's/cris.*/cris/' \ - -e 's/i[3-9]86/i386/' \ - -e 's/xtensa.*/xtensa/' \ - ) - TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \ AR="$(TARGET_AR)" \ AS="$(TARGET_AS)" \
Signature · 1 line
1.6.3.3
PATCH 20/25 Remove BR2_ENABLE_LOCALE_PREGENERATED
In reply to Thomas PetazzoniThe option is marked broken since october 2009, and even the uClibc configuration help text says that using pregenerated locales is highly discouraged.
--- toolchain/Config.in.2 | 10 ---------- toolchain/uClibc/uclibc.mk | 21 +-------------------- 2 files changed, 1 insertions(+), 30 deletions(-)
toolchain/Config.in.2 +0 -10
@@ -35,16 +35,6 @@ config BR2_ENABLE_LOCALE If you have an external binary toolchain that has been built with locale/i18n support then enable this option. -config BR2_ENABLE_LOCALE_PREGENERATED - bool "Use pregenerated locale data?" - depends on BR2_ENABLE_LOCALE && BR2_TOOLCHAIN_BUILDROOT && BROKEN # tarball missing - help - Instead of generating the locale data locally you can optionally - download a pregenerated set of locales. - - Say N here unless your buildhost lacks locale support and you - desparately want to use internationalization on your target. - config BR2_ENABLE_LOCALE_PURGE bool "Purge unwanted locales" help
toolchain/uClibc/uclibc.mk +1 -20
@@ -68,20 +68,8 @@ UCLIBC_SPARC_TYPE:=CONFIG_SPARC_$(call qstrip,$(BR2_SPARC_TYPE)) $(DL_DIR)/$(UCLIBC_SOURCE): $(call DOWNLOAD,$(UCLIBC_SITE),$(UCLIBC_SOURCE)) -ifneq ($(BR2_ENABLE_LOCALE_PREGENERATED),) -UCLIBC_SITE_LOCALE:=http://www.uclibc.org/downloads -UCLIBC_SOURCE_LOCALE:=uClibc-locale-030818.tgz - -$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE): - $(call DOWNLOAD,$(UCLIBC_SITE_LOCALE),$(UCLIBC_SOURCE_LOCALE)) - -UCLIBC_LOCALE_DATA:=$(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) -else -UCLIBC_LOCALE_DATA= -endif - uclibc-unpacked: $(UCLIBC_DIR)/.unpacked -$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA) +$(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) mkdir -p $(TOOLCHAIN_DIR) rm -rf $(UCLIBC_DIR) $(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOLCHAIN_DIR) $(TAR_OPTIONS) -
@@ -97,9 +85,6 @@ else toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \ uClibc.\*.patch uClibc.\*.patch.$(ARCH) endif -ifneq ($(BR2_ENABLE_LOCALE_PREGENERATED),) - cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/ -endif touch $@
@@ -329,11 +314,7 @@ else echo "# PTHREADS_DEBUG_SUPPORT is not set" >> $(UCLIBC_DIR)/.oldconfig endif ifeq ($(BR2_ENABLE_LOCALE),y) -ifeq ($(BR2_ENABLE_LOCALE_PREGENERATED),y) - $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.oldconfig -else $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=n\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=n\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.oldconfig -endif else $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.oldconfig endif
Signature · 1 line
1.6.3.3
PATCH 21/25 Update defconfigs after BR2_ENABLE_LOCALE_PREGENERATED removal
In reply to Thomas Petazzoni--- configs/arm_toolchain_defconfig | 1 - configs/at91rm9200df_defconfig | 1 - configs/at91sam9260dfc_defconfig | 1 - configs/at91sam9261ek_defconfig | 1 - configs/at91sam9263ek_defconfig | 1 - configs/at91sam9g20dfc_defconfig | 1 - configs/atngw100_defconfig | 1 - configs/atstk1005_defconfig | 1 - configs/atstk100x_defconfig | 1 - configs/i386_defconfig | 1 - configs/i686_defconfig | 1 - 11 files changed, 0 insertions(+), 11 deletions(-)
configs/arm_toolchain_defconfig +0 -1
@@ -276,7 +276,6 @@ BR2_LARGEFILE=y BR2_INET_IPV6=y BR2_INET_RPC=y BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set BR2_USE_WCHAR=y # BR2_SOFT_FLOAT is not set # BR2_PTHREADS_NONE is not set
configs/at91rm9200df_defconfig +0 -1
@@ -291,7 +291,6 @@ BR2_LARGEFILE=y BR2_INET_IPV6=y BR2_INET_RPC=y BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set BR2_USE_WCHAR=y # BR2_SOFT_FLOAT is not set # BR2_PTHREADS_NONE is not set
configs/at91sam9260dfc_defconfig +0 -1
@@ -232,7 +232,6 @@ BR2_UCLIBC_VERSION_0_9_30=y # BR2_UCLIBC_VERSION_SNAPSHOT is not set BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.30.config" BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set # BR2_PTHREADS_NONE is not set # BR2_PTHREADS is not set BR2_PTHREADS_OLD=y
configs/at91sam9261ek_defconfig +0 -1
@@ -235,7 +235,6 @@ BR2_UCLIBC_VERSION_0_9_30=y # BR2_UCLIBC_VERSION_SNAPSHOT is not set BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.30.config" BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set # BR2_PTHREADS_NONE is not set # BR2_PTHREADS is not set BR2_PTHREADS_OLD=y
configs/at91sam9263ek_defconfig +0 -1
@@ -296,7 +296,6 @@ BR2_LARGEFILE=y BR2_INET_IPV6=y BR2_INET_RPC=y BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set BR2_USE_WCHAR=y # BR2_SOFT_FLOAT is not set # BR2_PTHREADS_NONE is not set
configs/at91sam9g20dfc_defconfig +0 -1
@@ -296,7 +296,6 @@ BR2_LARGEFILE=y BR2_INET_IPV6=y BR2_INET_RPC=y BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set BR2_USE_WCHAR=y # BR2_SOFT_FLOAT is not set # BR2_PTHREADS_NONE is not set
configs/atngw100_defconfig +0 -1
@@ -230,7 +230,6 @@ BR2_LARGEFILE=y BR2_INET_IPV6=y BR2_INET_RPC=y BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set # BR2_ENABLE_LOCALE_PURGE is not set BR2_USE_WCHAR=y BR2_SOFT_FLOAT=y
configs/atstk1005_defconfig +0 -1
@@ -237,7 +237,6 @@ BR2_LARGEFILE=y BR2_INET_IPV6=y BR2_INET_RPC=y BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set BR2_USE_WCHAR=y BR2_SOFT_FLOAT=y # BR2_PTHREADS_NONE is not set
configs/atstk100x_defconfig +0 -1
@@ -231,7 +231,6 @@ BR2_LARGEFILE=y BR2_INET_IPV6=y BR2_INET_RPC=y BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set # BR2_ENABLE_LOCALE_PURGE is not set BR2_USE_WCHAR=y BR2_SOFT_FLOAT=y
configs/i386_defconfig +0 -1
@@ -230,7 +230,6 @@ BR2_LARGEFILE=y BR2_INET_IPV6=y BR2_INET_RPC=y BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set # BR2_ENABLE_LOCALE_PURGE is not set BR2_USE_WCHAR=y # BR2_USE_SSP is not set
configs/i686_defconfig +0 -1
@@ -230,7 +230,6 @@ BR2_LARGEFILE=y BR2_INET_IPV6=y BR2_INET_RPC=y BR2_ENABLE_LOCALE=y -# BR2_ENABLE_LOCALE_PREGENERATED is not set # BR2_ENABLE_LOCALE_PURGE is not set BR2_USE_WCHAR=y # BR2_USE_SSP is not set
Signature · 1 line
1.6.3.3
PATCH 22/25 Get rid of unused variables
In reply to Thomas Petazzoni--- Makefile | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)
Makefile +0 -7
@@ -268,13 +268,6 @@ STAMP_DIR:=$(BASE_DIR)/stamps BINARIES_DIR:=$(BASE_DIR)/images TARGET_DIR:=$(BASE_DIR)/target -# define values for prepatched source trees for toolchains -VENDOR_SITE:=$(call qstrip,$(BR2_VENDOR_SITE)) -VENDOR_BINUTILS_RELEASE:=$(call qstrip,$(BR2_VENDOR_BINUTILS_RELEASE)) -VENDOR_GCC_RELEASE:=$(call qstrip,$(BR2_VENDOR_GCC_RELEASE)) -VENDOR_UCLIBC_RELEASE:=$(call qstrip,$(BR2_VENDOR_UCLIBC_RELEASE)) -VENDOR_PATCH_DIR:=$(call qstrip,$(BR2_VENDOR_PATCH_DIR)) - BR2_DEPENDS_DIR=$(BUILD_DIR)/buildroot-config include toolchain/Makefile.in
Signature · 1 line
1.6.3.3
PATCH 23/25 Remove variables useless after BR2_PREFER_IMA removal
In reply to Thomas Petazzoni--- toolchain/Makefile.in | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
toolchain/Makefile.in +0 -4
@@ -40,9 +40,5 @@ endif # FIXME -- this is temporary OPTIMIZE_FOR_CPU=$(ARCH) -# late binding check to see if the target cc supports -fwhole-program -CFLAGS_WHOLE_PROGRAM = $(call cc-option,-fwhole-program,) -CFLAGS_COMBINE = $(call cc-option,-combine,) - # gcc has a bunch of needed stuff.... include toolchain/gcc/Makefile.in
Signature · 1 line
1.6.3.3
PATCH 24/25 Get rid of useless OpenMP related code
In reply to Thomas PetazzoniIt seems that there was an intention to add BR2_ENABLE_OPENMP someday, but it was in June 2007 (commit c81807a9d71fba9f35eeb7e3f3b56bda4b2e0edd) and since then, nothing occured. Therefore, get rid of this code, and just pass --disable-openmp to gettext to keep the current behaviour.
--- package/gettext/gettext.mk | 2 +- toolchain/Makefile.in | 7 ------- 2 files changed, 1 insertions(+), 8 deletions(-)
package/gettext/gettext.mk +1 -1
@@ -93,7 +93,7 @@ $(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked --disable-libasprintf \ --enable-shared \ $(IGNORE_EXTERNAL_GETTEXT) \ - $(OPENMP) \ + --disable-openmp \ ) touch $@
toolchain/Makefile.in +0 -7
@@ -10,13 +10,6 @@ else MULTILIB:=--disable-multilib endif -ifeq ($(BR2_ENABLE_OPENMP),y) -OPENMP:=--enable-openmp -else -OPENMP:=--disable-openmp -endif - - ifeq ($(BR2_TOOLCHAIN_SYSROOT),y) BR2_SYSROOT_PREFIX=# nothing, straight into /usr BR2_SYSROOT_STAGING_DESTDIR=DESTDIR=$(STAGING_DIR)/
Signature · 1 line
1.6.3.3
PATCH 25/25 Get rid of the OPTIMIZE_FOR_CPU variable
In reply to Thomas PetazzoniThis variable, together with the FIXME comment, has been added has part of Eric Andersen's ? Major buildroot facelift, step one ? commit that occured in October 2004.
Since then, no real usage has been made of OPTIMIZE_FOR_CPU, and the initial intention has probably been lost in the memories of the implementors.
Therefore, get rid of the variable, and just use $(ARCH) at the two locations the variable was used.
--- package/Makefile.in | 4 ++-- toolchain/Makefile.in | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-)
package/Makefile.in +2 -2
@@ -109,8 +109,8 @@ TOOLCHAIN_DIR=$(BASE_DIR)/toolchain # Quotes are needed for spaces et al in path components. TARGET_PATH="$(TOOLCHAIN_DIR)/bin:$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin/:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)" -GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux -REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX) +GNU_TARGET_NAME=$(ARCH)-linux +REAL_GNU_TARGET_NAME=$(ARCH)$(GNU_TARGET_SUFFIX) TARGET_CROSS=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)- KERNEL_CROSS=$(TARGET_CROSS) else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
toolchain/Makefile.in +0 -3
@@ -30,8 +30,5 @@ BR2_SYSROOT=# nothing BR2_ISYSROOT=#nothing endif -# FIXME -- this is temporary -OPTIMIZE_FOR_CPU=$(ARCH) - # gcc has a bunch of needed stuff.... include toolchain/gcc/Makefile.in
Signature · 1 line
1.6.3.3
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> Hello,
Thomas> During the flight to San Francisco today (to go to the Embedded Linux Thomas> Conference), I had the time to work on a few Buildroot cleanups. Most Thomas> of them have been discussed during the Buildroot Working Day that took Thomas> place in February 2010, right after FOSDEM, in Brussels.
Thomas> Enjoy :-)
Thomas> git://git.busybox.net/~tpetazzoni/git/buildroot various-fixes
Thanks, pulled and pushed everything except for the BR2_RECENT stuff (patch 11-13), that I'm not quite sure about yet.
Enjoy ELC - I think we need to send you on transatlantic flights more often ;)
Signature · 1 line
Bye, Peter Korsgaard