From 8fe0e5f47f32569eb66b8ac8292a2643159a062a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Sat, 25 Jan 2014 12:22:29 +0000 Subject: [PATCH] Move preparation to prepare() --- PKGBUILD | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index bb620ab..c866f7f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -93,10 +93,6 @@ prepare() { # don't run depmod on 'make install'. We'll do this ourselves in packaging sed -i '2iexit 0' scripts/depmod.sh -} - -build() { - cd "${srcdir}/${_srcname}" # get kernel version make prepare @@ -118,14 +114,11 @@ build() { else cat .config > "${startdir}/config.last" fi +} - #################### - # stop here - # this is useful to configure the kernel - #msg "Stopping build"; return 1 - #################### +build() { + cd "${srcdir}/${_srcname}" - # build! make ${MAKEFLAGS} LOCALVERSION= bzImage modules }