linux-tools: fix build on musl
This commit is contained in:
parent
24d246c388
commit
3fd6f6da37
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ post_extract() {
|
||||||
sed -i 's/\$(LIBS)/& $(LDFLAGS)/' tools/power/cpupower/bench/Makefile
|
sed -i 's/\$(LIBS)/& $(LDFLAGS)/' tools/power/cpupower/bench/Makefile
|
||||||
sed -i 's/SIGCLD/SIGCHLD/g' tools/usb/usbip/src/usbipd.c
|
sed -i 's/SIGCLD/SIGCHLD/g' tools/usb/usbip/src/usbipd.c
|
||||||
sed -i 's/^CFLAGS/override &/g' tools/thermal/tmon/Makefile
|
sed -i 's/^CFLAGS/override &/g' tools/thermal/tmon/Makefile
|
||||||
|
sed -i 's/ \-Werror / /g' tools/build/feature/Makefile \
|
||||||
|
tools/lib/bpf/Makefile
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
cd ${wrksrc}/tools/perf
|
cd ${wrksrc}/tools/perf
|
||||||
|
|
Loading…
Reference in a new issue