diff options
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests.inc | 3 | ||||
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests_2.0.bb | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-rt/rt-tests/rt-tests.inc b/meta/recipes-rt/rt-tests/rt-tests.inc index fd6500bfad..d832828e97 100644 --- a/meta/recipes-rt/rt-tests/rt-tests.inc +++ b/meta/recipes-rt/rt-tests/rt-tests.inc | |||
@@ -5,8 +5,5 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git" | |||
5 | 5 | ||
6 | S = "${WORKDIR}/git" | 6 | S = "${WORKDIR}/git" |
7 | 7 | ||
8 | # need to append rt-tests' default CFLAGS to ours | ||
9 | CFLAGS += "-I${S}/src/include -D_GNU_SOURCE -Wall -Wno-nonnull" | ||
10 | |||
11 | # calling 'uname -m' is broken on crossbuilds | 8 | # calling 'uname -m' is broken on crossbuilds |
12 | EXTRA_OEMAKE = "NUMA=0" | 9 | EXTRA_OEMAKE = "NUMA=0" |
diff --git a/meta/recipes-rt/rt-tests/rt-tests_2.0.bb b/meta/recipes-rt/rt-tests/rt-tests_2.0.bb index 83869b89b8..4336c50d63 100644 --- a/meta/recipes-rt/rt-tests/rt-tests_2.0.bb +++ b/meta/recipes-rt/rt-tests/rt-tests_2.0.bb | |||
@@ -15,9 +15,7 @@ SRC_URI += " \ | |||
15 | file://rt_bmark.py \ | 15 | file://rt_bmark.py \ |
16 | " | 16 | " |
17 | # Do not install hwlatdetect | 17 | # Do not install hwlatdetect |
18 | EXTRA_OEMAKE += "PYLIB='' CROSS_COMPILE=${TARGET_PREFIX}" | 18 | EXTRA_OEMAKE += "PYLIB=''" |
19 | |||
20 | CFLAGS_prepend = "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" | ||
21 | 19 | ||
22 | do_install() { | 20 | do_install() { |
23 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \ | 21 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \ |