diff options
author | Joe Slater <jslater@windriver.com> | 2012-11-15 09:59:12 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-24 15:12:34 +0000 |
commit | eac24cbb8a095ceab4384c95b826e5d712e78c92 (patch) | |
tree | 2be990dc7c631d4e24da3d27593f3a169b4025aa | |
parent | d241626215c420d931074b065f492542471ae242 (diff) | |
download | poky-eac24cbb8a095ceab4384c95b826e5d712e78c92.tar.gz |
mingetty: replace cflags hard-coded into Makefile
Add CFLAGS to EXTRA_OEMAKE to allow us control over
debugging and optimization.
(From OE-Core rev: 2e123bb1b3ee023a020798972821f32b1e0054e6)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/mingetty/mingetty_1.08.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-extended/mingetty/mingetty_1.08.bb b/meta/recipes-extended/mingetty/mingetty_1.08.bb index 235a3be62c..6c539574bd 100644 --- a/meta/recipes-extended/mingetty/mingetty_1.08.bb +++ b/meta/recipes-extended/mingetty/mingetty_1.08.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = " A compact getty program for virtual consoles only" | |||
2 | SECTION = "console/utils" | 2 | SECTION = "console/utils" |
3 | HOMEPAGE = "http://sourceforge.net/projects/mingetty/" | 3 | HOMEPAGE = "http://sourceforge.net/projects/mingetty/" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | PR = "r2" | 5 | PR = "r3" |
6 | 6 | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" |
8 | SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/${PV}/mingetty-${PV}.tar.gz" | 8 | SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/${PV}/mingetty-${PV}.tar.gz" |
@@ -10,7 +10,10 @@ SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/$ | |||
10 | SRC_URI[md5sum] = "2a75ad6487ff271424ffc00a64420990" | 10 | SRC_URI[md5sum] = "2a75ad6487ff271424ffc00a64420990" |
11 | SRC_URI[sha256sum] = "0f55c90ba4faa913d91ef99cbf5cb2eb4dbe2780314c3bb17953f849c8cddd17" | 11 | SRC_URI[sha256sum] = "0f55c90ba4faa913d91ef99cbf5cb2eb4dbe2780314c3bb17953f849c8cddd17" |
12 | 12 | ||
13 | EXTRA_OEMAKE = "CC='${CC}'" | 13 | # substitute our CFLAGS for "-O2 -Wall -W -pipe" |
14 | # | ||
15 | EXTRA_OEMAKE = "CC='${CC}' \ | ||
16 | CFLAGS='${CFLAGS} -D_GNU_SOURCE'" | ||
14 | 17 | ||
15 | do_install(){ | 18 | do_install(){ |
16 | install -d ${D}${mandir}/man8 ${D}/${base_sbindir} | 19 | install -d ${D}${mandir}/man8 ${D}/${base_sbindir} |