* [Buildroot] [git commit] kmod: really pass --disable-manpages
@ 2014-02-09 8:35 Peter Korsgaard
2014-02-09 9:11 ` Thomas De Schampheleire
0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2014-02-09 8:35 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=674fd4f83464a1449a0db8bb4e2584b7b6f6a051
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The line below overwrites KMOD_CONF_OPT, so move the --disable-manpages
options below.
Fixes http://autobuild.buildroot.net/results/842/842131307c171e1bc5a1e918996d53b00ddb1be3/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/kmod/kmod.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index f819d0e..f79a492 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -15,13 +15,13 @@ HOST_KMOD_DEPENDENCIES = host-pkgconf
KMOD_LICENSE = LGPLv2.1+
KMOD_LICENSE_FILES = libkmod/COPYING
-KMOD_CONF_OPT += --disable-manpages
-HOST_KMOD_CONF_OPT = --disable-manpages
-
# static linking not supported, see
# https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8
KMOD_CONF_OPT = --disable-static --enable-shared
+KMOD_CONF_OPT += --disable-manpages
+HOST_KMOD_CONF_OPT = --disable-manpages
+
ifeq ($(BR2_PACKAGE_ZLIB),y)
KMOD_DEPENDENCIES += zlib
KMOD_CONF_OPT += --with-zlib
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [git commit] kmod: really pass --disable-manpages
2014-02-09 8:35 [Buildroot] [git commit] kmod: really pass --disable-manpages Peter Korsgaard
@ 2014-02-09 9:11 ` Thomas De Schampheleire
2014-02-09 9:17 ` Peter Korsgaard
0 siblings, 1 reply; 4+ messages in thread
From: Thomas De Schampheleire @ 2014-02-09 9:11 UTC (permalink / raw)
To: buildroot
Peter Korsgaard <peter@korsgaard.com> schreef:
>commit: http://git.buildroot.net/buildroot/commit/?id=674fd4f83464a1449a0db8bb4e2584b7b6f6a051
>branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
>The line below overwrites KMOD_CONF_OPT, so move the --disable-manpages
>options below.
>
>Fixes http://autobuild.buildroot.net/results/842/842131307c171e1bc5a1e918996d53b00ddb1be3/
>
>Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
>---
> package/kmod/kmod.mk | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
>index f819d0e..f79a492 100644
>--- a/package/kmod/kmod.mk
>+++ b/package/kmod/kmod.mk
>@@ -15,13 +15,13 @@ HOST_KMOD_DEPENDENCIES = host-pkgconf
> KMOD_LICENSE = LGPLv2.1+
> KMOD_LICENSE_FILES = libkmod/COPYING
>
>-KMOD_CONF_OPT += --disable-manpages
>-HOST_KMOD_CONF_OPT = --disable-manpages
>-
> # static linking not supported, see
> # https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8
> KMOD_CONF_OPT = --disable-static --enable-shared
>
>+KMOD_CONF_OPT += --disable-manpages
>+HOST_KMOD_CONF_OPT = --disable-manpages
>+
> ifeq ($(BR2_PACKAGE_ZLIB),y)
> KMOD_DEPENDENCIES += zlib
> KMOD_CONF_OPT += --with-zlib
Aargh, another oops, sorry.
Isn't it safer to always use += for this type of variables?
Best regards,
Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [git commit] kmod: really pass --disable-manpages
2014-02-09 9:11 ` Thomas De Schampheleire
@ 2014-02-09 9:17 ` Peter Korsgaard
2014-02-10 17:10 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2014-02-09 9:17 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:
Hi,
>> +KMOD_CONF_OPT += --disable-manpages
>> +HOST_KMOD_CONF_OPT = --disable-manpages
>> +
>> ifeq ($(BR2_PACKAGE_ZLIB),y)
>> KMOD_DEPENDENCIES += zlib
>> KMOD_CONF_OPT += --with-zlib
> Aargh, another oops, sorry.
No problem, that's why we have the autobuilders ;)
> Isn't it safer to always use += for this type of variables?
Yes it is, but we typically don't do it for the first(/single)
assignment.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [git commit] kmod: really pass --disable-manpages
2014-02-09 9:17 ` Peter Korsgaard
@ 2014-02-10 17:10 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2014-02-10 17:10 UTC (permalink / raw)
To: buildroot
On 02/09/14 10:17, Peter Korsgaard wrote:
>>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:
>
> Hi,
>
> >> +KMOD_CONF_OPT += --disable-manpages
> >> +HOST_KMOD_CONF_OPT = --disable-manpages
> >> +
> >> ifeq ($(BR2_PACKAGE_ZLIB),y)
> >> KMOD_DEPENDENCIES += zlib
> >> KMOD_CONF_OPT += --with-zlib
>
> > Aargh, another oops, sorry.
>
> No problem, that's why we have the autobuilders ;)
>
> > Isn't it safer to always use += for this type of variables?
>
> Yes it is, but we typically don't do it for the first(/single)
> assignment.
I think it would be a good idea to make it a habit to use += even for
the first/single assignment. It's pretty easy to make this kind of
mistake, and it's difficult to catch in review because you usually don't
see the whole file.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-02-10 17:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-09 8:35 [Buildroot] [git commit] kmod: really pass --disable-manpages Peter Korsgaard
2014-02-09 9:11 ` Thomas De Schampheleire
2014-02-09 9:17 ` Peter Korsgaard
2014-02-10 17:10 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox