-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From *Linux Kernel 4.4.13 LTS Has Multiple XFS and MIPS Improvements, Updated Drivers* [1]: > Looking at the diff from the previous maintenance release, Linux > 4.4.12, we can notice that Linux kernel 4.4.13 LTS includes multiple > improvements to the XFS file system and the MIPS instruction set > architecture. There are also the usual driver updates, for things like > GPU, hwmon, V4L2, MFD, networking (multiple updated Realtek and > Atheros wireless drivers), PCI, PINCTRL, SCSI, and Xen. [1] http://news.softpedia.com/news/linux-kernel-4-4-13-lts-has-multiple-xfs-and-mips-improvements-updated-drivers-505030.shtml
- Loading branch information
Showing
1 changed file
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
#!/bin/env beesh | ||
|
||
# note: CONFIG=/boot/config-WHATEVER BEE_MAKEFLAGS='-j 40' ./linux-xxx.bee | ||
|
||
KERNELVERSION=${PKGVERSION} | ||
if [ -z "${PKGVERSION[3]}" ] ; then | ||
KERNELVERSION=${KERNELVERSION}.0 | ||
fi | ||
|
||
echo $KERNELVERSION | ||
|
||
SRCURL[0]="http://www.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}.tar.xz" | ||
|
||
# backported to stable # PATCHURL+=(/src/mariux/patches/linux-0001-NFS-Fix-attribute-cache-revalidation.patch) | ||
PATCHURL+=(/src/mariux/patches/linux-0002-NFS-Ensure-we-revalidate-attributes-before-using-exe.patch) | ||
PATCHURL+=(/src/mariux/patches/linux-0003-NFSv4-Don-t-perform-cached-access-checks-before-we-v.patch) | ||
PATCHURL+=(/src/mariux/patches/linux-0001-net-better-skb-sender_cpu-and-skb-napi_id-cohabitati.patch) | ||
|
||
# EXCLUDE="" | ||
|
||
#CONFIG= | ||
|
||
KERNELLOCAL=".mx64.${PKGREVISION}" | ||
FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}" | ||
|
||
B=${S} | ||
|
||
mee_patch() { | ||
echo "PATCH $@" | ||
bee_patch $@ | ||
} | ||
|
||
mee_configure() { | ||
echo "configure $@" | ||
if [ -e /proc/config.gz ] ; then | ||
zcat /proc/config.gz >config-current | ||
RUNNING=config-current | ||
else | ||
RUNNING=/boot/config-$(uname -r) | ||
fi | ||
|
||
: ${CONFIG:=${RUNNING}} | ||
|
||
if [ ! -e ${CONFIG} ] ; then | ||
echo "can't find config '${CONFIG}'" | ||
exit 1 | ||
fi | ||
|
||
cp -v ${CONFIG} .config | ||
|
||
LOCALVERSION="\"${KERNELLOCAL}\"" | ||
sed -i -e "s@CONFIG_LOCALVERSION=.*@CONFIG_LOCALVERSION=${LOCALVERSION}@" .config | ||
|
||
echo "doing make -C ${S} olddefconfig in ${PWD} .." | ||
|
||
make olddefconfig | ||
|
||
echo "doing make -C ${S} menuconfig in ${PWD} .." | ||
|
||
make menuconfig | ||
} | ||
|
||
mee_build() { | ||
echo "build $@" | ||
make ${BEE_MAKEFLAGS} | ||
} | ||
|
||
mee_install() { | ||
echo "install $@" | ||
|
||
make modules_install INSTALL_MOD_PATH=${D} | ||
make install INSTALL_PATH=${D}/boot | ||
# make firmware_install INSTALL_MOD_PATH=${D} | ||
|
||
rm -v ${D}/lib/modules/${FULLKERNELVERSION}/{source,build} | ||
|
||
ln -sv /usr/src/linux/${PKGALLPKG}/source ${D}/lib/modules/${FULLKERNELVERSION}/source | ||
ln -sv /usr/src/linux/${PKGALLPKG}/build ${D}/lib/modules/${FULLKERNELVERSION}/build | ||
|
||
ln -sv bzImage-${FULLKERNELVERSION} ${D}/boot/mariux.${PKGREVISION} | ||
} | ||
|