From 23c01539423e6e32e86f8730195d294377a22b80 Mon Sep 17 00:00:00 2001 From: "dengke.du@windriver.com" Date: Thu, 6 Dec 2018 14:39:30 +0800 Subject: mce-test: add it Signed-off-by: Dengke Du Signed-off-by: Khem Raj --- .../mcelog/mce-test/makefile-remove-ldflags.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch (limited to 'meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch') diff --git a/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch b/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch new file mode 100644 index 0000000000..0ffedd2c17 --- /dev/null +++ b/meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch @@ -0,0 +1,23 @@ +Remove the default CFLAGS and LDFLAGS in Makefile. Ensure the extra linker flags can be passed. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Yi Zhao + +diff --git a/cases/stress/hwpoison/Makefile b/cases/stress/hwpoison/Makefile +index da1cbd8..dec5b14 100644 +--- a/cases/stress/hwpoison/Makefile ++++ b/cases/stress/hwpoison/Makefile +@@ -1,8 +1,8 @@ +-CFLAGS := -g -Wall +-LDFLAGS := -g ++#CFLAGS := -g -Wall ++#LDFLAGS := -g + +-export CFLAGS +-export LDFLAGS ++#export CFLAGS ++#export LDFLAGS + + all: + mkdir -p bin -- cgit v1.2.3-54-g00ecf