mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/linux-kirkwood PKGBUILD rewrite and f2fs support
This commit is contained in:
parent
0fe7854389
commit
1f8aa587cc
3 changed files with 77 additions and 76 deletions
|
@ -5,12 +5,10 @@
|
||||||
buildarch=2
|
buildarch=2
|
||||||
|
|
||||||
pkgbase=linux-kirkwood
|
pkgbase=linux-kirkwood
|
||||||
pkgname=('linux-kirkwood' 'linux-headers-kirkwood')
|
_kernelname=${pkgbase#linux}
|
||||||
#pkgname=linux-test # Build kernel with a different name
|
_desc="Marvell Kirkwood"
|
||||||
_kernelname=${pkgname#linux}
|
pkgver=3.12.5
|
||||||
_basekernel=3.12.5
|
pkgrel=2
|
||||||
pkgver=${_basekernel}
|
|
||||||
pkgrel=1
|
|
||||||
cryptover=1.6
|
cryptover=1.6
|
||||||
bfqver=v6r2
|
bfqver=v6r2
|
||||||
uksmver="0.1.2.2"
|
uksmver="0.1.2.2"
|
||||||
|
@ -19,46 +17,44 @@ uksmname="v3.12"
|
||||||
arch=('arm')
|
arch=('arm')
|
||||||
url="http://www.kernel.org/"
|
url="http://www.kernel.org/"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage' 'kmod' 'inetutils' 'bc' 'git')
|
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-${_basekernel}.tar.xz"
|
|
||||||
|
source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-${pkgver}.tar.xz"
|
||||||
'archlinuxarm.patch'
|
'archlinuxarm.patch'
|
||||||
'config'
|
'config'
|
||||||
'mach-types::http://www.arm.linux.org.uk/developer/machines/download.php'
|
'mach-types::http://www.arm.linux.org.uk/developer/machines/download.php'
|
||||||
'change-default-console-loglevel.patch'
|
'change-default-console-loglevel.patch'
|
||||||
'usb-add-reset-resume-quirk-for-several-webcams.patch'
|
'usb-add-reset-resume-quirk-for-several-webcams.patch'
|
||||||
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}"
|
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}"
|
||||||
"http://download.gna.org/cryptodev-linux/cryptodev-linux-${cryptover}.tar.gz"
|
"http://download.gna.org/cryptodev-linux/cryptodev-linux-${cryptover}.tar.gz"
|
||||||
"http://kerneldedup.org/download/uksm/${uksmver}/uksm-${uksmver}-for-${uksmname}.patch"
|
"http://kerneldedup.org/download/uksm/${uksmver}/uksm-${uksmver}-for-${uksmname}.patch"
|
||||||
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/${pkgver%.*}.0-${bfqver}/0001-block-cgroups-kconfig-build-bits-for-BFQ-${bfqver}-${pkgver%.*}.patch"
|
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/${pkgver%.*}.0-${bfqver}/0001-block-cgroups-kconfig-build-bits-for-BFQ-${bfqver}-${pkgver%.*}.patch"
|
||||||
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/${pkgver%.*}.0-${bfqver}/0002-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-${pkgver%.*}.patch"
|
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/${pkgver%.*}.0-${bfqver}/0002-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-${pkgver%.*}.patch"
|
||||||
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/${pkgver%.*}.0-${bfqver}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-${bfqver}-for-${pkgver%.*}.0.patch")
|
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/${pkgver%.*}.0-${bfqver}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-${bfqver}-for-${pkgver%.*}.0.patch")
|
||||||
|
|
||||||
md5sums=('5b5330f657f562f7bef6da100a7133b1'
|
md5sums=('5b5330f657f562f7bef6da100a7133b1'
|
||||||
'1c87cbbc3355eb8741143b4595d0bb5e'
|
'1c87cbbc3355eb8741143b4595d0bb5e'
|
||||||
'f7a4e67288ff6d2148bc8175a0a18ac3'
|
'd71e93b59e8253b5ebf10435e6b687dc'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'65d5a4f313310bb2a732d022d51ea7e7'
|
'65d5a4f313310bb2a732d022d51ea7e7'
|
||||||
'9b5a265440abf57d2052838f31486a3a'
|
'9b5a265440abf57d2052838f31486a3a'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'eade38998313c25fd7934719cdf8a2ea'
|
'eade38998313c25fd7934719cdf8a2ea'
|
||||||
'57cbf7fa8220461f8a052ea0eb9af779'
|
'57cbf7fa8220461f8a052ea0eb9af779'
|
||||||
'2d39966d14fdad1e05679232f97fdb3c'
|
'2d39966d14fdad1e05679232f97fdb3c'
|
||||||
'2965641038a5aae263722b1ba16b971b'
|
'2965641038a5aae263722b1ba16b971b'
|
||||||
'9a55951ee4c3741b61e2e159631b5cf2')
|
'9a55951ee4c3741b61e2e159631b5cf2')
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
msg "Patches"
|
cd "${srcdir}/linux-${pkgver}"
|
||||||
|
|
||||||
#cd into kernel tree
|
|
||||||
cd "${srcdir}/linux-${_basekernel}"
|
|
||||||
|
|
||||||
msg2 "Copying aufs3 patches into the kernel source tree"
|
msg2 "Copying aufs3 patches into the kernel source tree"
|
||||||
|
|
||||||
cp -ru "${srcdir}/aufs3-standalone/Documentation" "${srcdir}/linux-${_basekernel}/"
|
cp -ru "${srcdir}/aufs3-standalone/Documentation" "${srcdir}/linux-${pkgver}/"
|
||||||
cp -ru "${srcdir}/aufs3-standalone/fs" "${srcdir}/linux-${_basekernel}/"
|
cp -ru "${srcdir}/aufs3-standalone/fs" "${srcdir}/linux-${pkgver}/"
|
||||||
cp -ru "${srcdir}/aufs3-standalone/include/uapi/linux/aufs_type.h" "${srcdir}/linux-${_basekernel}/include/linux/"
|
cp -ru "${srcdir}/aufs3-standalone/include/uapi/linux/aufs_type.h" "${srcdir}/linux-${pkgver}/include/linux/"
|
||||||
cp -ru "${srcdir}/aufs3-standalone/include/uapi/linux/aufs_type.h" "${srcdir}/linux-${_basekernel}/include/uapi/linux/"
|
cp -ru "${srcdir}/aufs3-standalone/include/uapi/linux/aufs_type.h" "${srcdir}/linux-${pkgver}/include/uapi/linux/"
|
||||||
|
|
||||||
msg2 "Applying aufs3 patches"
|
msg2 "Applying aufs3 patches"
|
||||||
patch -Np1 -i ../aufs3-standalone/aufs3-kbuild.patch
|
patch -Np1 -i ../aufs3-standalone/aufs3-kbuild.patch
|
||||||
|
@ -82,23 +78,17 @@ msg2 "Add BFQ patches"
|
||||||
patch -Np1 -i "${srcdir}/0002-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-${pkgver%.*}.patch"
|
patch -Np1 -i "${srcdir}/0002-block-introduce-the-BFQ-${bfqver}-I-O-sched-for-${pkgver%.*}.patch"
|
||||||
patch -Np1 -i "${srcdir}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-${bfqver}-for-${pkgver%.*}.0.patch"
|
patch -Np1 -i "${srcdir}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-${bfqver}-for-${pkgver%.*}.0.patch"
|
||||||
|
|
||||||
# add latest fixes from stable queue, if needed
|
|
||||||
# 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)
|
|
||||||
# remove this when a Kconfig knob is made available by upstream
|
|
||||||
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
|
||||||
msg2 "Change default loglevel"
|
|
||||||
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
|
|
||||||
|
|
||||||
msg "Prepare to build"
|
|
||||||
cat "${srcdir}/config" > ./.config
|
cat "${srcdir}/config" > ./.config
|
||||||
|
|
||||||
# set extraversion to pkgrel
|
# add pkgrel to extraversion
|
||||||
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
|
sed -ri "s|^(EXTRAVERSION =)(.*)|\1 \2-${pkgrel}|" Makefile
|
||||||
|
|
||||||
# don't run depmod on 'make install'. We'll do this ourselves in packaging
|
# don't run depmod on 'make install'. We'll do this ourselves in packaging
|
||||||
sed -i '2iexit 0' scripts/depmod.sh
|
sed -i '2iexit 0' scripts/depmod.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/linux-${pkgver}"
|
||||||
|
|
||||||
# get kernel version
|
# get kernel version
|
||||||
make prepare
|
make prepare
|
||||||
|
@ -112,7 +102,7 @@ msg "Prepare to build"
|
||||||
# ... or manually edit .config
|
# ... or manually edit .config
|
||||||
|
|
||||||
# Copy back our configuration (use with new kernel version)
|
# Copy back our configuration (use with new kernel version)
|
||||||
#cp ./.config ../${_basekernel}.config
|
#cp ./.config ../${pkgbase}.config
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# stop here
|
# stop here
|
||||||
|
@ -126,25 +116,28 @@ msg "Prepare to build"
|
||||||
msg "Building!"
|
msg "Building!"
|
||||||
make ${MAKEFLAGS} uImage modules
|
make ${MAKEFLAGS} uImage modules
|
||||||
|
|
||||||
msg "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-${pkgver}"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-kirkwood() {
|
_package() {
|
||||||
pkgdesc="The Linux Kernel and modules - Marvell Kirkwood"
|
pkgdesc="The Linux Kernel and modules - ${_desc}"
|
||||||
depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.16' 'mkinitcpio>=0.7')
|
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
||||||
optdepends=('crda: to set the correct wireless channels of your country')
|
optdepends=('crda: to set the correct wireless channels of your country')
|
||||||
provides=('kernel26' 'aufs_friendly' 'cryptodev_friendly' 'linux=${pkgver}')
|
provides=('kernel26' 'linux=${pkgver}' 'aufs_friendly')
|
||||||
conflicts=('linux')
|
conflicts=('linux-kirkwood-dt' 'linux' 'linux-olinuxino')
|
||||||
install=${pkgname}.install
|
install=${pkgname}.install
|
||||||
|
|
||||||
cd "${srcdir}/linux-${_basekernel}"
|
cd "${srcdir}/linux-${pkgver}"
|
||||||
|
|
||||||
KARCH=arm
|
KARCH=arm
|
||||||
|
|
||||||
# get kernel version
|
# get kernel version
|
||||||
_kernver="$(make kernelrelease)"
|
_kernver="$(make kernelrelease)"
|
||||||
|
#_basekernel=${_kernver%%-*}
|
||||||
|
#_basekernel=${_basekernel%.*}
|
||||||
|
_basekernel=${pkgver}
|
||||||
|
|
||||||
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
|
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
|
||||||
make INSTALL_MOD_PATH="${pkgdir}" modules_install
|
make INSTALL_MOD_PATH="${pkgdir}" modules_install
|
||||||
|
@ -170,9 +163,9 @@ package_linux-kirkwood() {
|
||||||
|
|
||||||
# install cryptodev module
|
# install cryptodev module
|
||||||
cd "${srcdir}/cryptodev-linux-${cryptover}"
|
cd "${srcdir}/cryptodev-linux-${cryptover}"
|
||||||
make -C "${srcdir}/linux-${_basekernel}" INSTALL_MOD_PATH="${pkgdir}" SUBDIRS=`pwd` modules_install
|
make -C "${srcdir}/linux-${pkgver}" INSTALL_MOD_PATH="${pkgdir}" SUBDIRS=`pwd` modules_install
|
||||||
|
|
||||||
cd "${srcdir}/linux-${_basekernel}"
|
cd "${srcdir}/linux-${pkgver}"
|
||||||
|
|
||||||
# Now we call depmod...
|
# Now we call depmod...
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
@ -182,17 +175,18 @@ package_linux-kirkwood() {
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-kirkwood() {
|
_package-headers() {
|
||||||
pkgdesc="Header files and scripts for building modules for linux kernel - Marvell Kirkwood"
|
pkgdesc="Header files and scripts for building modules for linux kernel - ${_desc}"
|
||||||
provides=('kernel26-headers' 'linux-headers=${pkgver}')
|
provides=('linux-headers=${pkgver}')
|
||||||
conflicts=('kernel26-headers' 'linux-headers')
|
conflicts=('linux-headers-kirkwood-dt' 'linux-headers' 'linux-headers-olinuxino')
|
||||||
|
replaces=('linux-headers-kirkwood')
|
||||||
|
|
||||||
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
||||||
|
|
||||||
cd "${pkgdir}/usr/lib/modules/${_kernver}"
|
cd "${pkgdir}/usr/lib/modules/${_kernver}"
|
||||||
ln -sf ../../../src/linux-${_kernver} build
|
ln -sf ../../../src/linux-${_kernver} build
|
||||||
|
|
||||||
cd "${srcdir}/linux-${_basekernel}"
|
cd "${srcdir}/linux-${pkgver}"
|
||||||
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 \
|
||||||
|
@ -201,10 +195,6 @@ package_linux-headers-kirkwood() {
|
||||||
"${pkgdir}/usr/src/linux-${_kernver}/.config"
|
"${pkgdir}/usr/src/linux-${_kernver}/.config"
|
||||||
|
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
|
||||||
make headers_install INSTALL_HDR_PATH="${pkgdir}/usr/src/linux-${_kernver}"
|
|
||||||
|
|
||||||
# Clean up unneeded files
|
|
||||||
# find "${pkgdir}" -name "..install.cmd" -delete
|
|
||||||
|
|
||||||
for i in acpi asm-generic config crypto drm generated linux math-emu \
|
for i in acpi asm-generic config crypto drm generated linux math-emu \
|
||||||
media net pcmcia scsi sound trace uapi video xen; do
|
media net pcmcia scsi sound trace uapi video xen; do
|
||||||
|
@ -212,12 +202,12 @@ package_linux-headers-kirkwood() {
|
||||||
done
|
done
|
||||||
|
|
||||||
# copy arch includes for external modules
|
# copy arch includes for external modules
|
||||||
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/arm
|
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH
|
||||||
cp -a arch/arm/include ${pkgdir}/usr/src/linux-${_kernver}/arch/arm/
|
cp -a arch/$KARCH/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
|
||||||
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/arm/mach-kirkwood
|
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-kirkwood
|
||||||
cp -a arch/arm/mach-kirkwood/include ${pkgdir}/usr/src/linux-${_kernver}/arch/arm/mach-kirkwood/
|
cp -a arch/$KARCH/mach-kirkwood/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-kirkwood/
|
||||||
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/arm/plat-orion
|
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/plat-orion
|
||||||
cp -a arch/arm/plat-orion/include ${pkgdir}/usr/src/linux-${_kernver}/arch/arm/plat-orion/
|
cp -a arch/$KARCH/plat-orion/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/plat-orion/
|
||||||
|
|
||||||
# copy files necessary for later builds, like nvidia and vmware
|
# copy files necessary for later builds, like nvidia and vmware
|
||||||
cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
|
cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
|
||||||
|
@ -227,28 +217,28 @@ package_linux-headers-kirkwood() {
|
||||||
chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
|
chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"
|
||||||
|
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/arm/kernel"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"
|
||||||
|
|
||||||
cp arch/arm/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/arm/"
|
cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
|
||||||
|
|
||||||
cp arch/arm/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/arm/kernel/"
|
cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"
|
||||||
|
|
||||||
# add headers for lirc package
|
# add headers for lirc package
|
||||||
# pci
|
# pci
|
||||||
for i in bt8xx cx88 saa7134; do
|
for i in bt8xx cx88 saa7134; do
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
|
||||||
cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
|
cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
|
||||||
done
|
done
|
||||||
# usb
|
# usb
|
||||||
for i in cpia2 em28xx pwc sn9c102; do
|
for i in cpia2 em28xx pwc sn9c102; do
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
|
||||||
cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
|
cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
|
||||||
done
|
done
|
||||||
# i2c
|
# i2c
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c"
|
||||||
cp drivers/media/i2c/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
|
cp drivers/media/i2c/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
|
||||||
for i in cx25840; do
|
for i in cx25840; do
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
|
||||||
cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
|
cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -256,7 +246,7 @@ mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
|
||||||
install -D -m644 Documentation/DocBook/Makefile \
|
install -D -m644 Documentation/DocBook/Makefile \
|
||||||
"${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
|
"${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
|
||||||
|
|
||||||
# add dm headers
|
# add dm headers
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
|
||||||
cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
|
cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
|
||||||
|
|
||||||
|
@ -283,7 +273,7 @@ mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
|
||||||
# http://bugs.archlinux.org/task/13146
|
# http://bugs.archlinux.org/task/13146
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
|
||||||
cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
|
cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
|
||||||
#cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
|
cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
|
||||||
|
|
||||||
# add dvb headers
|
# add dvb headers
|
||||||
# in reference to:
|
# in reference to:
|
||||||
|
@ -305,7 +295,7 @@ mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
|
||||||
mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
|
mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
|
||||||
cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
|
cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
|
||||||
done
|
done
|
||||||
|
|
||||||
chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
|
chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
|
||||||
find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;
|
find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;
|
||||||
|
|
||||||
|
@ -328,3 +318,10 @@ mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
|
||||||
cd "${srcdir}/cryptodev-linux-${cryptover}"
|
cd "${srcdir}/cryptodev-linux-${cryptover}"
|
||||||
install -D crypto/cryptodev.h "${pkgdir}/usr/src/linux-${_kernver}/crypto/cryptodev.h"
|
install -D crypto/cryptodev.h "${pkgdir}/usr/src/linux-${_kernver}/crypto/cryptodev.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkgname=("${pkgbase}" "${pkgbase}-headers")
|
||||||
|
for _p in ${pkgname[@]}; do
|
||||||
|
eval "package_${_p}() {
|
||||||
|
_package${_p#${pkgbase}}
|
||||||
|
}"
|
||||||
|
done
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# Automatically generated file; DO NOT EDIT.
|
# Automatically generated file; DO NOT EDIT.
|
||||||
# Linux/arm 3.12.0-1 Kernel Configuration
|
# Linux/arm 3.12.5-1 Kernel Configuration
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
|
@ -4293,7 +4293,11 @@ CONFIG_ROMFS_ON_BLOCK=y
|
||||||
# CONFIG_PSTORE is not set
|
# CONFIG_PSTORE is not set
|
||||||
# CONFIG_SYSV_FS is not set
|
# CONFIG_SYSV_FS is not set
|
||||||
# CONFIG_UFS_FS is not set
|
# CONFIG_UFS_FS is not set
|
||||||
# CONFIG_F2FS_FS is not set
|
CONFIG_F2FS_FS=y
|
||||||
|
CONFIG_F2FS_STAT_FS=y
|
||||||
|
CONFIG_F2FS_FS_XATTR=y
|
||||||
|
CONFIG_F2FS_FS_POSIX_ACL=y
|
||||||
|
# CONFIG_F2FS_FS_SECURITY is not set
|
||||||
CONFIG_AUFS_FS=y
|
CONFIG_AUFS_FS=y
|
||||||
CONFIG_AUFS_BRANCH_MAX_127=y
|
CONFIG_AUFS_BRANCH_MAX_127=y
|
||||||
# CONFIG_AUFS_BRANCH_MAX_511 is not set
|
# CONFIG_AUFS_BRANCH_MAX_511 is not set
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# arg 2: the old package version
|
# arg 2: the old package version
|
||||||
|
|
||||||
KERNEL_NAME=-kirkwood
|
KERNEL_NAME=-kirkwood
|
||||||
KERNEL_VERSION=3.12.1-1-ARCH
|
KERNEL_VERSION=3.12.5-1-ARCH
|
||||||
|
|
||||||
post_install () {
|
post_install () {
|
||||||
# updating module dependencies
|
# updating module dependencies
|
||||||
|
|
Loading…
Reference in a new issue