aboutsummaryrefslogtreecommitdiff
path: root/kconfig
Commit message (Collapse)AuthorAgeFilesLines
* kconfig: allow stdin/stdout redirectionYann E. MORIN"2009-09-081-4/+4
| | | | | | | Allow stdin/stdout redirection for the CLI conf (not mconf). This allows to recall a sample and automatically apply the defaults to new configuration option, with something like the following: yes "" |ct-ng "sample_name"
* Under Cygwin, executables have the .exe suffix:Yann E. MORIN"2009-03-091-1/+1
| | | | | | | - cleanup conf.exe and mconf.exe as well as their non-.exe counterparts. /trunk/kconfig/kconfig.mk | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Update the kconfig stuff from git.kernel.org.Yann E. MORIN"2009-03-061-2/+5
| | | | | | | Commit 7826005e5a53645d7aab7c13eda76126eadebf0b /trunk/kconfig/lex.zconf.c | 7 5 2 0 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
* Update the kconfig stuff from git.kernel.org.Yann E. MORIN"2009-03-061-10/+30
| | | | | | | Commit cf82607a904d3b2ed3d66f8799f00d1099c1849c /trunk/kconfig/expr.h | 40 30 10 0 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-)
* Update the kconfig stuff from git.kernel.org.Yann E. MORIN"2009-03-061-16/+18
| | | | | | | Commit 5b2cf365a8e9bbf781939e941ed548c9743fdeea /trunk/kconfig/expr.h | 34 18 16 0 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-)
* Update the kconfig stuff from git.kernel.org.Yann E. MORIN"2009-03-061-2/+6
| | | | | | | Commit eaa2a87460eca27ce725d63bbcf3b2da053828b7 /trunk/kconfig/expr.h | 8 6 2 0 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
* Update the kconfig stuff from git.kernel.org.Yann E. MORIN"2009-03-041-1/+1
| | | | | | | Commit f6682f915760ccfe57ef1b6cd5ff2d8f2bf8c1d4 /trunk/kconfig/lxdialog/check-lxdialog.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Update the kconfig stuff from git.kernel.org.Yann E. MORIN"2009-03-041-2/+1
| | | | | | | Commit ce97e13e52848c6388598696b7d44748598db759 /trunk/kconfig/confdata.c | 3 1 2 0 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
* Use the paths found by ./configure in the ct-ng.in makefile script and its ↵Yann E. MORIN"2009-01-261-1/+1
| | | | | | | | | | fragments. /trunk/kconfig/kconfig.mk | 2 1 1 0 +- /trunk/samples/samples.mk | 18 9 9 0 +++++++++--------- /trunk/config/config.mk | 10 5 5 0 +++++----- /trunk/ct-ng.in | 22 13 9 0 +++++++++++++--------- 4 files changed, 28 insertions(+), 24 deletions(-)
* Make the kconfig stuff build under Cygwin.Yann E. MORIN"2008-11-302-25/+26
| | | | | | /trunk/kconfig/kconfig.mk | 7 5 2 0 ++++-- /trunk/kconfig/lxdialog/check-lxdialog.sh | 44 21 23 0 ++++++++++++++++++------------------- 2 files changed, 26 insertions(+), 25 deletions(-)
* Merge 1199 and 1200 from /devel/YEM-build_host_target_cleanup:Yann E. MORIN"2008-11-131-2/+8
| | | | | | | | | - Allow hand-indentation in the kconfig prompts - Start documenting the kconfig deviations from the kernel's version /trunk/kconfig/menu.c | 10 8 2 0 ++++++++-- /trunk/docs/overview.txt | 6 6 0 0 ++++++ 2 files changed, 14 insertions(+), 2 deletions(-)
* Enhance the kconfig stuff build procedure:Yann E. MORIN"2008-10-221-44/+66
| | | | | | | | | | | - better allocate CFLAGS/LDFLAGS to object and dependency files - only include the needed dependency files - cleanly handle the kconfig/ check and creation - use HOST_LD to link, not HOST_CC (even if both are set to 'gcc' for now) - get rid of defoldconfig, it does not make much sense using it. /trunk/kconfig/kconfig.mk | 110 66 44 0 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 66 insertions(+), 44 deletions(-)
* Avoid (re)building the kconfig dependencies when we don't need them (clean, ↵Yann E. MORIN"2008-10-191-4/+20
| | | | | | | build, list-steps...). /trunk/kconfig/kconfig.mk | 24 20 4 0 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-)
* Extract the config files related stuff from the kconfig stuffYann E. MORIN"2008-10-181-172/+12
| | | | | | | | | | | | | | - create config/config.mk, with all the config.gen/ rules - the only common points between config files and configurators: - the top-level config file to include, stored in KCONFIG_TOP - the config_file rules, which makes config files available to configurators - dependency-files are renamed from %.d to %.dep (.d is reserved for directories) - a few eye-candy here and there /trunk/kconfig/kconfig.mk | 184 12 172 0 +++-------------------------------------------------- /trunk/config/config.mk | 118 9 109 0 +++------------------------------- /trunk/ct-ng.in | 1 1 0 0 + 3 files changed, 22 insertions(+), 281 deletions(-)
* Update the kconfig stuff to match the one in the linux-2.6.27 version.Yann E. MORIN"2008-10-1723-1285/+1758
| | | | | | | | | | | | | | | | | | | | | | | | | | | /trunk/kconfig/zconf.hash.c | 225 110 115 0 +++---- /trunk/kconfig/lkc_proto.h | 4 3 1 0 + /trunk/kconfig/mconf.c | 217 110 107 0 +++--- /trunk/kconfig/menu.c | 86 60 26 0 ++- /trunk/kconfig/symbol.c | 212 156 56 0 ++++-- /trunk/kconfig/kconfig.mk | 24 9 15 0 - /trunk/kconfig/lex.zconf.c | 97 80 17 0 ++- /trunk/kconfig/util.c | 38 30 8 0 + /trunk/kconfig/lkc.h | 22 18 4 0 + /trunk/kconfig/expr.c | 32 19 13 0 + /trunk/kconfig/confdata.c | 254 172 82 0 +++++--- /trunk/kconfig/lxdialog/dialog.h | 12 9 3 0 + /trunk/kconfig/lxdialog/inputbox.c | 6 3 3 0 /trunk/kconfig/lxdialog/checklist.c | 4 2 2 0 /trunk/kconfig/lxdialog/menubox.c | 6 3 3 0 /trunk/kconfig/lxdialog/textbox.c | 2 1 1 0 /trunk/kconfig/lxdialog/util.c | 47 30 17 0 + /trunk/kconfig/lxdialog/yesno.c | 4 2 2 0 /trunk/kconfig/expr.h | 20 10 10 0 /trunk/kconfig/zconf.tab.c | 1441 793 648 0 ++++++++++++++++++++++++------------------- /trunk/kconfig/conf.c | 276 124 152 0 ++++---- /trunk/kconfig/check-gettext.sh | 14 14 0 0 + /trunk/ct-ng.in | 2 1 1 0 23 files changed, 1759 insertions(+), 1286 deletions(-)
* Fix oldconfig and defoldconfig.Yann E. MORIN"2008-10-171-2/+2
| | | | | | | Thanks Thomas Petazzoni for noticing the breakage. /trunk/kconfig/kconfig.mk | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* Cheesy kconfig stuff:Yann E. MORIN"2008-10-151-54/+88
| | | | | | | | | | | | | | | | | | | | | - silent/quiet/verbose build: - ct-ng by default only prints quit messages, such as "CC xxx", - if using V=0, nothing is printed, - if using V=1, the full command lines are printed, - other values are indeterminate, - should help in debugging the kconfig stuff; - complete kconfig/{,m}conf generation: - fully dynamic dependencies on source files, - compilation of .c into .o, then linking (instead of direct linking), - VPATH usage when not --local; Typo + a coment moved. /trunk/kconfig/kconfig.mk | 140 87 53 0 +++++++++++++++++++++++++++++++++-------------------- /trunk/tools/tools.mk | 12 6 6 0 ++-- /trunk/steps.mk | 6 3 3 0 +- /trunk/samples/samples.mk | 30 15 15 0 +++++----- /trunk/ct-ng.in | 40 28 12 0 +++++++++++---- 5 files changed, 139 insertions(+), 89 deletions(-)
* Rework the kconfig stuffYann E. MORIN"2008-10-141-60/+100
| | | | | | | | | | - better handle config file generation dependencies - get rid of CT_TOP_DIR where useless - rearrange code to be cleaner, and add adequate '#----' comments to split the different parts - a few eye-candy here and there /trunk/kconfig/kconfig.mk | 158 99 59 0 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 99 insertions(+), 59 deletions(-)
* No one sane would you 'ct-ng config' to configure crosstool-NG.Yann E. MORIN"2008-10-131-6/+2
| | | | | | | | Remove this useless rule. /trunk/kconfig/kconfig.mk | 8 2 6 0 ++------ /trunk/ct-ng.comp | 2 1 1 0 +- 2 files changed, 3 insertions(+), 7 deletions(-)
* Generate the choice menu for C compilers, the same way arch, kernels and C ↵Yann E. MORIN"2008-10-131-0/+6
| | | | | | | | | libraries are generated. /trunk/kconfig/kconfig.mk | 6 6 0 0 ++++++ /trunk/config/cc/gcc.in | 13 13 0 0 +++++++++++++ /trunk/config/cc.in | 31 3 28 0 +++---------------------------- 3 files changed, 22 insertions(+), 28 deletions(-)
* Generate the choice menu for C libraries, the same way arch and kernels are ↵Yann E. MORIN"2008-10-131-2/+8
| | | | | | | | | | | | generated. /trunk/kconfig/kconfig.mk | 10 8 2 0 ++++++-- /trunk/scripts/build/libc/glibc.sh | 2 1 1 0 +- /trunk/config/libc/glibc.in | 22 6 16 0 +++++------------- /trunk/config/libc/uClibc.in | 7 6 1 0 +++++- /trunk/config/libc/eglibc.in | 12 11 1 0 +++++++++- /trunk/config/libc.in | 53 4 49 0 +++----------------------------------------- 6 files changed, 36 insertions(+), 70 deletions(-)
* In generated choice menus, move the selection options outside the choice menu.Yann E. MORIN"2008-10-121-25/+35
| | | | | | | /trunk/kconfig/kconfig.mk | 60 35 25 0 +++++++++++++++++++++++++++++++---------------------- /trunk/config/kernel.in | 6 0 6 0 ----- /trunk/config/target.in | 6 0 6 0 ----- 3 files changed, 35 insertions(+), 37 deletions(-)
* Simplify the Tools and Debug facilities menu entries:Yann E. MORIN"2008-10-101-23/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym - each build script no longer has to say wether they are enabled - generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code Some re-ordering of the code to be consistent with the steps ordering (tools, then debug). /trunk/kconfig/kconfig.mk | 66 43 23 0 +++++++++++++++++++++++------------- /trunk/scripts/build/debug.sh | 14 9 5 0 +++++--- /trunk/scripts/build/tools/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/tools/100-libelf.sh | 3 0 3 0 -- /trunk/scripts/build/tools/200-sstrip.sh | 2 0 2 0 - /trunk/scripts/build/debug/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/debug/100-dmalloc.sh | 3 0 3 0 -- /trunk/scripts/build/debug/400-ltrace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/300-gdb.sh | 3 0 3 0 -- /trunk/scripts/build/debug/500-strace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/200-duma.sh | 3 0 3 0 -- /trunk/scripts/build/tools.sh | 14 9 5 0 +++++--- /trunk/scripts/crosstool.sh | 2 1 1 0 /trunk/config/debug/ltrace.in | 14 3 11 0 ++------ /trunk/config/debug/dmalloc.in | 9 1 8 0 +---- /trunk/config/debug/gdb.in | 9 1 8 0 +---- /trunk/config/debug/strace.in | 10 1 9 0 ----- /trunk/config/debug/duma.in | 10 1 9 0 ----- /trunk/config/tools/libelf.in | 12 2 10 0 +------ /trunk/config/tools/sstrip.in | 10 1 9 0 ----- /trunk/config/config.in | 4 2 2 0 +- 21 files changed, 74 insertions(+), 134 deletions(-)
* Commonalise config.gen/{arch,kernel}.in generation.Yann E. MORIN"2008-10-091-42/+34
| | | | | /trunk/kconfig/kconfig.mk | 76 34 42 0 ++++++++++++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 42 deletions(-)
* Separate the architecture config file and function script.Yann E. MORIN"2008-10-051-23/+23
| | | | | | | /trunk/kconfig/kconfig.mk | 46 23 23 0 +++++++++++++++++++++++----------------------- /trunk/scripts/crosstool.sh | 2 1 1 0 +- /trunk/docs/overview.txt | 28 11 17 0 +++++++++++----------------- 3 files changed, 35 insertions(+), 41 deletions(-)
* First shot at moving arch/ into config/arch/ .Yann E. MORIN"2008-10-031-2/+2
| | | | | /trunk/kconfig/kconfig.mk | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* Save the toolchain configuration to its own file, as an auto-extracting ↵Yann E. MORIN"2008-10-011-7/+2
| | | | | | | | | | | | | | | | shell script: - get rid of the 'extractconfig' action, it was cumbersome to use, and badly documented, - introduce a skeleton for the config script, - update auto-completion, - document the config script. /trunk/kconfig/kconfig.mk | 9 2 7 0 ++------- /trunk/scripts/crosstool.sh | 6 5 1 0 +++++- /trunk/docs/overview.txt | 21 9 12 0 +++++++++------------ /trunk/tools/toolchain-config.in | 8 8 0 0 ++++++++ /trunk/ct-ng.comp | 2 1 1 0 +- 5 files changed, 25 insertions(+), 21 deletions(-)
* Rework the way EXPERIMENTAL architecture are marked as such, the same way ↵Yann E. MORIN"2008-09-291-22/+22
| | | | | | | | | | | kernels are handeld. Fix marking EXPERIMENTAL kernel when using --prefix. /trunk/kconfig/kconfig.mk | 44 22 22 0 ++++++++++++++++++++++---------------------- /trunk/arch/ia64/config.in | 1 1 0 0 + /trunk/arch/sh/config.in | 1 1 0 0 + 3 files changed, 24 insertions(+), 22 deletions(-)
* Rework the way EXPERIMENTAL kernels are marked as such.Yann E. MORIN"2008-09-291-26/+25
| | | | | | | /trunk/kconfig/kconfig.mk | 51 25 26 0 ++++++++++++++++++++++---------------------- /trunk/docs/overview.txt | 47 47 0 0 +++++++++++++++++++++++++++++++++++++++++ /trunk/config/kernel/bare-metal.in | 1 1 0 0 + 3 files changed, 73 insertions(+), 26 deletions(-)
* Don't remove files that are no longer generated whne cleaning in kconfig/ .Yann E. MORIN"2008-09-281-1/+0
| | | | | /trunk/kconfig/kconfig.mk | 1 0 1 0 - 1 file changed, 1 deletion(-)
* Simplify conf and mconf generation. We don't care for the _shipped stuff.Yann E. MORIN"2008-09-284-4/+0
| | | | | /trunk/kconfig/kconfig.mk | 4 0 4 0 ---- 1 file changed, 4 deletions(-)
* Fix generated debug.in and tools.in (xlcwu <xlcwu.taiwan@gmail.com>).Yann E. MORIN"2008-09-281-4/+4
| | | | | | | Some cosmetics at the same time. /trunk/kconfig/kconfig.mk | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* Generate the kernel config choice, rather than having it hard-coded:Yann E. MORIN"2008-09-161-38/+83
| | | | | | | | | | | | | | | | | - change the menu label from 'Target OS' to 'Operating System', - bare-metal is a kind of kernel (OS), rename to 'bare-metal' from 'none', - update the kconfig.mk to generate the kernel choice entries, - update glibc&eglibc kernel version option accordingly. Update the debug & tools confiog file generation to match with arch & kernel. Print terse command lines when building in kconfig/ (a-la Linux kernel). Fix the makefile rules in kconfig/kconfig.mk to be /simple/ rules. /trunk/kconfig/kconfig.mk | 117 81 36 0 +++++++++++++++++++++---------- /trunk/config/kernel/linux.in | 4 4 0 0 + /trunk/config/kernel/bare-metal.experimental.in | 15 15 0 0 ++++ /trunk/config/kernel.in | 33 5 28 0 +-------- /trunk/config/libc/glibc-eglibc-common.in | 4 2 2 0 5 files changed, 107 insertions(+), 66 deletions(-)
* Don't advertise 'xconfig' as a config rule.Yann E. MORIN"2008-09-161-1/+1
| | | | | /trunk/kconfig/conf.c | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Fix architecture config file make rules.Yann E. MORIN"2008-09-151-1/+1
| | | | | /trunk/kconfig/kconfig.mk | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Rebuild the kconfig stuff on kconfig source change.Yann E. MORIN"2008-08-301-2/+12
| | | | | /trunk/kconfig/kconfig.mk | 14 12 2 0 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-)
* Michael ABBOTT reported that Ubuntu had problems running menuconfig.Yann E. MORIN"2008-07-221-2/+2
| | | | | | | Turned out that a POSIX script shell was in fact not POSIX: == does not check for equality, -eq does. /trunk/kconfig/lxdialog/check-lxdialog.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* Although working with bash, 'echo -n' is really non-portable.Yann E. MORIN"2008-07-071-1/+1
| | | | | | | | | | Get rid of this by using printf(1) with no trailing new-line (\n). Again, thanks to Martin GUY, who pointed this issue. /trunk/kconfig/kconfig.mk | 2 1 1 0 /trunk/scripts/build/libc_uClibc.sh | 4 3 1 0 ++ /trunk/scripts/showSamples.sh | 78 39 39 0 +++++++++++++++++++++--------------------- 3 files changed, 43 insertions(+), 41 deletions(-)
* Autogenerate the architecture selection choice menu.Yann E. MORIN"2008-06-271-3/+29
| | | | | | | | | | | | | | | | | | | Update architectures definition files accordingly. Update documentation accordingly. Use makefile syntax when listing arch/, tools/ and debug/ config files. /trunk/kconfig/kconfig.mk | 32 29 3 0 +++++++++++++++-- /trunk/docs/overview.txt | 75 67 8 0 +++++++++++++++++++++++++++++++++++---- /trunk/config/target.in | 94 16 78 0 ++++++++----------------------------------------- /trunk/arch/arm/config.in | 6 5 1 0 +++ /trunk/arch/powerpc/config.in | 2 2 0 0 + /trunk/arch/ia64/config.in | 4 4 0 0 ++ /trunk/arch/alpha/config.in | 2 1 1 0 /trunk/arch/x86/config.in | 3 3 0 0 ++ /trunk/arch/mips/config.in | 5 5 0 0 +++ /trunk/arch/sh/config.in | 4 3 1 0 ++ /trunk/arch/x86_64/config.in | 3 3 0 0 ++ 11 files changed, 138 insertions(+), 92 deletions(-)
* Don't use /bin/sh for crosstool-NG build scripts, we want /bin/bash!Yann E. MORIN"2007-09-122-1/+2
| | | | Don't hardcode ncurses include and link flags.
* In a directory previously used as CT_TOP_DIR, when using a new version, ↵Yann E. MORIN"2007-09-081-1/+1
| | | | | | ct-ng will fail to create the symlink to the new config files. Fix that by forcing creation of the symlink, even if it already exists and points to a previous location.
* Add the possibility to force the number of // jobs without reconfiguring.Yann E. MORIN"2007-08-151-5/+5
|
* Re-instate the --local configure switch to not install and use the local ↵Yann E. MORIN"2007-07-221-5/+3
| | | | crosstool-NG copy.
* Revisit the extract-config way of working: ct-ng is the sole entry point to ↵Yann E. MORIN"2007-07-171-2/+8
| | | | crosstool-NG, and ct-ng.extrac-config no longer exists. You now have to call "ct-ng extractconfig </path/to/your/build.log" instead.
* Rename all Makefiles used by ct-ng into (something).mk, to avoid confusion.Yann E. MORIN"2007-07-151-0/+0
|
* Fix distclean.Yann E. MORIN"2007-07-151-1/+1
|
* Make distclean work again: don't try to remove a directory twice.Yann E. MORIN"2007-07-081-1/+0
|
* Clean a little bit more.Yann E. MORIN"2007-07-071-0/+2
|
* Get rid of eclipse fiels once and for all.Yann E. MORIN"2007-07-021-1/+1
| | | | | | | | | Homogenise the references to crosstool-NG: - the project is named "crosstool-NG" - the front-end is named "ct-ng" - don't use shortcuts (such as "ct-ng" to stand for "crosstool-NG") Default action is to print help. Don't speak of make rules when dumping help, just speak of actions.
* Merge the build system to trunk: ct-ng is now installable:Yann E. MORIN"2007-07-011-21/+41
| | | | | | | | - ./configure --prefix=/some/place - make - make install - export PATH="${PATH}:/some/place/bin" - ct-ng <action>