summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox.mk
Commit message (Collapse)AuthorAgeFilesLines
* busybox: add license infoDanomi Manchego2012-08-151-0/+3
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rework of the init systemMaxime Ripard2012-07-301-0/+7
| | | | | | | | | | | | | Since we have now two uncompatible init systems, and we want only one of them at the same time in use in the rootfs, we need to select a particular init system. This patch also adds $(PKG)_INSTALL_INIT_SYSTEMD and $(PKG)_INSTALL_INIT_SYSV hooks that are called when the matching init systems are selected to install properly the init scripts of the package. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* busybox: add watchdog daemon startup scriptFabio Porcedda2012-05-061-0/+15
| | | | | | 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>
* Convert busybox to the device declaration methodMaxime Ripard2012-02-011-0/+5
| | | | | | | | | | | 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>
* busybox: remove old unused quirk handlingPeter Korsgaard2011-11-231-2/+0
| | | | | | | The definition of these variables were removed back in June (7d814728 / f1e4aac4). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: rename busybox-update to busybox-update-configThomas De Schampheleire2011-11-111-1/+1
| | | | | | | | | 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>
* busybox: Fix syntax error when installing S10mdevPhilippe Pepiot2011-10-261-1/+1
| | | | | Signed-off-by: Philippe Pepiot <phil@philpep.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: only install S01logging / S10mdev if not present in fs skeletonPeter Korsgaard2011-10-181-3/+6
| | | | | | To allow custom syslogd / mdev configutations. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | 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>
* busybox: Add busybox-xconfig and busybox-gconfig rulesBenoit Mauduit2011-07-241-2/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: provide /etc/mdev.conf if mdev is usedLuca Ceresoli2011-07-111-0/+6
| | | | | | | | | | | | | | | | 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>
* busybox: only install S01logging if syslogd applet is enabledPeter Korsgaard2011-07-041-2/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Rework the logging daemons startupMaxime Ripard2011-07-041-0/+6
| | | | | | | | | | | 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>
* Remove obsolete code in busybox.mkMaxime Ripard2011-07-041-8/+0
| | | | | | | | 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>
* busybox: remove quirk for old unsupported versionsMaxime Ripard2011-07-041-11/+0
| | | | | | | | 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>
* busybox: adjust configuration for non-MMU targetsThomas Petazzoni2011-06-121-0/+9
| | | | | | | | | | | 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>
* busybox: tune config according to BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDSThomas Petazzoni2011-06-121-0/+9
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Create menu entry to select device creation methodYegor Yefremov2011-05-091-0/+15
| | | | | | | | | | | | | | | | | | 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>
* busybox: ensure source gets downloaded/extracted/patched before -menuconfigPeter Korsgaard2011-03-281-1/+1
| | | | | | Closes #3511 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: fix busybox-menuconfig after 69df644f5Kim Jae-hui2011-01-181-1/+1
| | | | | | | | | 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>
* busybox: let buildroot handle strippingMike Frysinger2011-01-111-1/+2
| | | | | | | | | | | 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>
* busybox: unify duplicated build stepsMike Frysinger2011-01-111-17/+12
| | | | | | | | | 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>
* busybox: get rid of BR2_PACKAGE_BUSYBOX_FULLINSTALLPeter Korsgaard2010-12-211-11/+1
| | | | | | | | 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>
* busybox: move udhcp script from skeleton to packageLionel Landwerlin2010-12-131-1/+4
| | | | | | | | | 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>
* uClibc: remove old 0.9.28 supportPeter Korsgaard2010-07-291-1/+1
| | | | | | Not supported upstream and needs complicated workaround for the NPTL stuff. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* 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