musl: build without gnu make
This commit is contained in:
parent
1b869812b8
commit
64ec36b51a
7 changed files with 271 additions and 12 deletions
13
linux/musl/globbits.sh
Executable file
13
linux/musl/globbits.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
ARCH=$1
|
||||
|
||||
ARCH_INC=arch/$ARCH/bits/*.h
|
||||
echo $ARCH_INC | tr ' ' '\n'
|
||||
|
||||
HAVE=$(echo $ARCH_INC | tr ' ' '\n' | sed 's|'$ARCH'|generic|g')
|
||||
|
||||
INCLUDES=arch/generic/bits/*.h
|
||||
for inc in $HAVE; do
|
||||
INCLUDES=$(echo $INCLUDES | tr ' ' '\n' | grep -v $inc)
|
||||
done
|
||||
echo $INCLUDES | tr ' ' '\n'
|
Loading…
Add table
Add a link
Reference in a new issue