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
|
# 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}/${_srcname}"
|
|
||||||
|
|
||||||
# get kernel version
|
# get kernel version
|
||||||
make prepare
|
make prepare
|
||||||
|
@ -118,14 +114,11 @@ build() {
|
||||||
else
|
else
|
||||||
cat .config > "${startdir}/config.last"
|
cat .config > "${startdir}/config.last"
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
####################
|
build() {
|
||||||
# stop here
|
cd "${srcdir}/${_srcname}"
|
||||||
# this is useful to configure the kernel
|
|
||||||
#msg "Stopping build"; return 1
|
|
||||||
####################
|
|
||||||
|
|
||||||
# build!
|
|
||||||
make ${MAKEFLAGS} LOCALVERSION= bzImage modules
|
make ${MAKEFLAGS} LOCALVERSION= bzImage modules
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue