summaryrefslogtreecommitdiff
path: root/scripts/kconfig/confdata.c
AgeCommit message (Collapse)Author
2021-06-05build system: use SOURCE_DATE_EPOCH for timestamp if availablePaul Spooren
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>
2021-04-14fix "warning array subscript has type 'char'"Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-04-05placate gcc 8.0.1 sprintf overflow warnings in config toolsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-06-07fix if(p)/free(p) constructManinder Singh
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>
2013-07-26buildsys: Add helper to list suid appletsBernhard Reutner-Fischer
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>
2010-06-06remove defconfig. Now "make defconfig" simply uses defaults from Config.inDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-03-26Hurd compat fixes. Mostly dealing with absent PATH_MAXJérémie Koenig
Signed-off-by: Jérémie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-04-21*: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
2009-02-15Make "shadowed" numeric config entries (ones which depend onDenis Vlasenko
other options which are off) to have the value of 0, not "".
2008-05-28Remove 'busybox' word from configuration programsDenis Vlasenko
(based on experience of adapting it to uclibc).
2008-04-25fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing)Denis Vlasenko
2007-08-23build system: stop moaning about unset integer CONFIGs.Denis Vlasenko
2007-06-21build system: remove kernel .config locations (spotted by walter harms ↵Denis Vlasenko
<wharms@bfs.de>)
2007-01-17- replace some occurances of "kernel" with busyboxBernhard Reutner-Fischer
2006-12-30kill off AUTOCONF_INCLUDED (again) since it tends to get into cat fights ↵Mike Frysinger
with the kernel headers
2006-12-30make sure AUTOCONF_TIMESTAMP is filled up properly ... if user has a ↵Mike Frysinger
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
2006-10-19build system: (try to) get rid of bb_config.h hackDenis Vlasenko
2006-10-05make defconfig now worksDenis Vlasenko
2006-10-05build system overhaulDenis Vlasenko