Move preparation to prepare()
This commit is contained in:
parent
d9eece4731
commit
8fe0e5f47f
13
PKGBUILD
13
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue