summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox.mk
Commit message (Collapse)AuthorAgeFilesLines
* busybox: fix cflagsGustavo Zacarias2010-07-221-14/+14
| | | | | | | Pass CFLAGS as env rather than opt to allow the build system to tweak them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* move default skeleton to fs/ and drop busybox skeletonDmytro Milinevskyy2010-07-181-8/+0
| | | | | | | [Peter: fixup patch, adjust for busybox.mk changes] Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: add 1.17.0, convert to gentargets, drop 1.12, deprecate 1.13 and 1.15Gustavo Zacarias2010-07-121-104/+130
| | | | | | | | Closes #2167 [Peter: fix CONFIG_ID workaround for old uClibcs] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update all packages to quote $(TARGET_CC)Thomas Petazzoni2010-07-071-3/+3
| | | | | | | Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: pass EXTRA_LDFLAGS for external toolchainsGrant Edwards2010-05-011-0/+2
| | | | | | | | | Closes #1321 [Peter: Rework patch to make it apply to git] Signed-off-by: Grant Edwards <grant.b.edwards@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: make sure architecture flags are used at link timeThomas Petazzoni2010-04-171-4/+4
| | | | | | | | | | | | | | | When compiling Busybox, according to readelf -A, all object files were properly compiled according to the select architecture (-march=armv4t for example), but the final busybox binary could be of a different architecture (ARMv5t even if ARMv4t was selected). This patch changes the way we configure/compile Busybox so that our CFLAGS aren't anymore passed through the make EXTRA_CFLAGS variable, but through the .config CONFIG_EXTRA_CFLAGS variable. Unfortunately, those variables don't have exactly the same semantic for the Busybox build system. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Remove BR2_PREFER_IMAThomas Petazzoni2010-04-111-8/+0
| | | | | | | This option is barely used, no-one is maintaining it or extending it. So let's remove it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: respect BR2_PREFER_STATIC_LIBPeter Korsgaard2010-04-051-0/+5
| | | | | | Build static version if requested in BR config. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: look at kernel headers for include files as wellPeter Korsgaard2009-11-281-3/+4
| | | | | | E.G. for flash_* applets. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove the "project" featureThomas Petazzoni2009-09-161-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "project" feature was designed to allow to several projects to be built inside the same Buildroot source tree and allowing the toolchain and non-configurable packages to be shared between the different projects on the same architecture. While being interesting in theory, this feature adds a level of complexity to Buildroot, both from an user perspective and from a developer perspective, while one of the main Buildroot strengh is to be simple. Moreover, this feature is only seldomly used by our users. From a user-level perspective, this for example allows to remove the project_build_ARCH directory, which was very confusing. The autotools-stamps directory is also removed, since these stamps are back at their normal location. Description of the changes involved : * project/, directory removed * Makefile - Don't include project/Makefile.in and project/project.mk anymore - Grab a copy of the contents of project/Makefile.in at the location it was imported, but remove the definition related to PROJECT_BUILD_DIR. The TARGET_DIR is now in $(BUILD_DIR)/target_dir - Remove the creation/removal of the $(PROJECT_BUILD_DIR) and $(PROJECT_BUILD_DIR)/autotools-stamps directories - Don't make world depends on target-host-info. This target was defined by project/project.mk to customize /etc/issue, /etc/hostname and create /etc/br-version depending on the project definitions. We can of course imagine re-adding such a feature later. - Replace PROJECT_BUILD_DIR by BUILD_DIR everywhere - Remove the update, log and lognr.$(PROJECT) target, they were specific to the project feature. * package/Makefile.autotools.in - Replace PROJECT_BUILD_DIR by BUILD_DIR for the location of the configure cache - Move the INSTALL_TARGET and HOOK_POST_INSTALL stamps to the same directory as the other stamps (i.e, in the package directory). * package/Makefile.in - Replace PROJECT_BUILD_DIR by BUILD_DIR for the location of the configure cache * package/at/at.mk, package/busybox/busybox.mk, package/busybox/initramfs.mk, package/customize/customize.mk, package/linux-fusion/linux-fusion.mk, package/ltp-testsuite/ltp-testsuite.mk, package/nfs-utils/nfs-utils.mk, target/cpio/cpioroot.mk, target/cramfs/cramfs.mk, target/device/Atmel/DataFlashBoot/DataflashBoot.mk, target/device/Atmel/Makefile.in, target/device/Atmel/at91bootstrap/at91bootstrap.mk, target/device/KwikByte/Makefile.in, target/ext2/ext2root.mk, target/initramfs/initramfs.mk, target/iso9660/iso9660.mk, target/jffs2/jffs2root.mk, target/linux/Makefile.in, target/romfs/romfs.mk, target/squashfs/squashfsroot.mk, target/tar/tarroot.mk, target/ubifs/ubifsroot.mk - Replace PROJECT_BUILD_DIR by BUILD_DIR * target/device/Config.in - Do not include project/Config.in anymore * target/linux/Makefile.in.advanced - Replace PROJECT_BUILD_DIR by BUILD_DIR - Store the stamps file in $(STAMP_DIR) instead of $(PROJECT_BUILD_DIR)/autotools-stamps * target/u-boot/Makefile.in - Replace PROJECT_BUILD_DIR by BUILD_DIR - Remove $(PROJECT) from the U-Boot target binary name - Remove the insertion in the configuration of the project name as the hostname - The u-boot-autoscript target now generates $(U_BOOT_AUTOSCRIPT).img instead of $(U_BOOT_AUTOSCRIPT).$(PROJECT) * toolchain/gcc/gcc-uclibc-3.x.mk toolchain/gcc/gcc-uclibc-4.x.mk - Move the stamps files to $(STAMP_DIR) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: use qstripThomas Petazzoni2009-09-051-4/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: also enable ipv6 support in ifupdown if ipv6 support is enabledPeter Korsgaard2009-08-241-0/+2
| | | | | Reported by: Chris Smith <chris.smith@tandberg.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: autodetect nfs mount support based on BR2_INET_RPC settingPeter Korsgaard2009-06-221-0/+5
| | | | | | | | | Override nfs mount support based on BR2_INET_RPC setting, so BR will DTRT. This way you will automatically get NFS support in busybox if available in the toolchain, and the build won't break if the defconfig enables it but the user has it disabled in the toolchain. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: fix brown paper bag typo introduced in a7ed91aPeter Korsgaard2009-05-261-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: additional 1.14.0 fixesPeter Korsgaard2009-05-191-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: remove ancient versionsPeter Korsgaard2009-04-151-6/+0
|
* busybox: add 1.14.xPeter Korsgaard2009-04-151-2/+2
|
* busybox: rebuild if .config changedPeter Korsgaard2009-01-291-4/+4
| | | | As reported on irc - Fixes busybox-menuconfig
* busybox: remove unused handling of ancient versions no longer in BRPeter Korsgaard2009-01-291-8/+0
|
* package/: convert to DOWNLOAD helperPeter Korsgaard2009-01-161-1/+1
|
* busybox: fixup id applet on 1.13.0 for old uclibc versionsPeter Korsgaard2008-11-211-0/+8
| | | | | | | | The id applet in 1.13.0 only compiles with uclibc < 0.9.30 if the busybox internal passwd/grp functions are used. Therefore, automatically enable CONFIG_USE_BB_PWD_GRP if that situation is detected and warn the user.
* busybox: fix missing dependencies in unpacked and config rulesPeter Korsgaard2008-08-061-2/+2
| | | | | | | Aadds dependency to host-sed and $(PROJECT_BUILD_DIR) when running make busybox-config and busybox-unpacked. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* confusing busybox config option description patch, busybox can be built as ↵John Voltz2008-03-211-1/+1
| | | | shared libs, hardlinks ... etc. rename to full install. Patch from Nigel Kukard
* busybox: remove config dependency on busybox-sourcePeter Korsgaard2008-03-111-1/+1
| | | | | busybox-source target doesn't need to depend on the config file. Patch by Simon Pasch.
* - just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer2007-10-011-1/+1
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - no need to $(strip ..) bool/tristate values (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-09-301-7/+7
|
* Add more management to linux and buysbox packagesUlf Samuelsson2007-09-261-2/+8
|
* - remove inadequate dependencies prerequisite.Bernhard Reutner-Fischer2007-09-221-1/+1
| | | | If needed, this should be done slightly different, otherwise the source target runs dependencies, which is not correct.
* - global whitespace trimmingBernhard Reutner-Fischer2007-08-221-7/+7
|
* - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer2007-08-211-7/+7
| | | | toolchain/*/*.mk */Makefile.in -l)
* BSP Patch:Ulf Samuelsson2007-07-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ========================================================= The purpose of the BSP patch is to allow building several boards inside the same buildroot tree. For this to work, each board has to have its own "$(TARGET_DIR)" and all *configurable* packages must be rebuilt for each board. They are now built in the "$(PROJECT_BUILD_DIR)" All non configurable packages can and should still be built in the "$(BUILD_DIR)". If a package is built for one board, then when you build for a second board of the same architecture the build becomes a simple copy of the resulting binaries. ----- Define BR2_PROJECT which will be used as the selector between different boards. Note that BR2_PROJECT allow you to build multiple root file systems for a single board, and should not be confused with BR2_BOARD_NAME which relates to the H/W. ----- Define PROJECT_BUILD_DIR as "PROJECT_BUILD_DIR/$(PROJECT)" Define BINARIES_DIR as "binaries/$(PROJECT)" Define TARGET_DIR as "$(PROJECT_BUILD_DIR)/root" (some prefix/postfix may apply) Resulting images are stored in "$(BINARIES_DIR)" ----- Define a few new environment variables in Makefile PROJECT: Stripped BR2_PROJECT DATE: Date of build in YYYY-MM-DD format HOSTNAME: Stripped BR2_HOSTNAME => /etc/hostname BANNER: Stripped BR2_BANNER => /etc/issue Linux and Busybox will be built in $(PROJECT_BUILD_DIR) More patches will be needed later to ensure all configurable packages are built in this directory.
* - CONFIG_FDISK_SUPPORT_LARGE_DISKS depends on LFSBernhard Reutner-Fischer2007-07-081-1/+2
|
* - use BR2_INET_IPV6Bernhard Reutner-Fischer2007-06-271-0/+5
|
* If any of the netkit packages were selected, we disable their counterparts ↵"Steven J. Hill"2007-05-071-0/+10
| | | | in Busybox and warn the user.
* - strip quotes. Thanks to Heikki Lindholm for pointing this out.Bernhard Reutner-Fischer2007-03-241-3/+5
|
* - make sure we have a build_$arch dir for -menuconfig even when in a ↵Bernhard Reutner-Fischer2007-03-231-1/+1
| | | | pristine checkout
* - bump versionBernhard Reutner-Fischer2007-03-231-1/+1
|
* - simplify busybox version fiddlingBernhard Reutner-Fischer2007-03-201-27/+3
|
* - add busybox-1.4.2Bernhard Reutner-Fischer2007-03-201-0/+5
|
* Set CONFIG_PREFIX for all versionsPeter Korsgaard2007-02-231-9/+2
|
* - add skeleton to use busybox and mdev for a rather small skeletonBernhard Reutner-Fischer2007-02-161-0/+4
|
* Made _DIR/_SOURCE/_SITE common for all non-snapshot versionsPeter Korsgaard2007-02-061-15/+4
|
* v1.0.1 tarball is called busybox-1.01Peter Korsgaard2007-02-061-1/+1
|
* CONFIG_PREFIX hack (r17670) no longer neededPeter Korsgaard2007-02-061-1/+1
|
* busybox 1.4.1 supportPeter Korsgaard2007-02-061-0/+12
|
* - fix patch application. Use busybox-$(VER)-\*.patch for versions and ↵Bernhard Reutner-Fischer2007-01-311-3/+7
| | | | busybox.\*.patch for snapshot
* busybox 1.4.0 seems to use CONFIG_PREFIX instead of PREFIXPeter Korsgaard2007-01-301-1/+1
|
* Busybox 1.4.0 supportPeter Korsgaard2007-01-301-1/+8
|
* - add an experimental BR2_PREFER_IMA.Bernhard Reutner-Fischer2007-01-281-0/+8
| | | | Currently disfunctional for gcc-4.2 due to PR30620 and possibly others