diff options
| author | dengke.du@windriver.com <dengke.du@windriver.com> | 2018-12-06 14:39:30 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-12-06 08:11:52 -0800 |
| commit | 23c01539423e6e32e86f8730195d294377a22b80 (patch) | |
| tree | 299ca336574a0357ae1c0ec01d49b152120f6dc6 /meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch | |
| parent | 047dc65d98ebed357d314ffc24db08e9b79bb10e (diff) | |
| download | meta-openembedded-23c01539423e6e32e86f8730195d294377a22b80.tar.gz | |
mce-test: add it
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch')
| -rw-r--r-- | meta-oe/recipes-support/mcelog/mce-test/makefile-remove-ldflags.patch | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ | |||
| 1 | Remove the default CFLAGS and LDFLAGS in Makefile. Ensure the extra linker flags can be passed. | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [embedded specific] | ||
| 4 | |||
| 5 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
| 6 | |||
| 7 | diff --git a/cases/stress/hwpoison/Makefile b/cases/stress/hwpoison/Makefile | ||
| 8 | index da1cbd8..dec5b14 100644 | ||
| 9 | --- a/cases/stress/hwpoison/Makefile | ||
| 10 | +++ b/cases/stress/hwpoison/Makefile | ||
| 11 | @@ -1,8 +1,8 @@ | ||
| 12 | -CFLAGS := -g -Wall | ||
| 13 | -LDFLAGS := -g | ||
| 14 | +#CFLAGS := -g -Wall | ||
| 15 | +#LDFLAGS := -g | ||
| 16 | |||
| 17 | -export CFLAGS | ||
| 18 | -export LDFLAGS | ||
| 19 | +#export CFLAGS | ||
| 20 | +#export LDFLAGS | ||
| 21 | |||
| 22 | all: | ||
| 23 | mkdir -p bin | ||
