mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 23:48:20 +00:00
yaffs2-utils: fix QA warning for GNU_HASH
Add LDFLAGS variable to Makefile so that extra linker flags can be sent via this variable. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
||||
|
||||
diff --git a/utils/Makefile b/utils/Makefile
|
||||
index 710ebbf..6259893 100644
|
||||
--- a/utils/Makefile
|
||||
+++ b/utils/Makefile
|
||||
@@ -57,10 +57,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS)
|
||||
- $(CC) -o $@ $^
|
||||
+ $(CC) $(LDFLAGS) -o $@ $^
|
||||
|
||||
mkyaffs2image: $(MKYAFFS2IMAGEOBJS) $(COMMONOBJS)
|
||||
- $(CC) -o $@ $^
|
||||
+ $(CC) $(LDFLAGS) -o $@ $^
|
||||
|
||||
|
||||
clean:
|
||||
@@ -12,7 +12,10 @@ PV = "0.0+git${SRCPV}"
|
||||
DEPENDS = "mtd-utils"
|
||||
|
||||
# Source is the HEAD of master branch at the time of writing this recipe
|
||||
SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master"
|
||||
SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \
|
||||
file://makefile-add-ldflags.patch \
|
||||
"
|
||||
|
||||
SRCREV = "bc76682d93955cfb33051beb503ad9f8a5450578"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user