core/linux-2.6-CHAKRA/PATCHCFG

58 lines
2.7 KiB
Plaintext
Raw Normal View History

2010-05-16 23:08:55 +08:00
# Kernel source file
SRC="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.tar.bz2"
2010-05-16 23:08:55 +08:00
# Original source directory
SRCORIG="linux-2.6.36"
2010-05-16 23:08:55 +08:00
# Our source directory
SRCNAME="linux-2.6.36-CHAKRA"
2010-05-16 23:08:55 +08:00
# Patches:
# URL%patchlevel
# or
# filename%patchlevel (file must be in patches/ subdirectory)
PATCHES=(
# add upstream patch from 2.6.36 series
#http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.36.1.bz2%1
2010-05-16 23:08:55 +08:00
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
# add aufs2 support, in reference to:
# http://aufs.sourceforge.net
http://chakra-project.org/sources/kernel26/patches/aufs2.1/aufs2-kbuild.patch%1
http://chakra-project.org/sources/kernel26/patches/aufs2.1/aufs2-base.patch%1
http://chakra-project.org/sources/kernel26/patches/aufs2.1/aufs2-standalone.patch%1
http://chakra-project.org/sources/kernel26/patches/aufs2.1/aufs2.1-standalone.tree-36-UNRELEASED-20101111.patch.bz2%1
# squashfs with lzma
http://chakra-project.org/sources/kernel26/patches/squashfs-lzma/kernel-squashfs-lzma-v1.7-2.6.36.patch.bz2%1
# acerhk
http://chakra-project.org/sources/kernel26/patches/acerhk/01_acerhk-0.5.35.patch.bz2%1
http://chakra-project.org/sources/kernel26/patches/acerhk/02_64bits_support_for_aspire5100.patch%1
http://chakra-project.org/sources/kernel26/patches/acerhk/03_Add_Medion_MD97600_support.patch%1
http://chakra-project.org/sources/kernel26/patches/acerhk/04_3rd-acerhk-proc_dir_entry-owner.patch%1
http://chakra-project.org/sources/kernel26/patches/acerhk/05_kbuild.patch%1
http://chakra-project.org/sources/kernel26/patches/acerhk/06_lindent.patch.bz2%1
http://chakra-project.org/sources/kernel26/patches/acerhk/07_remove-ifdefs-for-ancient-kernels.patch.bz2%1
http://chakra-project.org/sources/kernel26/patches/acerhk/08_remove-ifdefs-for-ACERDEBUG.patch.bz2%1
http://chakra-project.org/sources/kernel26/patches/acerhk/09_kcompat-2.6.36.patch%1
2010-11-18 05:15:16 +08:00
# sched_autogroup
http://chakra-project.org/sources/kernel26/patches/autogroup/autogroup-2.6.36-Galbraith-lnet.1.patch.bz2%1
2010-09-20 03:47:46 +08:00
2010-05-16 23:08:55 +08:00
)
# Name of the resulting patch (will be bzipped afterwards)
PATCHNAME="patch-2.6.36-8-CHAKRA"
2010-05-16 23:08:55 +08:00
# Run this before applying patches
pre_apply() {
:
}
# Run this after applying patches
post_apply() {
# remove the extraversion from Makefile
# this ensures our kernel version is always 2.6.XX-CHAKRA
2010-05-16 23:08:55 +08:00
# this way, minor kernel updates will not break external modules
sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION = |g' Makefile
# Kill some files
find . -name '*~' -exec rm -f {} \; 2>/dev/null
}