Lines Matching +full:linux +full:- +full:s390x
3 # Install musl and musl-sanitized linux kernel headers
4 # to musl-{$1} directory
6 set -ex
9 MUSL="musl-${MUSL_VERSION}"
12 curl --retry 5 https://www.musl-libc.org/releases/${MUSL}.tar.gz | tar xzf -
19 CC=aarch64-linux-gnu-gcc \
20 ./configure --prefix="/musl-${musl_arch}" --enable-wrapper=yes
21 make install -j4
26 CC=arm-linux-gnueabihf-gcc CFLAGS="-march=armv6 -marm -mfpu=vfp" \
27 ./configure --prefix="/musl-${musl_arch}" --enable-wrapper=yes
28 make install -j4
31 # cross-compile musl for i686 using the system compiler on an x86_64
35 # Specifically pass -m32 in CFLAGS and override CC when running
37 CC=gcc CFLAGS="-m32" \
38 ./configure --prefix="/musl-${musl_arch}" --disable-shared --target=i686
40 # call the non-existent binary 'i686-ar'.
41 make CROSS_COMPILE= install -j4
46 ./configure --prefix="/musl-${musl_arch}"
47 make install -j4
52 CC=mips64-linux-gnuabi64-gcc CFLAGS="-march=mips64r2 -mabi=64" \
53 ./configure --prefix="/musl-${musl_arch}" --enable-wrapper=yes
54 make install -j4
59 CC=mips64el-linux-gnuabi64-gcc CFLAGS="-march=mips64r2 -mabi=64" \
60 ./configure --prefix="/musl-${musl_arch}" --enable-wrapper=yes
61 make install -j4
63 s390x)
64 musl_arch=s390x
66 CC=s390x-linux-gnu-gcc \
67 ./configure --prefix="/musl-${musl_arch}" --enable-wrapper=yes
68 make install -j4
79 rm -rf $MUSL
81 # Download, configure, build, and install musl-sanitized kernel headers:
83 curl --retry 5 -L \
84 "https://github.com/sabotage-linux/kernel-headers/archive/v${KERNEL_HEADER_VER}.tar.gz" | \
85 tar xzf -
87 cd kernel-headers-${KERNEL_HEADER_VER}
88 make ARCH="${kernel_arch}" prefix="/musl-${musl_arch}" install -j4
90 rm -rf kernel-headers-${KERNEL_HEADER_VER}