mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-30 05:11:20 +00:00
6cf0949e99
Makes it easy to port packages to other architectures.
19 lines
329 B
Plaintext
19 lines
329 B
Plaintext
v="3.10.32"
|
|
url="$mirror/kernel.tar.gz"
|
|
|
|
build: crossmusl
|
|
cd src/linux-$v
|
|
cp "$top/stuff/kernel-config-$arch" .config
|
|
case "$arch" in
|
|
x86_64)
|
|
A=x86_64
|
|
;;
|
|
i486)
|
|
A=x86
|
|
;;
|
|
esac
|
|
make ARCH="$A" bzImage -j$nprocs
|
|
cp arch/x86/boot/bzImage "$root/boot"
|
|
cp .config "$root/boot/bzImage.config"
|
|
cp System.map "$root/boot"
|