summaryrefslogtreecommitdiff
path: root/recipes-support
diff options
context:
space:
mode:
authorStefan Müller-Klieser <S.Mueller-Klieser@phytec.de>2016-11-28 15:06:38 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2016-11-29 10:15:21 +0100
commit170cb21b78a327f96b17a723a5f1bff7b8d71176 (patch)
tree235389d7178ed015ff7d12fc87e6c4b909ae4f0e /recipes-support
parent4cdc8230dfb2fa4788ec847f0441a53f4e7cd660 (diff)
downloadmeta-phytec-170cb21b78a327f96b17a723a5f1bff7b8d71176.tar.bz2
meta-phytec-170cb21b78a327f96b17a723a5f1bff7b8d71176.zip
fbtest: include LDFLAGS in build2.1.2-phy1
This fixes the ldflags qa test. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Tested-by: Wadim Egorov <w.egorov@phytec.de>
Diffstat (limited to 'recipes-support')
-rw-r--r--recipes-support/fbtest/fbtest/repair-make-rules.patch15
1 files changed, 11 insertions, 4 deletions
diff --git a/recipes-support/fbtest/fbtest/repair-make-rules.patch b/recipes-support/fbtest/fbtest/repair-make-rules.patch
index cc7e450..8ee1f13 100644
--- a/recipes-support/fbtest/fbtest/repair-make-rules.patch
+++ b/recipes-support/fbtest/fbtest/repair-make-rules.patch
@@ -1,7 +1,5 @@
-Index: fbtest-20041102-1/Rules.make
-===================================================================
---- fbtest-20041102-1.orig/Rules.make
-+++ fbtest-20041102-1/Rules.make
+--- a/Rules.make
++++ b/Rules.make
@@ -1,12 +1,5 @@
-
-CC = $(CROSS_COMPILE)gcc
@@ -16,3 +14,12 @@ Index: fbtest-20041102-1/Rules.make
SRCS += $(wildcard *.c)
OBJS += $(subst .c,.o,$(SRCS))
+@@ -24,7 +17,7 @@ ifdef SUBDIRS
+ endif
+
+ $(TARGET): $(OBJS)
+- $(CC) -o $(TARGET) $(filter $(OBJS), $^) $(LIBS)
++ $(CC) -o $(TARGET) $(LDFLAGS) $(filter $(OBJS), $^) $(LIBS)
+
+ $(O_TARGET): $(OBJS)
+ $(LD) -r -o $(O_TARGET) $(filter $(OBJS), $^)