diff options
author | root <root@rshg054.dnsready.net> | 2013-04-14 00:46:08 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-14 00:46:08 -0700 |
commit | 8ec4fd7a9e4748c568b20fefcb2dec0f289dc213 (patch) | |
tree | 57356a416a46b3c8894bd71a4503aecb49f2ed7f /kernels/linux-libre-rt/PKGBUILD | |
parent | 8f0418e4a239ba973834592537b474d3aac52d5b (diff) |
Sun Apr 14 00:46:05 PDT 2013
Diffstat (limited to 'kernels/linux-libre-rt/PKGBUILD')
-rw-r--r-- | kernels/linux-libre-rt/PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD index a239bce41..fed3ad748 100644 --- a/kernels/linux-libre-rt/PKGBUILD +++ b/kernels/linux-libre-rt/PKGBUILD @@ -18,7 +18,7 @@ _lxopkgver=${_basekernel}.4 # nearly always the same as pkgver arch=('i686' 'x86_64' 'mips64el') url="http://linux-libre.fsfla.org/" license=('GPL2') -makedepends=('xmlto' 'docbook-xsl') +makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc') options=('!strip') source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz" "http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}-gnu/patch-${_basekernel}-gnu-${_pkgver}-gnu.xz" @@ -52,7 +52,7 @@ fi _kernelname=${pkgbase#linux-libre} _localversionname=-LIBRE-RT -build() { +prepare() { cd "${srcdir}/linux-${_basekernel}" if [ "${_basekernel}" != "${pkgver}" ]; then @@ -102,6 +102,10 @@ build() { # don't run depmod on 'make install'. We'll do this ourselves in packaging sed -i '2iexit 0' scripts/depmod.sh +} + +build() { + cd "${srcdir}/linux-${_basekernel}" # get kernel version make prepare |