Age | Commit message (Collapse) | Author | Files | Lines |
|
That is clearly what the original intention was. This does not change the
output .config but it prevents some useless processing.
! eq "m" is changed to the simpler eq "y"; symbols with values other than
m|y are not included in %orig_configs.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Benjamin Poirier <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
|
|
Help text may start with "help" or "---help---". This patch fixes
read_kconfig() to recognize the second variant.
This removes useless junk from %depends and %selects. That junk is due to
help text that contains the words "selects" and "depends".
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Benjamin Poirier <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
|
|
Based on the list in Documentation/kbuild/kconfig-language.txt
This removes junk from %depends because parsing of a menu entry spilled
over to another menu entry.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Benjamin Poirier <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
|
|
The parameter of Kconfig "source" statements does not need to be quoted.
The current regex causes many kconfig files to be skipped and hence,
dependencies to be missed.
Also fix the whitespace repeat count.
Link: http://lkml.kernel.org/r/[email protected]
Tested-by: Lee, Chun-Yi <[email protected]>
Signed-off-by: Benjamin Poirier <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
|
|
Prior to 3.13 make allmodconfig KCONFIG_ALLCONFIG=/dev/null used
to be equivalent to make allmodconfig; these days it hardwires MODULES to n.
In fact, any KCONFIG_ALLCONFIG that doesn't set MODULES explicitly is
treated as if it set it to n.
Regression had been introduced by commit cfa98f ("kconfig: do not
override symbols already set"); what happens is that conf_read_simple()
does sym_calc_value(modules_sym) on exit, which leaves SYMBOL_VALID set and
has conf_set_all_new_symbols() skip modules_sym.
It's pretty easy to fix - simply move that call of sym_calc_value()
into the callers, except for the ones in KCONFIG_ALLCONFIG handling.
Objections?
Signed-off-by: Al Viro <[email protected]>
Fixes: cfa98f2e0ae9 ("kconfig: do not override symbols already set")
Signed-off-by: Michal Marek <[email protected]>
|
|
Documentation/Changes still lists this as the minimal required version,
so it ought to remain usable for the time being.
Fixes: d2036f30cf ("scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target")
Signed-off-by: Jan Beulich <[email protected]>
Cc: Michael Ellerman <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
On Debian stable (qt-4.8.6) 'make xconfig' intermittently fails due to
qconf segfaulting at exit time in QXcbEventReader. The cause of this is
destructors on the heap objects never being called, so fix this by
properly deleting the heap objects before exit.
Signed-off-by: Chris Bainbridge <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
menu_is_visible() is a bool function and should use boolean return
values. "no" is a tristate value which happens to also have a value
of 0, but we should nevertheless use the right symbol for it.
This is a very minor cleanup with no semantic change.
Fixes: 86e187ff9 ("kconfig: add an option to determine a menu's visibility")
Cc: Arnaud Lacombe <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Vegard Nossum <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
The current (arbitrary) limit of 128 characters for path names has
proven too short for Android builds, as longer path names are used
there.
Change conf.c, so it can handle path lengths up to PATH_MAX characters.
Signed-off-by: Markus Mayer <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kconfig updates from Michal Marek:
- 'make xconfig' ported to Qt5, dropping support for Qt3
- merge_config.sh supports a single-input-file mode and also respects
$KCONFIG_CONFIG
- Fix for incorrect display of >= and > in dependency expressions
* 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: (44 commits)
Add current selection check.
Use pkg-config to find Qt 4 and 5 instead of direct qmake
kconfig: Fix copy&paste error
kconfig/merge_config.sh: Accept a single file
kconfig/merge_config.sh: Support KCONFIG_CONFIG
Update the buildsystem for KConfig finding Qt
Port xconfig to Qt5 - Update copyright.
Port xconfig to Qt5 - Fix goParent issue.
Port xconfig to Qt5 - on Back clicked, deselect old item.
Port xconfig to Qt5 - Add(back) one click checkbox toggle.
Port xconfig to Qt5 - Add(back) lineedit editing.
Port xconfig to Qt5 - Remove some commented code.
Port xconfig to Qt5 - Source format.
Port xconfig to Qt5 - Add horizontal scrollbar, and scroll per pixel.
Port xconfig to Qt5 - Change ConfigItem constructor parent type.
Port xconfig to Qt5 - Disable ConfigList soring
Port xconfig to Qt5 - Remove ConfigList::updateMenuList template.
Port xconfig to Qt5 - Add ConfigList::mode to initializer list.
Port xconfig to Qt5 - Add ConfigItem::nextItem to initializer list.
Port xconfig to Qt5 - Tree widget set column titles.
...
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
[mmarek: I missed it in the original Qt5 patch set, which caused a crash]
Signed-off-by: Michal Marek <[email protected]>
|
|
The Qt Project recommendation is that there should always be a "qmake"
binary and it should never be renamed. If it's necessary to handle
multiple Qt versions, the Qt Project recommends using qtchooser.
Unfortunately, some distros do not follow the recommendation, so we
would need to check qmake-qt4, qmake-qt5, etc. So, instead, let's try
pkg-config.
Signed-off-by: Thiago Macieira <[email protected]>
Reported-by: Alexey Brodkin <[email protected]>
Acked-by: Alexey Brodkin <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Fixes: 31847b67bec0 ("kconfig: allow use of relations other than (in)equality")
Signed-off-by: Michal Sojka <[email protected]>
Reviewed-by: Jan Beulich <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
My recent commit d2036f30cfe1 ("scripts/kconfig/Makefile: Allow
KBUILD_DEFCONFIG to be a target"), contained a bug in that when it
checks if KBUILD_DEFCONFIG is a file it forgets to prepend $(srctree) to
the path.
This causes the build to fail when building out of tree (with O=), and
when the value of KBUILD_DEFCONFIG is 'defconfig'. In that case we will
fail to find the 'defconfig' file, because we look in the build
directory not $(srctree), and so we will call Make again with
'defconfig' as the target. From there we loop infinitely calling 'make
defconfig' again and again.
The fix is simple, we need to look for the file under $(srctree).
Fixes: d2036f30cfe1 ("scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target")
Reported-by: Olof Johansson <[email protected]>
Acked-by: Michal Marek <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
|
|
merge_config.sh can usefully be applied to a single file.
It implicitly merges with the default configuration.
Signed-off-by: Gabriel de Perthuis <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
All make targets support $KCONFIG_CONFIG because they
run scripts/kconf. Make sure merge_config.sh accesses the
correct file in all cases.
Previously this script broke in two different code paths,
one for targets like kvmconfig (which use merge_config.sh -m
then call a target that respects KCONFIG_CONFIG) and one for
direct use of the script without -m, which called make rules
that edit KCONFIG_CONFIG but verified a different file.
Signed-off-by: Gabriel de Perthuis <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
The buildsystem will now only search for Qt 4 and Qt 5. Support for Qt 2
and 3 was dropped in the previous commits (Qt 3 was EOL'ed in 2010 or
so...).
For Qt 5, to be future-proof with the future direction notice appearing
in the 5.5 release, C++11 support is automatically enabled.
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
ConfigItem executes parent->takeChild(0)
while
ConfigList executes parent->takeTopLevelItem(0)
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|
|
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
|