summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2014-09-02 15:55:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-22 13:04:22 +0100
commit3c9bf23ddbd5f8c2221277f13461e62b6ffdb5dc (patch)
treea20598abd6dbb4218deb7c02303a77542163a563 /meta/recipes-bsp
parent5ed07216af0ba7eec77d8f90018408d9d2eabc0a (diff)
downloadpoky-3c9bf23ddbd5f8c2221277f13461e62b6ffdb5dc.tar.gz
setserial: obey LDFLAGS
(From OE-Core rev: aaebe0f814a031b06ba72bc9de8b5ec4dbf80f0a) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/setserial/setserial/ldflags.patch24
-rw-r--r--meta/recipes-bsp/setserial/setserial_2.17.bb1
2 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-bsp/setserial/setserial/ldflags.patch b/meta/recipes-bsp/setserial/setserial/ldflags.patch
new file mode 100644
index 0000000000..4313d2c797
--- /dev/null
+++ b/meta/recipes-bsp/setserial/setserial/ldflags.patch
@@ -0,0 +1,24 @@
1Obey LDFLAGS
2
3Signed-off-by: Christopher Larson <chris_larson@mentor.com>
4Upstream-status: Pending
5
6--- setserial-2.17.orig/Makefile.in
7+++ setserial-2.17/Makefile.in
8@@ -13,6 +13,7 @@ STRIP = @STRIP@
9 CC = @CC@
10 RM = rm -f
11 CFLAGS = @CFLAGS@
12+LDFLAGS = @LDFLAGS@
13 DEFS = @DEFS@
14 INCS = -I.
15 TAR = tar
16@@ -20,7 +21,7 @@ TAR = tar
17 all: setserial setserial.cat
18
19 setserial: setserial.c
20- $(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
21+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
22
23 setserial.cat: setserial.8
24 nroff -man setserial.8 > setserial.cat
diff --git a/meta/recipes-bsp/setserial/setserial_2.17.bb b/meta/recipes-bsp/setserial/setserial_2.17.bb
index f1e8cd3392..8dbddd7dc5 100644
--- a/meta/recipes-bsp/setserial/setserial_2.17.bb
+++ b/meta/recipes-bsp/setserial/setserial_2.17.bb
@@ -14,6 +14,7 @@ inherit autotools-brokensep
14 14
15SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \ 15SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \
16 file://add_stdlib.patch \ 16 file://add_stdlib.patch \
17 file://ldflags.patch \
17 " 18 "
18 19
19SRC_URI[md5sum] = "c4867d72c41564318e0107745eb7a0f2" 20SRC_URI[md5sum] = "c4867d72c41564318e0107745eb7a0f2"