summaryrefslogtreecommitdiff
path: root/package/busybox/busybox.mk
AgeCommit message (Collapse)Author
2012-05-06busybox: add watchdog daemon startup scriptFabio Porcedda
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-01Convert busybox to the device declaration methodMaxime Ripard
Busybox used to declare and create files even if the package was not enabled through the device table. Remove the entries for busybox in the device table and move them to the package declaration. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-23busybox: remove old unused quirk handlingPeter Korsgaard
The definition of these variables were removed back in June (7d814728 / f1e4aac4). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-11busybox: rename busybox-update to busybox-update-configThomas De Schampheleire
The original name busybox-update is confusing as it only updates a configuration file. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-26busybox: Fix syntax error when installing S10mdevPhilippe Pepiot
Signed-off-by: Philippe Pepiot <phil@philpep.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-10-18busybox: only install S01logging / S10mdev if not present in fs skeletonPeter Korsgaard
To allow custom syslogd / mdev configutations. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29package: remove useless arguments from GENTARGETSThomas Petazzoni
Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-24busybox: Add busybox-xconfig and busybox-gconfig rulesBenoit Mauduit
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11busybox: provide /etc/mdev.conf if mdev is usedLuca Ceresoli
Without an mdev.conf file installed, mdev generates some /dev entries in an incorrect or non-standard way. Some examples: 1. /dev/null has permissions 660, but it should be accessible to normal users; 2. alsa devices get created in /dev, not /dev/snd as is more common, and as the default value of BR2_PACKAGE_ALSA_LIB_DEVDIR suggests; 3. event<N> files are created in /dev, not /dev/input. This mdev.conf is a selection from the examples provided in the busybox sources with minor tweaks. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04busybox: only install S01logging if syslogd applet is enabledPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04Rework the logging daemons startupMaxime Ripard
The logging mechanism startup being in inittab, it isn't easy to overcharge the default policy. With this patch, the startup of the syslog daemon is moved to an init.d script, that can easily be overwritten. [Peter: use install -D] Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04Remove obsolete code in busybox.mkMaxime Ripard
Remove this quirk since the tested code is no longer present in busybox since 1.10. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04busybox: remove quirk for old unsupported versionsMaxime Ripard
This code is no longer useful, since the oldest version supported by Builroot is 1.16. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12busybox: adjust configuration for non-MMU targetsThomas Petazzoni
The swaponoff applet doesn't build (and doesn't make sense) on non-MMU platforms. The ash shell cannot build on non-MMU platforms (because it uses fork()), so select the hush shell instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-12busybox: tune config according to BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDSThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-09Create menu entry to select device creation methodYegor Yefremov
Four methods for the creation of device files in /dev are now proposed: - static method uses device table as before - devtmpfs method enables this feature in kernel - mdev method adds mdev starting script to the file system and selects mdev itself for installation - udev method selects udev for installation All dynamic methods are based on devtmpfs, so one doesn't need to care about /dev folder. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28busybox: ensure source gets downloaded/extracted/patched before -menuconfigPeter Korsgaard
Closes #3511 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-18busybox: fix busybox-menuconfig after 69df644f5Kim Jae-hui
Closes #3109 Pass the correct -C <dir> option to make menuconfig. Signed-off-by: Kim Jae-hui <twinkle.j4k@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11busybox: let buildroot handle strippingMike Frysinger
For some ABI's (like FLAT), we cannot strip busybox as the file format does not support it and strip will abort with errors like 'File format not recognized'. Since the toplevel already takes care of stripping things, simply disable the busybox step. Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-11busybox: unify duplicated build stepsMike Frysinger
This does set a few more vars in some steps that weren't set before, but they should be harmless in the contexts in question. And the resulting save in duplication is nice. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-21busybox: get rid of BR2_PACKAGE_BUSYBOX_FULLINSTALLPeter Korsgaard
As discussed on IRC, this only needs to be disabled for very specific configurations, and it can nowadays be done with a custom busybox .config (CONFIG_INSTALL_APPLET_DONT), so get rid of the option. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13busybox: move udhcp script from skeleton to packageLionel Landwerlin
Since udhcpc is part of busybox, it seems logical to move the udhcpc script from skeleton to busybox. [Peter: only install if not available in skeleton] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29uClibc: remove old 0.9.28 supportPeter Korsgaard
Not supported upstream and needs complicated workaround for the NPTL stuff. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22busybox: fix cflagsGustavo Zacarias
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>
2010-07-18move default skeleton to fs/ and drop busybox skeletonDmytro Milinevskyy
[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>
2010-07-12busybox: add 1.17.0, convert to gentargets, drop 1.12, deprecate 1.13 and 1.15Gustavo Zacarias
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>
2010-07-07Update all packages to quote $(TARGET_CC)Thomas Petazzoni
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>
2010-05-01busybox: pass EXTRA_LDFLAGS for external toolchainsGrant Edwards
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>
2010-04-17busybox: make sure architecture flags are used at link timeThomas Petazzoni
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>
2010-04-11Remove BR2_PREFER_IMAThomas Petazzoni
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>
2010-04-05busybox: respect BR2_PREFER_STATIC_LIBPeter Korsgaard
Build static version if requested in BR config. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-28busybox: look at kernel headers for include files as wellPeter Korsgaard
E.G. for flash_* applets. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-16Remove the "project" featureThomas Petazzoni
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>
2009-09-05packages: use qstripThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-03package: Remove unnecessary dependencies on uclibc.Will Newton
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>
2009-08-24busybox: also enable ipv6 support in ifupdown if ipv6 support is enabledPeter Korsgaard
Reported by: Chris Smith <chris.smith@tandberg.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-22busybox: autodetect nfs mount support based on BR2_INET_RPC settingPeter Korsgaard
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>
2009-05-26busybox: fix brown paper bag typo introduced in a7ed91aPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-19busybox: additional 1.14.0 fixesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-04-15busybox: remove ancient versionsPeter Korsgaard
2009-04-15busybox: add 1.14.xPeter Korsgaard
2009-01-29busybox: rebuild if .config changedPeter Korsgaard
As reported on irc - Fixes busybox-menuconfig
2009-01-29busybox: remove unused handling of ancient versions no longer in BRPeter Korsgaard
2009-01-16package/: convert to DOWNLOAD helperPeter Korsgaard
2008-11-21busybox: fixup id applet on 1.13.0 for old uclibc versionsPeter Korsgaard
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.
2008-08-06busybox: fix missing dependencies in unpacked and config rulesPeter Korsgaard
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>
2008-03-21confusing busybox config option description patch, busybox can be built as ↵John Voltz
shared libs, hardlinks ... etc. rename to full install. Patch from Nigel Kukard
2008-03-11busybox: remove config dependency on busybox-sourcePeter Korsgaard
busybox-source target doesn't need to depend on the config file. Patch by Simon Pasch.
2007-10-01- just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-09-30- no need to $(strip ..) bool/tristate values (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer