* [Buildroot] [PATCH 1/1] package/kbd: fix not installing to the target
@ 2016-03-04 17:16 Martin Bark
2016-03-04 20:22 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Martin Bark @ 2016-03-04 17:16 UTC (permalink / raw)
To: buildroot
Commit https://git.busybox.net/buildroot/commit/?id=9f81bad fixed a build
error in kbd but unfortunately it broke the target install rule so that
nothing is being installed.
Move setting KBD_INSTALL_TARGET_OPTS after $(eval $(autotools-package))
so that it is set correctly and now installs to the target again.
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Martin Bark <martin@barkynet.com>
---
package/kbd/kbd.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/kbd/kbd.mk b/package/kbd/kbd.mk
index 9dabce1..9d959cf 100644
--- a/package/kbd/kbd.mk
+++ b/package/kbd/kbd.mk
@@ -17,6 +17,6 @@ KBD_LICENSE = GPLv2+
KBD_LICENSE_FILES = COPYING
KBD_AUTORECONF = YES
-KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
-
$(eval $(autotools-package))
+
+KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
--
2.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/kbd: fix not installing to the target
2016-03-04 17:16 [Buildroot] [PATCH 1/1] package/kbd: fix not installing to the target Martin Bark
@ 2016-03-04 20:22 ` Thomas Petazzoni
2016-03-07 10:38 ` Martin Bark
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2016-03-04 20:22 UTC (permalink / raw)
To: buildroot
Dear Martin Bark,
On Fri, 4 Mar 2016 17:16:35 +0000, Martin Bark wrote:
> -KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
> -
> $(eval $(autotools-package))
> +
> +KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
I know this solution is also used in the util-linux package, but in
fact I don't really like it. Can you try using
KBD_MAKE_ENV = \
MKINSTALLDIRS=...
(before the eval of autotools-package) ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/kbd: fix not installing to the target
2016-03-04 20:22 ` Thomas Petazzoni
@ 2016-03-07 10:38 ` Martin Bark
0 siblings, 0 replies; 3+ messages in thread
From: Martin Bark @ 2016-03-07 10:38 UTC (permalink / raw)
To: buildroot
Thomas,
On 4 March 2016 at 20:22, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Martin Bark,
>
> On Fri, 4 Mar 2016 17:16:35 +0000, Martin Bark wrote:
>
>> -KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
>> -
>> $(eval $(autotools-package))
>> +
>> +KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
>
> I know this solution is also used in the util-linux package, but in
> fact I don't really like it. Can you try using
>
> KBD_MAKE_ENV = \
> MKINSTALLDIRS=...
>
> (before the eval of autotools-package) ?
I've made the change you suggested, see
http://patchwork.ozlabs.org/patch/592898/
Thanks
Martin
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-07 10:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-04 17:16 [Buildroot] [PATCH 1/1] package/kbd: fix not installing to the target Martin Bark
2016-03-04 20:22 ` Thomas Petazzoni
2016-03-07 10:38 ` Martin Bark
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.