Skip to contentSkip to conversation

mce-test: add it

PATCH Superseded Dengke Du 2 participants 2 messages Jun 1, 2018 – Jun 7, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Dengke Du

author
#0 lore raw

PATCH 1/1 mce-test: add it

---
 .../mce-test/files/makefile-remove-ldflags.patch   | 23 +++++++++++
 recipes-kernel/mce-test/mce-test_git.bb            | 48 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)
 create mode 100644 recipes-kernel/mce-test/files/makefile-remove-ldflags.patch
 create mode 100644 recipes-kernel/mce-test/mce-test_git.bb
recipes-kernel/mce-test/files/makefile-remove-ldflags.patch new file +23 -0
new file mode 100644
index 0000000..0ffedd2
@@ -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 <[email protected]>
+
+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
recipes-kernel/mce-test/mce-test_git.bb new file +48 -0

48 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw

Hi Dengke,

recipes-kernel/mce-test/mce-test_git.bb line 20

Quoted 6 lines · Dengke Du
recipes-kernel/mce-test/mce-test_git.bb new file +6 -0
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/mce-test.git;protocol=git \
+           file://makefile-remove-ldflags.patch \
+          "
+# Use the commit date of SRCREV in PV.
+#
+SRCREV = "b3fdfaa7a025b68f30913c9cc7a8fe4ae9c7ed7f"

This looks like a very old revision. Should this also be fetching from:

https://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git/log/

Also, this should probably be sent to openembedded-devel list.

Thanks,
Anuj