diff options
author | Cem Keylan <cem@ckyln.com> | 2020-03-18 12:24:30 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-03-18 12:24:30 +0300 |
commit | 250bb944a0e9228815bc1294dbf0e9160a1b95ab (patch) | |
tree | 6a7ef5c2487760cd7de40fcc2f42cd5c65d8f0b3 /cem/linux/build | |
parent | 4c391d1e500cc1e61518546a28d07cd75e2150be (diff) | |
download | repository-250bb944a0e9228815bc1294dbf0e9160a1b95ab.tar.gz |
update linux
Diffstat (limited to 'cem/linux/build')
-rwxr-xr-x | cem/linux/build | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/cem/linux/build b/cem/linux/build index d7bc96e..8c4429e 100755 --- a/cem/linux/build +++ b/cem/linux/build @@ -1,15 +1,6 @@ #!/bin/sh -e -make -j12 -make INSTALL_MOD_PATH="$1/usr/lib/modules" modules_install - -VERSION="$(sed 4q Makefile | grep VERSION | cut -d " " -f 3)" -PATCHLEVEL="$(sed 4q Makefile | grep PATCHLEVEL | cut -d " " -f 3)" -SUBLEVEL="$(sed 4q Makefile | grep SUBLEVEL | cut -d " " -f 3)" -KERNELVERSION="$VERSION.$PATCHLEVEL.$SUBLEVEL" - -for file in vmlinux System.map ; do - install -Dm644 "$file" "$1/boot/$file-$KERNELVERSION" -done -install -Dm644 .config "$1/boot/Config-$KERNELVERSION" -install -Dm644 arch/x86/boot/bzImage "$1/boot/vmlinuz-$KERNELVERSION" +make -j "$(nproc)" +install -Dm644 System.map "$1/boot/System.map" +install -Dm644 .config "$1/boot/Config" +install -Dm644 arch/x86/boot/bzImage "$1/boot/vmlinuz-linux-z" |