12345678910111213141516171819202122232425262728293031323334353637383940 |
- bsurum=5.1
- cd "${SRC}/linux-${bsurum}"
- cp "${SRC}/patch-$surum.xz" .
- unxz patch-$surum.xz
- # güncel kernel yama
- patch -p1 -i "patch-${surum}"
-
- # güvenli kernel yaması
- #patch -p1 -i "${SRC}/linux-hardened-${surum}.a.patch"
-
- #çalışan sistem aufs yamaları
- patch -p1 -i "${SRC}/aufs5.patch"
- patch -p1 -i "${SRC}/aufs5-base.patch"
- patch -p1 -i "${SRC}/aufs5-kbuild.patch"
- patch -p1 -i "${SRC}/aufs5-loopback.patch"
- patch -p1 -i "${SRC}/aufs5-mmap.patch"
- patch -p1 -i "${SRC}/aufs5-standalone.patch"
- patch -p1 -i "${SRC}/tmpfs-idr.patch"
- patch -p1 -i "${SRC}/vfs-ino.patch"
- #patch -p1 -i "${SRC}/rtlwifi.patch"
-
- cat "${SRC}/kernel-${bsurum}-config" > ./.config
- cat "${SRC}/kernel-${bsurum}-config.aufs" >> ./.config
- # kernel sürümüne devir sayısı eklemek için
- # set extraversion to release
- #sed -ri "s|^(EXTRAVERSION =).*|\1 -${devir}|" Makefile
- cd "${SRC}/linux-${bsurum}"
-
- export KBUILD_BUILD_USER="milisarge"
- export KBUILD_BUILD_HOST="`uname -m`.milislinux.org"
-
- # ayarları onaylama
- make olddefconfig
- # derleme
- make $MAKEJOBS bzImage modules
|