26 Dec, 2005
2 commits
-
Commandlines are contained in the ..cmd files and in case they
contain a '#' char make see this as start of comment.
Teach fixdep to escape the '#' char so make will assing the full commandline.Signed-off-by: Sam Ravnborg
-
This is the patch for the following issue:
In include/linux/module.h, "__crc_" and "__ksymtab_" are hard
coded to be the prefix for some kinds of symbols (CRC symbol and
ksymtab section). But in script /mod/modpost.c,
MODULE_SYMBOL_PREFIX##"__crc_" is used as the prefix to search CRC
symbols. So if an architecture (such as h8300 or Blackfin) defines
MODULE_SYMBOL_PREFIX as not NULL ("_"), modpost will always warn about
"no invalid crc".
And it is the same with KSYMTAB_PFX.Signed-off-by: Luke Yang
Signed-off-by: Sam Ravnborg
17 Dec, 2005
1 commit
-
The only lxdialog user i kconfig - for menuconfig.
So move it to reflect this.Signed-off-by: Sam Ravnborg
22 Nov, 2005
1 commit
-
menu lines wrapped over too lines when too long - truncate them.
Also fixed a coding style issueSigned-off-by: Sam Ravnborg
21 Nov, 2005
3 commits
-
Utilising a small macro for print_item made wonders for readability
for this file.Signed-off-by: Sam Ravnborg
-
When using menuconfig in a text-only console (no X started)
the indention was often two spaces wrong. This proved to be a ncurses
issue which are worked around by calling wrefresh more often.Signed-off-by: Sam Ravnborg
-
Keeping menu lines on a fixed position creates less visual
noise when navigating the menus.Signed-off-by: Sam Ravnborg
20 Nov, 2005
4 commits
-
Simplify check for long title and use a helper function in util.c
Signed-off-by: Sam Ravnborg
-
Replacing a gcc idiom with malloc and deleting an unused global
variable made lxdialog sparse clean.Signed-off-by: Sam Ravnborg
-
Readability are more important then the 80 coloumn limit, so fold
several lines to greatly improve readability.
Also keep return type on same line as function definition.Signed-off-by: Sam Ravnborg
-
The lxdialog code was not easy to read. So as first step the code
was run through Lindent.
Fix-ups will come in next patchset.Signed-off-by: Sam Ravnborg
14 Nov, 2005
1 commit
-
Many structures contain both an internal part and one which is part of the API
to other modules. With this patch it is possible to only include these public
members in the kernel documentation.Signed-off-by: Martin Waitz
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 Nov, 2005
9 commits
-
Add some more checks during the parsing of .config, so that after parsing
sym_change_count reflects the correct state whether the .config is correct and
in sync with the Kconfig or if it needs saving.Signed-off-by: Roman Zippel
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add a few error tokens to the parser to catch common errors and print more
descriptive error messages.Signed-off-by: Roman Zippel
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This simplifies the parser a bit by merging the various symbol types into a
single token and adds the type to the keyword hash.Signed-off-by: Roman Zippel
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Use gperf to generate a hash for the kconfig keywords. This greatly reduces
the size of the generated scanner and makes it easier to extend kconfig.Signed-off-by: Roman Zippel
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Remove the long obsolete zconf.tab.h and fix kconfig make rules to generate
the correct output files. Setting LKC_GENPARSER will now also update the
shipped files.Signed-off-by: Roman Zippel
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This allows variable arguments in the range option for int and hex config
symbols.Signed-off-by: Roman Zippel
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Allow to force setting of config variables during all{no,mod,yes,random}config
to a specific value. For that conf first checks the KCONFIG_ALLCONFIG
environment variable for a file name, otherwise it checks for
all{no,mod,yes,random}.config and all.config. The file is a normal config
file, which presets the config variables, but they are still subject to normal
dependency checks.Signed-off-by: Roman Zippel
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The restart check whether new symbols became visible, didn't always work for
choice symbols. Even if a choice symbol itself isn't changable, the childs
are. This also requires to update the new status of all choice values, once
one of them is set.Signed-off-by: Roman Zippel
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
When doing its recursive dependency check, scripts/kconfig/conf uses the flag
SYMBOL_CHECK_DONE to avoid rechecking a symbol it has already checked.
However, that flag is only set at the top level, so if a symbol is first
encountered as a dependency of another symbol it will be rechecked every time
it is encountered until it's encountered at the top level.This patch adjusts the flag setting so that each symbol will only be checked
once, regardless of whether it is first encountered at the top level, or while
recursing down from another symbol. On complex configurations, this vastly
speeds up scripts/kconfig/conf. The config in the powerpc merge tree is
particularly bad: this patch reduces the time for 'scripts/kconfig/conf -o
arch/powerpc/Kconfig' by a factor of 40 on a G5. That's even including the
time to print the config, so the speedup in the actual checking is more likely
2 or 3 orders of magnitude.Signed-off-by: David Gibson
Signed-off-by: Roman Zippel
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
07 Nov, 2005
1 commit
-
A typo fix for fix-build-on-nls-free-systems.patch that caused all systems
to be detected as not having NLS.Signed-off-by: Yuri Vasilevski
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
06 Nov, 2005
1 commit
-
From: Than Ngo
qt as installed on fedora core (2 and 3) does not work with vanilla
kernel. The linker fails to locate the qt lib:Actual Results: # make xconfig
HOSTLD scripts/kconfig/qconf
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit statusThan Ngo has provided following fix for the bug.
Cc: Than Ngo
Acked-by: Dave Jones
Signed-off-by: Sam Ravnborg
31 Oct, 2005
2 commits
-
I made a patch that detects if libintl.h (needed for nls) is present on the
host system and if it's not, it nls support is disabled by providing
dummies for the used nls functions.This way if there is nls support on the host system the *config targets
will build according to Arnaldo Carvalho de Melo's i18n modifications, else
it just uses the original English messages.I have also made a bug report at kernel's bugzilla:
http://bugzilla.kernel.org/show_bug.cgi?id=5501
And there is a discussion about this problem in Gentoo's bugzilla:
http://bugs.gentoo.org/show_bug.cgi?id=99810Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add explicit text about
- where menuconfig '/' (search) searches for strings,
- that substrings are allowed, and
- that regular expressions are supported.Signed-off-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
29 Oct, 2005
1 commit
-
This is the start of adding hotplug-like support for i2c devices.
Signed-off-by: Greg Kroah-Hartman
18 Oct, 2005
1 commit
-
This still leaves driver and architecture-specific subdirectories alone,
but gets rid of the bulk of the "generic" generated files that we should
ignore.Signed-off-by: Linus Torvalds
26 Sep, 2005
1 commit
-
- Added a missing TO_NATIVE call to scripts/mod/file2alias.c:do_pcmcia_entry()
- Add an alignment attribute to struct pcmcia_device_no to solve an alignment
issue seen when cross-compiling on x86 for m68k.Signed-off-by: Kars de Jong
Signed-off-by: Dominik Brodowski
12 Sep, 2005
1 commit
-
From: Al Viro
Instead of playing all of these hand-coded assembler aliasing games,
just translate symbol names in the name space ".sym" to "_Sym" at
module load time.Signed-off-by: David S. Miller
11 Sep, 2005
1 commit
-
Use foo := $(call objectify, $(foo)) to prefix $(foo) with $(obj)/ unless
$(foo) is an absolute path.
For now no in-tree users - soon to come.Signed-off-by: Sam Ravnborg
10 Sep, 2005
1 commit
-
GCC 4 emits more DWARF debugging information than before and there is now a
.debug_loc section as well. This causes "make buildcheck" to fail. Rather
than just add that one to the special case list, I used a regexp to ignore
any .debug_ANYTHING sections in case more show up in the future.Signed-off-by: Roland McGrath
Signed-off-by: Andrew Morton
Signed-off-by: Sam Ravnborg
08 Sep, 2005
3 commits
-
Tested with 2.12i and 2.13-pre2.
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Local symbols generated by gcc start with a `$'; no point in including them
in the kernel.Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch changes the way the compression algorithm works. The base
algorithm is similiar to the previous but we force the compressed token
size to 2.Having a fixed size compressed token allows for a lot of optimizations, and
that in turn allows this code to run over *all* the symbols faster than it
did before over just a subset.Having it work over all the symbols will make it behave better when symbols
change positions between passes, and the "inconsistent kallsyms" messages
should become less frequent.In my tests the compression ratio was degraded by about 0.5%, but the
results will depend greatly on the number of symbols to compress.Signed-off-by: Paulo Marques
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
06 Sep, 2005
1 commit
05 Sep, 2005
3 commits
-
The 'make update-po-config' creates the .pot file for the default arch. This
patch enhances it with all arch.Signed-off-by: Egry Gabor
Cc: Arnaldo Carvalho de Melo
Cc: Roman Zippel
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The end of line character doesn't exist on end of help in all case, check it
first.Signed-off-by: Egry Gabor
Cc: Arnaldo Carvalho de Melo
Cc: Roman Zippel
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The gettext doesn't handle the {CONFIG}:00000 markers as sources. I added a
simple comment prefix for them.Signed-off-by: Egry Gabor
Cc: Arnaldo Carvalho de Melo
Cc: Roman Zippel
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
30 Aug, 2005
1 commit
-
Make MODULE_DEVICE_TABLE work for vio devices.
Signed-off-by: Stephen Rothwell
Signed-off-by: Paul Mackerras
20 Aug, 2005
1 commit
-
GLIBC 2.3.4 and later changed the STT_REGISTER macro to
STT_SPARC_REGISTER, so we need to cope with that somehow.Original patch from fabbione, reposted by Ben Collins.
Signed-off-by: David S. Miller