Andres Salomon
2f4b489b77
kconfig: use getopt() in conf.c for handling command line arguments
...
Switch from doing our own parsing of command line arguments to
using getopt(3) to do it. Aside from simplifying things, this allows us to
specify multiple arguments; the old code could only accept two arguments
(input_mode and kconfig name).
Note some subtle changes:
- The argument '-?' is no longer supported.
- '-h' is not treated as an error, so output goes to stdout, and we
exit with '0'.
- There is no compatibility checking amongst arguments; the last option
will simply override earlier options. For example, 'conf -n -y foo'
is perfectly valid now (input_mode will be set_yes). Previously, that
would have been an error ("can't find file -y").
Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
2008-01-28 23:14:36 +01:00
..
basic
kernel-doc: new P directive for DOC: sections
2008-01-28 23:14:35 +01:00
genksyms
kbuild: apply genksyms changes
2007-10-12 21:15:31 +02:00
kconfig
kconfig: use getopt() in conf.c for handling command line arguments
2008-01-28 23:14:36 +01:00
ksymoops
mod
kbuild: fix a buffer overflow in modpost
2008-01-28 23:14:36 +01:00
package
kbuild: make deb-pkg - add 'Provides:' line
2007-10-18 15:15:53 +02:00
rt-tester
.gitignore
[PATCH] Add unifdef to gitignore
2006-10-02 19:46:55 -07:00
bin2c.c
binoffset.c
bloat-o-meter
fix bloat-o-meter for ppc64
2007-12-17 19:28:17 -08:00
checkincludes.pl
checkkconfigsymbols.sh
kbuild: script to check for undefined Kconfig symbols
2007-10-12 21:13:50 +02:00
checkpatch.pl
update checkpatch.pl to version 0.12
2007-11-29 09:24:51 -08:00
checkstack.pl
Merge branch 'master' of hera.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6
2007-10-20 20:19:15 -07:00
checksyscalls.sh
i386/x86_64: move headers to include/asm-x86
2007-10-11 11:20:03 +02:00
checkversion.pl
cleanfile
scripts: Make cleanfile/cleanpatch warn about long lines
2007-07-16 21:15:50 +02:00
cleanpatch
scripts: Make cleanfile/cleanpatch warn about long lines
2007-07-16 21:15:50 +02:00
conmakehash.c
decodecode
doc/oops-tracing: add Code: decode info
2007-07-16 09:05:48 -07:00
export_report.pl
kbuild: fix perl usage in export_report.pl
2007-10-12 21:13:50 +02:00
extract-ikconfig
gcc-version.sh
kbuild: improve scripts/gcc-version.sh output a bit when called without args
2007-10-12 21:15:30 +02:00
gcc-x86_64-has-stack-protector.sh
[PATCH] Add the -fstack-protector option to the CFLAGS
2006-09-26 10:52:39 +02:00
gen_initramfs_list.sh
kbuild: add support for squashing uid/gid in gen_initramfs_list.sh
2007-07-16 21:15:52 +02:00
hdrcheck.sh
Use dependencies for 'make headers_install'.
2006-09-24 22:15:14 +01:00
kallsyms.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
2007-07-19 14:28:19 -07:00
Kbuild.include
kbuild: introduce cc-cross-prefix
2007-10-19 21:46:01 +02:00
kernel-doc
kernel-doc: process functions, not DOC:
2008-01-28 23:14:35 +01:00
Lindent
Fix Lindent to not indent preprocessor comments so far
2007-07-20 08:45:38 -07:00
Makefile
[PATCH] allow /proc/config.gz to be built as a module
2006-10-01 00:39:20 -07:00
Makefile.build
kbuild: implement modules.order
2008-01-28 23:14:35 +01:00
Makefile.clean
kbuild: kill backward compatibility checks
2007-10-12 21:20:32 +02:00
Makefile.headersinst
kbuild: use POSIX BRE in headers install target
2007-07-17 14:24:55 +02:00
Makefile.host
kbuild: enable use of code from a different dir
2007-05-06 09:23:45 +02:00
Makefile.lib
kbuild: implement modules.order
2008-01-28 23:14:35 +01:00
Makefile.modinst
Makefile.modpost
kbuild: use LDFLAGS_MODULE only for .ko links
2007-07-25 21:18:19 +02:00
makelst
kbuild: introduce ccflags-y, asflags-y and ldflags-y
2007-10-15 22:25:06 +02:00
mkcompile_h
kbuild: override build timestamp & version
2007-05-02 20:58:09 +02:00
mkmakefile
kbuild: re-enable Makefile generation in a new O=... directory
2007-12-13 19:19:20 +01:00
mksysmap
mkuboot.sh
kbuild/mkuboot.sh: allow spaces in CROSS_COMPILE
2007-05-02 20:58:10 +02:00
mkversion
namespace.pl
x86: fixup the x86 namespace change in scripts/namespace.pl
2007-10-11 17:56:02 +02:00
patch-kernel
pnmtologo.c
profile2linkerlist.pl
setlocalversion
kbuild: append -dirty for updated but uncommited changes
2006-06-17 00:08:17 +02:00
show_delta
unifdef.c
kbuild: replace use of strlcpy with a dedicated implmentation in unifdef
2006-09-25 09:00:00 +02:00
ver_linux
kbuild: scripts/ver_linux : correct printing of binutils version
2007-10-12 21:15:31 +02:00