kbd: fix install to target
PATCH 1/1 kbd: fix install to target
The package makefile attempted to append to KBD_INSTALL_TARGET_OPTS, but this fails when done before evaluating $(autotools-package). This is because autotools-package uses ?= to set default values. Instead of appending we now override KBD_INSTALL_TARGET_OPTS.
--- package/kbd/kbd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/kbd/kbd.mk +1 -1
@@ -17,6 +17,6 @@ KBD_LICENSE = GPLv2+ KBD_LICENSE_FILES = COPYING KBD_AUTORECONF = YES -KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs +KBD_INSTALL_TARGET_OPTS = MKINSTALLDIRS=$(@D)/config/mkinstalldirs DESTDIR=$(TARGET_DIR) install $(eval $(autotools-package))
Signature · 1 line
2.5.0
PATCH 1/1 kbd: fix install to target
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Niels" == Niels Skou Olsen <[email protected]> writes:
The package makefile attempted to append to
KBD_INSTALL_TARGET_OPTS, but this fails when done before evaluating $(autotools-package). This is because autotools-package uses ?= to set default values. Instead of appending we now overrideKBD_INSTALL_TARGET_OPTS.Signed-off-by Niels Skou Olsen <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 kbd: fix install to target
In reply to Niels Skou OlsenNiels,
Quoted 15 lines · Niels Skou Olsen
The package makefile attempted to append to
KBD_INSTALL_TARGET_OPTS, but this fails when done before evaluating $(autotools-package). This is because autotools-package uses ?= to set default values. Instead of appending we now overrideKBD_INSTALL_TARGET_OPTS.Signed-off-by Niels Skou Olsen <[email protected]>--- package/kbd/kbd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/kbd/kbd.mk +0
-0
package/kbd/kbd.mk KBD_LICENSE = GPLv2+ · line 22
Quoted 7 lines
package/kbd/kbd.mk +1
-1@@ -17,6 +17,6 @@ KBD_LICENSE = GPLv2+ KBD_LICENSE_FILES = COPYING KBD_AUTORECONF = YES -KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs +KBD_INSTALL_TARGET_OPTS = MKINSTALLDIRS=$(@D)/config/mkinstalldirs DESTDIR=$(TARGET_DIR) install $(eval $(autotools-package))
Could you submit a patch doing the same change in package/util-linux/util-linux.mk ? I'm not really happy with how MKINSTALLDIRS is passed in util-linux.
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com