Fix line 93 and later to match trimslice-kernel

This commit is contained in:
Mike Staszel 2011-07-07 23:07:01 -05:00
parent 70ba70cb2f
commit 360d08d0fb

View file

@ -42,7 +42,7 @@ build() {
# Add -ARCH patches # Add -ARCH patches
# See http://projects.archlinux.org/linux-2.6-ARCH.git/ # See http://projects.archlinux.org/linux-2.6-ARCH.git/
patch -Np1 -i ${srcdir}/${_patchname} || echo "Cheating!" #patch -Np1 -i ${srcdir}/${_patchname} || echo "Cheating!"
# Copy in our configuration # Copy in our configuration
#cp ../${_basekernel}.config ./.config #cp ../${_basekernel}.config ./.config
@ -90,7 +90,7 @@ package_kernel26-trimslice() {
optdepends=('crda: to set the correct wireless channels of your country') optdepends=('crda: to set the correct wireless channels of your country')
KARCH=arm KARCH=arm
cd ${srcdir}/linux-$_basekernel cd ${srcdir}/trimslice-kernel
# get kernel version # get kernel version
_kernver="$(make kernelrelease)" _kernver="$(make kernelrelease)"
mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot} mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot}
@ -121,7 +121,7 @@ package_kernel26-headers-trimslice() {
mkdir -p ${pkgdir}/lib/modules/${_kernver} mkdir -p ${pkgdir}/lib/modules/${_kernver}
cd ${pkgdir}/lib/modules/${_kernver} cd ${pkgdir}/lib/modules/${_kernver}
ln -sf ../../../usr/src/linux-${_kernver} build ln -sf ../../../usr/src/linux-${_kernver} build
cd ${srcdir}/linux-$_basekernel cd ${srcdir}/trimslice-kernel
install -D -m644 Makefile \ install -D -m644 Makefile \
${pkgdir}/usr/src/linux-${_kernver}/Makefile ${pkgdir}/usr/src/linux-${_kernver}/Makefile
install -D -m644 kernel/Makefile \ install -D -m644 kernel/Makefile \