aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig/confdata.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'busybox' into mergeRon Yorston2021-06-071-3/+14
|\
| * build system: use SOURCE_DATE_EPOCH for timestamp if availablePaul Spooren2021-06-051-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SOURCE_DATE_EPOCH is an effort of the Reproducible Builds organization to make timestamps/build dates in compiled tools deterministic over several repetitive builds. Busybox shows by default the build date timestamp which changes whenever compiled. To have a reasonable accurate build date while staying reproducible, it's possible to use the *date of last source modification* rather than the current time and date. Further information on SOURCE_DATE_EPOCH are available online [1]. This patch modifies `confdata.c` so that the content of the SOURCE_DATE_EPOCH env variable is used as timestamp. To be independent of different timezones between builds, whenever SOURCE_DATE_EPOCH is defined the GMT time is used. [1]: https://reproducible-builds.org/docs/source-date-epoch/ Signed-off-by: Paul Spooren <mail@aparcar.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2021-05-141-1/+1
|\|
| * fix "warning array subscript has type 'char'"Denys Vlasenko2021-04-141-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2018-04-091-1/+3
|\|
| * placate gcc 8.0.1 sprintf overflow warnings in config toolsDenys Vlasenko2018-04-051-1/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | kbuild: simulate force-renaming on WindowsJohannes Schindelin2017-07-141-0/+9
|/ | | | | | | | | | | | | | | Calling rename() when a file with the target name exists already fails on Windows. Let's simply delete the target file, if it exists. This is usually a dangerous thing as it leaves time between deleting and renaming, during which (theoretically) another thread or process could have created the same file, and the rename() would fail again. Practically, we are talking about the kbuild system used to configure the build, where it does not matter, as we do not expect any other thread or process to interfere with the configuration files. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* fix if(p)/free(p) constructManinder Singh2015-06-071-2/+1
| | | | | | | | No need of explicit NULL check before free. Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* buildsys: Add helper to list suid appletsBernhard Reutner-Fischer2013-07-261-4/+20
| | | | | | | | | | | | | Add a helper script that lists all applets that - do or may require SUID provileges (busybox.cfg.suid) - do not require SUID provileges (busybox.cfg.nosuid) Some setups prefer to build two busybox binaries, one that is suid which contains all applets that do or may require suid privileges, and a second one for all the rest (which drops suid). To ease splitting these two binaries, generate a list of CONFIG_ items for the suid binary. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* remove defconfig. Now "make defconfig" simply uses defaults from Config.inDenys Vlasenko2010-06-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Hurd compat fixes. Mostly dealing with absent PATH_MAXJérémie Koenig2010-03-261-1/+2
| | | | | Signed-off-by: Jérémie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-211-10/+10
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* Make "shadowed" numeric config entries (ones which depend onDenis Vlasenko2009-02-151-0/+2
| | | | | other options which are off) to have the value of 0, not "".
* Remove 'busybox' word from configuration programsDenis Vlasenko2008-05-281-1/+1
| | | | | (based on experience of adapting it to uclibc).
* fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing)Denis Vlasenko2008-04-251-0/+2
|
* build system: stop moaning about unset integer CONFIGs.Denis Vlasenko2007-08-231-1/+2
|
* build system: remove kernel .config locations (spotted by walter harms ↵Denis Vlasenko2007-06-211-4/+1
| | | | <wharms@bfs.de>)
* - replace some occurances of "kernel" with busyboxBernhard Reutner-Fischer2007-01-171-3/+3
|
* kill off AUTOCONF_INCLUDED (again) since it tends to get into cat fights ↵Mike Frysinger2006-12-301-1/+1
| | | | with the kernel headers
* make sure AUTOCONF_TIMESTAMP is filled up properly ... if user has a ↵Mike Frysinger2006-12-301-3/+12
| | | | timezone of Factory for example, strftime() will overflow the string and leave us without a trailing "\n and all hell breaks loose when we compile
* build system: (try to) get rid of bb_config.h hackDenis Vlasenko2006-10-191-0/+2
|
* make defconfig now worksDenis Vlasenko2006-10-051-1/+1
|
* build system overhaulDenis Vlasenko2006-10-051-0/+560