Move preparation to prepare()

This commit is contained in:
Thomas Bächler 2014-01-25 12:22:29 +00:00
parent d9eece4731
commit 8fe0e5f47f
1 changed files with 3 additions and 10 deletions

View File

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