Commit Graph

49 Commits

Author SHA1 Message Date
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
Thomas Petazzoni
33f13e393f kconfig: tell git to ignore new generated files
The update of kconfig and the addition of xconfig support generates
more files in package/config/. Tell git to ignore them.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-30 17:39:47 +02:00
Thomas Petazzoni
6cd6353ff9 xconfig: Save the configuration properly in qconf
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-27 16:07:05 +02:00
Thomas Petazzoni
69f982cdad xconfig: Change titlebar to Buildroot Configuration
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-27 16:07:04 +02:00
Alper Yildirim
b0df9df39a config: Add support for xconfig
It involved:

 * Modifying the top-level Makefile to create the xconfig target, and
   the $(CONFIG)/qconf target to compile the qconf utility

 * Modifying the package/config/Makefile magic so that C++ files and
   binaries gets linked properly, re-using the
   package/config/Makefile.kconfig logic inherited from the kernel

 * Hacking a little bit package/config/Makefile.kconfig in a way
   similar to the modifications done for the mconf (menuconfig
   interface)

Signed-off-by: Alper Yildirim <ayildirim@aselsan.com>
2009-07-27 16:07:00 +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
angus salkeld
9cdff46ba0 Add .gitignore files
[peter: add /.config]

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 21:46:53 +02:00
Peter Korsgaard
0dc552c134 menuconfig: don't prepend CONFIG_ to symbols in help text 2008-12-13 11:52:54 +00:00
Peter Korsgaard
50548330b4 kconfig: only warn about long help lines, not other types of lines
We have some pretty long depends / default y|n lines in BR, which it
shouldn't complain about.
2008-10-16 19:28:23 +00:00
Peter Korsgaard
af06d81be3 kconfig: warn about overlong lines in help-texts
From busybox r22852.
2008-08-27 20:18:33 +00:00
Peter Korsgaard
9991e8c7fb package/config: add gettext helper
From Bernhards tree (2b693d78)
2008-06-19 19:06:08 +00: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
Peter Korsgaard
2c2796719a package/config: cygwin fix
- pass HOST_LOADLIBES down to make mconf for cygwin
- fix link-order WRT HOST_LOADLIBES

From Bernhards tree (91018d95)
2008-06-19 08:11:35 +00:00
Bernhard Reutner-Fischer
e6382c49a4 - pull "kconfig: oldconfig shall not set symbols if it does not need to" 2007-09-29 20:21:38 +00:00
Bernhard Reutner-Fischer
c907326465 - forgot to svn add kconfig-language.txt 2007-09-29 20:08:22 +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
1fc2723ca9 - add the $(BASE_TARGETS) per default 2007-09-23 20:46:44 +00:00
Bernhard Reutner-Fischer
28a36b609a - thinking loud about auto-generating dependencies for make(1)
Don't use this, it doesn't work yet. Thoughs welcome.
  Like: We should probably use the sym->text and not fiddle with the name since
  the name looses information ('_' != '-' in host-fakeroot). This would not
  be too robust, i fear, since the name can contain additional, arbitrary info.
  Also, the real 'depends' are a little bit ugly in kconfig. There doesn't seem
  to be a nice property that holds reverse deps that are only contain selected
  symbols.
  Thoughts?
2007-09-23 20:28:53 +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
0d888e3677 - pull kbuild from 2.6.22.7. This should fix the ncurses detection for dylib et al 2007-09-23 14:06:59 +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
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
153b1beaeb - fix building mconf with curses flags
- make sure to rm .config when the first 'make menuconfig' was interrupted and thus no .config.cmd was created.
2007-07-27 12:37:30 +00:00
Bernhard Reutner-Fischer
699b63b8c4 - no features with Apple Inc. (Heikki Lindholm) 2007-07-24 18:20:46 +00:00
"Steven J. Hill"
62b5ae4b66 Fix INITRAMFS target that was broken. Get rid of config stuff out of the top-level directory. Finally fix Linux kernel module building such that modules are built and installed first followed by rest of packages. This allows for packages to build external Linux kernel modules. 2007-07-18 18:07:19 +00:00
Bernhard Reutner-Fischer
8fce4ba864 - pretty print path for brevity 2007-07-08 00:18:51 +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
c79018c5ef - mention from which version this copy of kconfig comes from (redundant since i noted it already in the checkin message, but ok). 2007-07-07 18:17:41 +00:00
"Steven J. Hill"
6f59d3ce32 Remove more stuff during 'make distclean'. 2007-07-06 04:58:01 +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
efd4bd9a6e - rm some old files 2007-06-28 13:06:21 +00:00
Bernhard Reutner-Fischer
7dde1b9e71 - respin whole patch for the sake of simplicity 2007-06-28 12:11:12 +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
Eric Andersen
dea2c12405 use '/bin/echo -e' to make certain we don't use an unusable /bin/sh builtin 2006-12-08 05:23:08 +00:00
Bernhard Reutner-Fischer
c3c100b63f - list defaults for BR2_GNU_TARGET_SUFFIX in help text
- fix a few typos
2006-07-04 11:44:32 +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
Mike Frysinger
da163069d8 grab some static updates from linux-2.6 git to fix gcc4 build errors as reported by Khem Raj 2005-07-28 22:27:27 +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
2e9a20f61c gtj writes in http://bugs.uclibc.org/view.php?id=55
The version of mconf used by buildroot doesn't handle "menuconfig" correctly.
Instead of displaying the proper submenu, it just displays the menuconfig
option itself again.

This patch adds the proper code to mconf. Only 6 lines of code.
2005-02-25 02:32:25 +00:00
Eric Andersen
8f144a058a remove obsolete .cvsignore file 2005-02-11 18:49:30 +00:00
Eric Andersen
d06645d8ed There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
2005-02-10 03:06:39 +00:00
Eric Andersen
f694016136 final step in buildroot facelift 2004-10-09 06:13:40 +00:00
Eric Andersen
2d523c2317 Major buildroot facelift, step one.
-Erik
2004-10-09 01:06:03 +00:00