change order of config creation

This commit is contained in:
Mario Fetka 2013-12-06 16:13:41 +01:00
parent 456783aa2d
commit 3650238916

View File

@ -761,14 +761,9 @@ _kernel_src_compile() {
unset ARCH unset ARCH
unset LDFLAGS unset LDFLAGS
if [ "${K_SABKERNEL_DTB}" != "none" ]; then pushd "${S}"/3rdparty
cp "${WORKDIR}/config" .config perl ./mkbuild.pl
emake ${K_SABKERNEL_DTB} popd
cp "${S}"/arch/arm/boot/${K_SABKERNEL_DTB} "${S}"
emake mrproper
fi
emake 3rdparty
DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel "${GKARGS[@]}" ${K_GENKERNEL_ARGS} \ DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel "${GKARGS[@]}" ${K_GENKERNEL_ARGS} \
--kerneldir="${S}" \ --kerneldir="${S}" \
@ -788,6 +783,11 @@ _kernel_src_compile() {
ARCH=${OLDARCH} ARCH=${OLDARCH}
if [ "${K_SABKERNEL_DTB}" != "none" ]; then
emake ${K_SABKERNEL_DTB}
cp "${S}"/arch/arm/boot/${K_SABKERNEL_DTB} "${S}"
fi
# Buffalo Boxes have a special naming and start address # Buffalo Boxes have a special naming and start address
if [ "${K_SABKERNEL_TYPE}" = "buffalo" ]; then if [ "${K_SABKERNEL_TYPE}" = "buffalo" ]; then
if [ "${K_SABKERNEL_DTB}" = "none" ]; then if [ "${K_SABKERNEL_DTB}" = "none" ]; then