linux-tools: correct the functional detection

They're build as part of tools/build.
fixdep will be built by HOSTCC anyway.
This commit is contained in:
Đoàn Trần Công Danh 2022-11-10 09:11:38 +07:00 committed by Đoàn Trần Công Danh
parent ea8a398079
commit bf7f4562b1
1 changed files with 3 additions and 4 deletions

View File

@ -48,7 +48,6 @@ post_extract() {
pre_configure() {
echo "#define PERF_VERSION \"${version}_${revision}\"" \
>tools/perf/PERF-VERSION-FILE
vsed -i 's/usbip_bind_driver.8//' tools/usb/usbip/Makefile.am
}
do_build() {
@ -65,9 +64,9 @@ do_build() {
esac
make -C tools/build V=1 \
CC=$CC_FOR_BUILD LD=$LD_FOR_BUILD \
CFLAGS="$CFLAGS_FOR_BUILD" EXTRA_CFLAGS="$CFLAGS_FOR_BUILD" \
LDFLAGS="$LDFLAGS_FOR_BUILD" \
CC=$CC LD=$LD \
CFLAGS="$CFLAGS" EXTRA_CFLAGS="$CFLAGS" \
LDFLAGS="$LDFLAGS" \
WERROR=0 NO_GTK2=1 NO_SDT=1 PYTHON=python3
make -C tools/perf ${makejobs} V=1 ARCH=$arch \