mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
core/linux some cosmetic changes for easier debuging of patches. No need to rebuild
This commit is contained in:
parent
b70aa58a3b
commit
460f3cfe5c
1 changed files with 12 additions and 9 deletions
|
@ -58,30 +58,33 @@ md5sums=('8d43453f8159b2332ad410b19d86a931'
|
||||||
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
msg "Patches:"
|
||||||
cd "${srcdir}/linux-${_basekernel}"
|
cd "${srcdir}/linux-${_basekernel}"
|
||||||
|
|
||||||
# add upstream patch
|
msg2 "Add upstream patch"
|
||||||
patch -p1 -i "${srcdir}/patch-${pkgver}"
|
patch -p1 -i "${srcdir}/patch-${pkgver}"
|
||||||
|
|
||||||
#Add the pci-e patch backported from 3.6.10 for kirkwoods
|
msg2 "Add the pci-e patch backported from 3.6.10 for kirkwoods"
|
||||||
patch -Np1 -i "${srcdir}/pciefix.patch"
|
patch -Np1 -i "${srcdir}/pciefix.patch"
|
||||||
|
|
||||||
# Add the USB_QUIRK_RESET_RESUME for several webcams
|
msg2 "Add the USB_QUIRK_RESET_RESUME for several webcams"
|
||||||
# FS#26528
|
# FS#26528
|
||||||
patch -Np1 -i "${srcdir}/usb-add-reset-resume-quirk-for-several-webcams.patch"
|
patch -Np1 -i "${srcdir}/usb-add-reset-resume-quirk-for-several-webcams.patch"
|
||||||
|
|
||||||
# Add Arch Linux ARM patch for ARMv5te plug computers, requested additional support, mach-types
|
msg2 "Add Arch Linux ARM patch for ARMv5te plug computers,"
|
||||||
|
msg2 " requested additional support, mach-types"
|
||||||
patch -Np1 -i "${srcdir}/archlinuxarm.patch"
|
patch -Np1 -i "${srcdir}/archlinuxarm.patch"
|
||||||
patch -Np1 -i "${srcdir}/support.patch"
|
patch -Np1 -i "${srcdir}/support.patch"
|
||||||
cp "${srcdir}/mach-types" arch/arm/tools
|
cp "${srcdir}/mach-types" arch/arm/tools
|
||||||
|
|
||||||
#Add BFQ I/O scheduler patches
|
msg2 "Add BFQ I/O scheduler patches"
|
||||||
patch -Np1 -i "${srcdir}/0001-block-prepare-I-O-context-code-for-BFQ-${bfqver}-for-${_basekernel}.patch"
|
patch -Np1 -i "${srcdir}/0001-block-prepare-I-O-context-code-for-BFQ-${bfqver}-for-${_basekernel}.patch"
|
||||||
patch -Np1 -i "${srcdir}/0002-block-cgroups-kconfig-build-bits-for-BFQ-${bfqver}-${_basekernel}.patch"
|
patch -Np1 -i "${srcdir}/0002-block-cgroups-kconfig-build-bits-for-BFQ-${bfqver}-${_basekernel}.patch"
|
||||||
patch -Np1 -i "${srcdir}/0003-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-${_basekernel}.patch"
|
patch -Np1 -i "${srcdir}/0003-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-${_basekernel}.patch"
|
||||||
|
msg2 "Fix a possible BFQ bug"
|
||||||
patch -Np1 -i "${srcdir}/0001-block-bfq-attempt-to-fix-use-after-free-which-2.6.38-to-3.2.0.patch"
|
patch -Np1 -i "${srcdir}/0001-block-bfq-attempt-to-fix-use-after-free-which-2.6.38-to-3.2.0.patch"
|
||||||
|
|
||||||
# Add AUFS3 patches
|
msg2 "Add AUFS3 patches"
|
||||||
patch -Np1 -i "${srcdir}/aufs3-kbuild.patch"
|
patch -Np1 -i "${srcdir}/aufs3-kbuild.patch"
|
||||||
patch -Np1 -i "${srcdir}/aufs3-base.patch"
|
patch -Np1 -i "${srcdir}/aufs3-base.patch"
|
||||||
patch -Np1 -i "${srcdir}/aufs3-standalone.patch"
|
patch -Np1 -i "${srcdir}/aufs3-standalone.patch"
|
||||||
|
@ -90,7 +93,7 @@ build() {
|
||||||
# add latest fixes from stable queue, if needed
|
# add latest fixes from stable queue, if needed
|
||||||
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
||||||
|
|
||||||
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
|
msg2 "Set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)"
|
||||||
# remove this when a Kconfig knob is made available by upstream
|
# remove this when a Kconfig knob is made available by upstream
|
||||||
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
||||||
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
|
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
|
||||||
|
@ -126,10 +129,10 @@ build() {
|
||||||
|
|
||||||
#yes "" | make config
|
#yes "" | make config
|
||||||
|
|
||||||
# build!
|
msg "Building!"
|
||||||
make ${MAKEFLAGS} uImage modules
|
make ${MAKEFLAGS} uImage modules
|
||||||
|
|
||||||
# build cryptodev module
|
msg "Building cryptodev module"
|
||||||
cd "${srcdir}/cryptodev-linux-${cryptover}"
|
cd "${srcdir}/cryptodev-linux-${cryptover}"
|
||||||
make KERNEL_DIR="${srcdir}/linux-${_basekernel}"
|
make KERNEL_DIR="${srcdir}/linux-${_basekernel}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue