Move preparation to prepare()

This commit is contained in:
Thomas Bächler 2014-01-25 12:22:29 +00:00
parent d9eece4731
commit 8fe0e5f47f

View File

@ -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
}