linux-tools: build fixdep first

This commit is contained in:
Đoàn Trần Công Danh 2022-11-07 15:00:49 +07:00
parent ec5fa8e16c
commit baa8a5a20a
1 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,13 @@ post_extract() {
tools/lib/bpf/Makefile
}
do_build() {
# /builddir/linux-5.10.4/tools/build/fixdep: Text file busy
make -C tools/build V=1 \
CC=$CC LD=$LD CFLAGS="$CFLAGS" EXTRA_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
WERROR=0 DESTDIR=${DESTDIR} prefix=/usr \
NO_GTK2=1 NO_SDT=1 PYTHON=python3 \
PERF_VERSION=${version}_${revision}
make -C tools/perf ${makejobs} V=1 \
CC=$CC LD=$LD CFLAGS="$CFLAGS" EXTRA_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
WERROR=0 DESTDIR=${DESTDIR} prefix=/usr lib=lib/perf \