mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
kernel-selftest: remove Wno-alloc-size-larger-than from scripts/Makefile.extrawarn
6.6+ kernel has the warning options moved to dedicated include file under scripts called Makefile.extrawarn, therefore search for this file as well to remove this unrecognized option by clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
09b354f3cc
commit
d3fb6ea06e
|
|
@ -93,6 +93,7 @@ either install it and add it to HOSTTOOLS, or add clang-native from meta-clang t
|
|||
sed -i -e 's|^all: docs|all:|' ${S}/tools/testing/selftests/bpf/Makefile
|
||||
sed -i -e '/mrecord-mcount/d' ${S}/Makefile
|
||||
sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/Makefile
|
||||
sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/scripts/Makefile.*
|
||||
for i in ${TEST_LIST}
|
||||
do
|
||||
oe_runmake -C ${S}/tools/testing/selftests/${i}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user