|
发表于 2005-8-8 21:59:55
|
显示全部楼层
pkgname=kernel26ck
pkgver=2.6.12.ck5
_origver=2.6.12
_patchver=ck5
pkgrel=1
pkgdesc="The Linux Kernel and modules (Con Kolivas high performance ck-patchset with specific emphasis on the desktop)"
url="http://members.optusnet.com.au/ckolivas/kernel"
backup=('boot/kconfig26ck')
depends=('module-init-tools')
install=kernel26ck.install
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${_origver}.tar.bz2 \
http://ck.kolivas.org/patches/2.6/${_origver}/${_origver}-${_patchver}/patch-${_origver}-${_patchver}.bz2 \
config logo_linux_clut224.ppm ndevfs.patch \
http://www.kernel.org/pub/linux/ ... 2.6.12-rc6-13.patch \
ftp://ftp.kernel.org/pub/linux/k ... 408-2.6.12.diff.bz2 \
http://ck.kolivas.org/patches/2. ... 1-6629_compat2.diff \
http://gaugusch.at/acpi-dsdt-ini ... h-v0.7d-2.6.9.patch)
build() {
cd $startdir/src/linux-${_origver}
patch -Np1 -i ../patch-${_origver}-${_patchver} || return 1
patch -Np1 -i ../ndevfs.patch || return 1
patch -Np1 -i ../inotify-0.23-rml-2.6.12-rc6-13.patch || return 1
patch -Np1 -i ../acpi-20050408-2.6.12.diff || return 1
patch -Np1 -i ../nvidia_6111-6629_compat2.diff || return 1
patch -Np1 -i ../acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch || return 1
# Arch logo!
cp ../logo_linux_clut224.ppm drivers/video/logo/
# get rid of the 'i' in i686
carch=`echo $CARCH | sed 's|i||'`
cat ../config | sed "s|#CARCH#|$carch|g" >./.config
# build the full kernel version to use in pathnames
. ./.config
_kernver="${_origver}-${_patchver}${CONFIG_LOCALVERSION}"
# load configuration
yes "" | make config
#make oldconfig || return 1
#make menuconfig || return 1
# build!
make clean bzImage modules || return 1
。。。。。。
后面有些步骤不同。。。省略掉了,应该可以的 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|