summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2018-05-09 14:46:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-15 10:56:50 +0100
commit26cc941cb4c29b919ed455e4a14e86b424f5f4ec (patch)
tree42f504f0d563d192cf59e6c0ea8b890cdf6ae7bc /meta
parent27bf30e3ce505468678f8c9675c3c1648e3c7ec8 (diff)
downloadpoky-26cc941cb4c29b919ed455e4a14e86b424f5f4ec.tar.gz
console-tools: move ASNEEDED over-ride into the console-tools recipe
Move the recipe specific over-ride for ASNEEDED into the recipe to make it more apparent that the over-ride is being applied (and that it should be re-checked on version updates, etc). Also misc minor recipe cleanup (re-order variables to follow the OE style guide, etc). (From OE-Core rev: c4ceaaea207e15bafd4261c33fd20fdf66d50c7d) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/as-needed.inc1
-rw-r--r--meta/recipes-core/console-tools/console-tools_0.3.2.bb10
2 files changed, 6 insertions, 5 deletions
diff --git a/meta/conf/distro/include/as-needed.inc b/meta/conf/distro/include/as-needed.inc
index 38de3a10f2..91c0762727 100644
--- a/meta/conf/distro/include/as-needed.inc
+++ b/meta/conf/distro/include/as-needed.inc
@@ -1,7 +1,6 @@
1 1
2ASNEEDED = "-Wl,--as-needed" 2ASNEEDED = "-Wl,--as-needed"
3 3
4ASNEEDED_pn-console-tools = ""
5ASNEEDED_pn-distcc = "" 4ASNEEDED_pn-distcc = ""
6ASNEEDED_pn-openobex = "" 5ASNEEDED_pn-openobex = ""
7ASNEEDED_pn-icu = "" 6ASNEEDED_pn-icu = ""
diff --git a/meta/recipes-core/console-tools/console-tools_0.3.2.bb b/meta/recipes-core/console-tools/console-tools_0.3.2.bb
index 286c2a4753..6b9c82834c 100644
--- a/meta/recipes-core/console-tools/console-tools_0.3.2.bb
+++ b/meta/recipes-core/console-tools/console-tools_0.3.2.bb
@@ -1,8 +1,8 @@
1SUMMARY = "Allows you to set-up and manipulate the Linux console"
2DESCRIPTION = "Provides tools that enable the set-up and manipulation of the linux console and console-font files."
1SECTION = "base" 3SECTION = "base"
2LICENSE = "GPLv2" 4LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING.kbd;md5=9b2d91511d3d80d4d20ac6e6b0137fe9" 5LIC_FILES_CHKSUM = "file://COPYING.kbd;md5=9b2d91511d3d80d4d20ac6e6b0137fe9"
4SUMMARY = "Allows you to set-up and manipulate the Linux console"
5DESCRIPTION = "Provides tools that enable the set-up and manipulation of the linux console and console-font files."
6PR = "r8" 6PR = "r8"
7 7
8SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \ 8SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \
@@ -26,8 +26,12 @@ SRC_URI[sha256sum] = "eea6b441672dacd251079fc85ed322e196282e0e66c16303ec64c3a2b1
26UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/lct/files/console-tools-devel/" 26UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/lct/files/console-tools-devel/"
27UPSTREAM_CHECK_REGEX = "/console-tools-devel/(?P<pver>(\d\d?\.)+\d\d?)/" 27UPSTREAM_CHECK_REGEX = "/console-tools-devel/(?P<pver>(\d\d?\.)+\d\d?)/"
28 28
29inherit autotools gettext update-alternatives
30
29CFLAGS_append_aarch64 = " -D_USE_TERMIOS " 31CFLAGS_append_aarch64 = " -D_USE_TERMIOS "
30 32
33ASNEEDED = ""
34
31do_configure_prepend () { 35do_configure_prepend () {
32 mkdir -p ${S}/m4 36 mkdir -p ${S}/m4
33 cp ${WORKDIR}/lcmessage.m4 ${S}/m4/ 37 cp ${WORKDIR}/lcmessage.m4 ${S}/m4/
@@ -35,8 +39,6 @@ do_configure_prepend () {
35 cp ${WORKDIR}/Makevars ${S}/po/ 39 cp ${WORKDIR}/Makevars ${S}/po/
36} 40}
37 41
38inherit autotools gettext update-alternatives
39
40ALTERNATIVE_PRIORITY = "30" 42ALTERNATIVE_PRIORITY = "30"
41 43
42bindir_progs = "chvt deallocvt fgconsole openvt" 44bindir_progs = "chvt deallocvt fgconsole openvt"