Commit Graph

28 Commits

Author SHA1 Message Date
Peter Korsgaard
a72ab0542f package/config: rebase against 2.6.38-rc3
Fixes nconfig crash on comments within choice groups.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 15:54:50 +01:00
Peter Korsgaard
72daa122b6 package/config: rebase against 2.6.37-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 15:54:50 +01:00
Peter Korsgaard
359a922659 package/config: Rebase against Linux 2.6.36
No significant changes, but makes it easier to rebase against newer
versions.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-02 15:54:33 +01:00
Peter Korsgaard
937367785a config: fix crash with too long paths
Closes #2737

Use PATH_MAX rather that 128 for path buffers. Patch from kernel 1408b15b98
(kconfig: Use PATH_MAX instead of 128 for path buffer sizes) by Will Newton.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-07 19:52:13 +01:00
Yann E. MORIN
e5e8fae892 Makefile: move version string from Config.in into Makefile
This re-instates writing the version string in .config headers, and no
longer provides it as a kconfig symbol in .config (it is now a variable
in the Makefile, and in the environment).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-03 23:26:45 +01:00
Thomas Petazzoni
52a142a631 Bump package/config to 2.6.36-rc1
The goal is to be able to use savedefconfig to generate minimal
defconfig files.

Four of our patches are removed since the modifications have been
merged upstream. The new nconf configuration utility has appeared.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-01 12:26:49 +02:00
Peter Korsgaard
3435c1afb5 kconfig: implement KCONFIG_PROBABILITY for rand{,package}config
rand{,package}config enables configuration options with 50% probability,
which isn't always what we want in BR (because the "big" configs take a
long time to build and limits the chance of a randconfig detecting a
missing dependency), so introduce a KCONFIG_PROBABILITY environment
variable to tweak the probability between 0 (all options off) and 100
(all options on).

To use, simply set the environment variable before running make or pass
it on the make command line - E.G.

make randpackageconfig KCONFIG_PROBABILITY=10

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-23 14:27:30 +02:00
Peter Korsgaard
7705e6e415 kconfig: make rand{,package}config fair
Give each boolean symbol a 50% chance of getting enabled, rather than 67%.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 14:17:51 +02:00
Peter Korsgaard
b8cca06b50 cleanup/simplify kconfig changes for O= builds
No functional change.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21 22:11:31 +02:00
Will Wagner
39ca6d50d8 Move config files into output directory for out-of-tree build
Closes #1213

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21 22:06:00 +02:00
Thomas Petazzoni
c0727fd319 kconfig: fix oldconfig to generate .config.cmd
Since the recent update of Kconfig to the Kconfig infrastructure found
in 2.6.30 kernels, make oldconfig was broken because it didn't
generate the .config.cmd file. This is done by a call to the
conf_write_autoconf() function.

Moreover, this process was also broken because the
conf_get_autoconfig_name() function was reading the environment
variable BUILDROOT_AUTOCONF while the main Makefile is passing it as
KCONFIG_AUTOCONFIG. We also remove the fallback on
"$(BR2_DEPENDS_DIR)/config/auto.conf" since we are not able to expand
BR2_DEPENDS_DIR at this point. Therefore, the KCONFIG_AUTOCONFIG
envionment variable *must* be set.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-03 10:07:54 +02:00
Alper Yildirim
4b3e11b3e7 config: Update package/config to Kconfig 2.6.30
Update the package/config stuff with the code available in the Linux
kernel 2.6.30.

Signed-off-by: Alper Yildirim <ayildirim@aselsan.com>
2009-07-27 16:06:50 +02:00
Peter Korsgaard
e2c32ba54b package/config: rebase from upstream (2.6.24.4)
From Bernhards tree (1af211ea)
2008-06-19 08:11:51 +00:00
Peter Korsgaard
1b6f2e0f4c package/config: rebase from upstream (2.6.23.14)
From Bernhards tree (2737cfdd)
2008-06-19 08:11:43 +00:00
Bernhard Reutner-Fischer
f5b8cd4ac1 - add a version and display it in the configuration 2007-09-25 11:37:31 +00:00
Bernhard Reutner-Fischer
54cf1e72f4 - search env for BUILDROOT_CONFIG for use as a config file; defaults to .config 2007-09-23 14:12:58 +00:00
Bernhard Reutner-Fischer
9952cfa5c4 - revert r19825. Fix this in the kernel instead and read README.buildroot2 2007-09-12 07:05:52 +00:00
Ulf Samuelsson
0c1a521ce5 Watching all the warnings on package/config finally got to me.
A patch that clears the gcc warnings from config with cast changes only.
 
 thanks, I feel better now,

Rick Foos <rick@synchromeshcomputing.com>
2007-09-12 05:56:42 +00:00
Bernhard Reutner-Fischer
f987b7a541 - silence a cosmetic warning (closes several issues in mantis).
This also provides a nice up-to-date filestamp if something got reconfigured (e.g. c++ support got toggled) that can be used in the future to depend accordingly.
2007-07-08 00:00:17 +00:00
Bernhard Reutner-Fischer
ed438a4f58 - forgot to write out the .config.cmd 2007-07-02 14:35:11 +00:00
Bernhard Reutner-Fischer
2d8b8c15fe - fix make defconfig (Rick Foos) 2007-06-28 22:38:48 +00:00
Bernhard Reutner-Fischer
543a89568e - make it compile with a C89 compiler 2007-06-28 11:53:59 +00:00
Bernhard Reutner-Fischer
a665ed3496 - pull kconfig from linux-2.6.21.5 2007-06-28 10:46:19 +00:00
Mike Frysinger
4b186393b4 david_bachelart writes in Bug 181: make defconfig is trying to find "defconfig" file instead of ".defconfig" 2005-08-28 08:17:15 +00:00
Eric Andersen
e3ba99bc58 put back support for generating .config.cmd 2005-08-03 03:09:02 +00:00
Eric Andersen
273175d0d3 update kbuild system 2005-08-02 00:57:33 +00:00
Eric Andersen
d47108caf6 Fix /http://bugs.uclibc.org/view.php?id=134
The configuration utility in package/config/ can look for a default
configuration file called 'defconfig' but it's hard coded to look for
sysdeps/linux/defconfig.

This patch causes the config utility to look in the current working directory
for the 'defconfig' file. I use this to provide a default configuration to a
new buildroot environment. This way, I can 'svn co' buildroot, copy my
defconfig, then make defconfig to use my own default configuration.

This fix only changes one line in the confdata.c file to remove the legacy path
that was used in Linux, and not needed in buildroot.
2005-03-09 17:39:38 +00:00
Eric Andersen
2d523c2317 Major buildroot facelift, step one.
-Erik
2004-10-09 01:06:03 +00:00