<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/jogo/scripts/config, branch master</title>
<subtitle>Staging tree of Jonas Gorski</subtitle>
<id>https://git.openwrt.org/openwrt/staging/jogo/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/jogo/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/'/>
<updated>2019-09-25T10:50:24Z</updated>
<entry>
<title>build: fix xconfig target</title>
<updated>2019-09-25T10:50:24Z</updated>
<author>
<name>leo chung</name>
</author>
<published>2019-09-20T05:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=b2c55d50f8aeb21ef4cd3948034a158f7dd743c2'/>
<id>urn:sha1:b2c55d50f8aeb21ef4cd3948034a158f7dd743c2</id>
<content type='text'>
`make xconfig` fails with following linking error of qconf binary:

 g++ -lQt5Widgets -lQt5Gui -lQt5Core -o qconf qconf.o zconf.tab.o
 /usr/bin/ld: qconf.o: in function ConfigList::metaObject() const': qconf.cc:(.text+0x3eb): undefined reference to QObjectData::dynamicMetaObject() const'
 /usr/bin/ld: qconf.o: in function `ConfigList::qt_metacast(char const*)': link error.

which is caused by the wrong order of the linked objects/libraries so
this patch reorders the linker's arguments which makes the qconf compile
again.

Signed-off-by: leo chung &lt;gewalalb@gmail.com&gt;
[commit subject and message tweaks, whitespace fix]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>build: fix host menu config targets using ncurses</title>
<updated>2019-09-25T10:50:24Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-09-20T12:54:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=965f341aa9fdb6e07d509d02a6ca188af050292a'/>
<id>urn:sha1:965f341aa9fdb6e07d509d02a6ca188af050292a</id>
<content type='text'>
On a recent Gentoo Linux installation, invoking `make menuconfig`, `make
kernel_menuconfig` or `make kernel_nconfig` in the build system fails,
whereas for example `make menuconfig` in the kernel tree alone works as
expected.

This is happening because STAGING_PREFIX is not defined when kernel's
{menu,n}config target calls pkg-config from the toolchain/host and thus
pkg-config returns an empty value, and the fallback values in the kernel
config script are applied but those are off and the linking fails.

Solution is to use system's pkg-config for all ncurses based menu config
targets in order to provide proper compiler/linker flags.

Ref: FS#2423
Cc: Thomas Albers &lt;thomas.gameiro@gmail.com&gt;
Tested-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Tested-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>scripts/config: fix *c_shipped build depency tracking</title>
<updated>2019-06-20T15:11:07Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2019-06-20T15:02:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=0096a1cf0015e483b99e51c74f2f0bbae7247342'/>
<id>urn:sha1:0096a1cf0015e483b99e51c74f2f0bbae7247342</id>
<content type='text'>
The Makefile was missing dependencies on *c_shipped, so changes never
triggered a rebuild. Add these as optional dependencies so their absence
isn't treated as an error.

In addition, fix a typo preventing the zconf.lex.o from being removed on
clean.

Fixes: 9d5510a500a1 ("build: add new menuconfig code based on linux 3.9")
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
Acked-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>config: fix relational operators for bool and tristate symbols</title>
<updated>2019-06-20T12:14:16Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2019-06-15T15:07:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=75dcaf3d23301da35eb4a6d0efc5ba5a0ed09850'/>
<id>urn:sha1:75dcaf3d23301da35eb4a6d0efc5ba5a0ed09850</id>
<content type='text'>
Since commit 31847b67bec0 ("kconfig: allow use of relations other than
(in)equality") it is possible to use relational operators in Kconfig
statements. However, those operators give unexpected results when
applied to bool/tristate values:

	(n &lt; y) = y (correct)
	(m &lt; y) = y (correct)
	(n &lt; m) = n (wrong)

This happens because relational operators process bool and tristate
symbols as strings and m sorts before n. It makes little sense to do a
lexicographical compare on bool and tristate values though.

Documentation/kbuild/kconfig-language.txt states that expression can have
a value of 'n', 'm' or 'y' (or 0, 1, 2 respectively for calculations).
Let's make it so for relational comparisons with bool/tristate
expressions as well and document them. If at least one symbol is an
actual string then the lexicographical compare works just as before.

Signed-off-by: Nicolas Pitre &lt;nico@linaro.org&gt;
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Tested-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
[rebased against OpenWrt kconfig, slightly reword commit message]
(backported from upstream 9059a3493efea6492451430c7e2fa0af799a2abb)
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>config: regenerate *_shipped sources</title>
<updated>2019-06-20T12:14:16Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2019-06-15T12:54:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=972123f1e056e6d443be1e4a11db09b5d2ef53da'/>
<id>urn:sha1:972123f1e056e6d443be1e4a11db09b5d2ef53da</id>
<content type='text'>
The pregenerated `zconf.hash.c` and `zconf.lex.c` files have not been
kept in sync with their respective `*.y` and `*.l` sources in the past
causing our kconfig implementation to not recognize important kconfig
grammer elements such as relational `&lt;`, `&lt;=`, `&gt;` and `&gt;=` operators.

Fixes: 2d7e602381f3 ("scripts/config: sync with latest linux upstream")
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
[reword commit message]
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>config: Change conf.c remove compiler warnings</title>
<updated>2018-07-30T08:43:36Z</updated>
<author>
<name>Paul Schulz</name>
</author>
<published>2018-06-21T08:49:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=7bbd1855cd06db7552c14d91f1151c8100e8813e'/>
<id>urn:sha1:7bbd1855cd06db7552c14d91f1151c8100e8813e</id>
<content type='text'>
Compiler is producing the warning:
   warning: format not a string literal and no format arguments
   [-Wformat-security]

This patch makes the format a literal string in printf statements.

This with: gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3) in Ubuntu 18.04

Signed-off-by: Paul Schulz &lt;paul@mawsonlakes.org&gt;
</content>
</entry>
<entry>
<title>build: cleanup leftover qconf files</title>
<updated>2018-02-13T10:35:35Z</updated>
<author>
<name>Alif M. Ahmad</name>
</author>
<published>2018-01-12T08:55:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=02a1a8af955180439be6316049ba8a70cf5d1b1c'/>
<id>urn:sha1:02a1a8af955180439be6316049ba8a70cf5d1b1c</id>
<content type='text'>
``make xconfig`` toplevel target will invoke ``make qconf`` inside
./scripts/config directory, which results a ``qconf`` executable.

This commit removes leftover ``qconf`` executable during ``make
config-clean``.

Signed-off-by: Alif M. Ahmad &lt;alive4ever@live.com&gt;
</content>
</entry>
<entry>
<title>merge: base: update base-files and basic config</title>
<updated>2017-12-08T18:41:18Z</updated>
<author>
<name>Zoltan HERPAI</name>
</author>
<published>2017-11-07T08:45:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6'/>
<id>urn:sha1:34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6</id>
<content type='text'>
Signed-off-by: Zoltan HERPAI &lt;wigyori@uid0.hu&gt;
</content>
</entry>
<entry>
<title>scripts/config: add qconf files to .gitignore</title>
<updated>2017-11-02T14:58:45Z</updated>
<author>
<name>Alif M. Ahmad</name>
</author>
<published>2017-07-23T03:08:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=b1501a684bdbe0c6d09017cc0773c109ca44b2e7'/>
<id>urn:sha1:b1501a684bdbe0c6d09017cc0773c109ca44b2e7</id>
<content type='text'>
This commit adds qconf related files to .gitignore.
The files to be tracked are qconf.cc, qconf.h, and images.c.
The files to be ignored are qconf*.o, qconf*, qconf.moc, and
.tmp_qtcheck.

Signed-off-by: Alif M. Ahmad &lt;alive4ever@live.com&gt;
</content>
</entry>
<entry>
<title>scripts/config: Add qconf target to Makefile</title>
<updated>2017-11-02T14:58:45Z</updated>
<author>
<name>Alif M. Ahmad</name>
</author>
<published>2017-07-23T03:08:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=ff43c03c146cad19ce43a5412df0b39eb61c3bf5'/>
<id>urn:sha1:ff43c03c146cad19ce43a5412df0b39eb61c3bf5</id>
<content type='text'>
qconf is kconfig UI utilizing QT toolkit. This makes it possible to use
graphical interface interaction to configure LEDE build target.

This commit adds qconf target to ./script/config/Makefile to be used by
toplevel ``make xconfig`` later.

Signed-off-by: Alif M. Ahmad &lt;alive4ever@live.com&gt;
</content>
</entry>
</feed>
