devtools: remove legacy flags from includes check

Make is no longer supported, the test script for make builds is no
longer required. Uses of make in other tool scripts are replaced.

Signed-off-by: Ciara Power <ciara.power@intel.com>
This commit is contained in:
Ciara Power 2020-09-21 14:59:12 +01:00 committed by Thomas Monjalon
parent 2e978b2627
commit 4e2cf9af45

View File

@ -17,8 +17,7 @@
# #
# SUMMARY=1 is the same as -s. # SUMMARY=1 is the same as -s.
# #
# CC, CPPFLAGS, CFLAGS, EXTRA_CPPFLAGS, EXTRA_CFLAGS, CXX, CXXFLAGS and # CC, CPPFLAGS, CFLAGS, CXX, CXXFLAGS are taken into account.
# EXTRA_CXXFLAGS are taken into account.
# #
# PEDANTIC_CFLAGS, PEDANTIC_CXXFLAGS and PEDANTIC_CPPFLAGS provide strict # PEDANTIC_CFLAGS, PEDANTIC_CXXFLAGS and PEDANTIC_CPPFLAGS provide strict
# C/C++ compilation flags. # C/C++ compilation flags.
@ -130,16 +129,16 @@ trap 'rm -f "$temp_cc" "$temp_cxx"' EXIT
compile_cc () compile_cc ()
{ {
${CC} -I"$include_dir" \ ${CC} -I"$include_dir" \
${PEDANTIC_CPPFLAGS} ${CPPFLAGS} ${EXTRA_CPPFLAGS} \ ${PEDANTIC_CPPFLAGS} ${CPPFLAGS} \
${PEDANTIC_CFLAGS} ${CFLAGS} ${EXTRA_CFLAGS} \ ${PEDANTIC_CFLAGS} ${CFLAGS} \
-c -o /dev/null "${temp_cc}" -c -o /dev/null "${temp_cc}"
} }
compile_cxx () compile_cxx ()
{ {
${CXX} -I"$include_dir" \ ${CXX} -I"$include_dir" \
${PEDANTIC_CPPFLAGS} ${CPPFLAGS} ${EXTRA_CPPFLAGS} \ ${PEDANTIC_CPPFLAGS} ${CPPFLAGS} \
${PEDANTIC_CXXFLAGS} ${CXXFLAGS} ${EXTRA_CXXFLAGS} \ ${PEDANTIC_CXXFLAGS} ${CXXFLAGS} \
-c -o /dev/null "${temp_cxx}" -c -o /dev/null "${temp_cxx}"
} }