change order of config creation
This commit is contained in:
parent
456783aa2d
commit
3650238916
@ -761,14 +761,9 @@ _kernel_src_compile() {
|
||||
unset ARCH
|
||||
unset LDFLAGS
|
||||
|
||||
if [ "${K_SABKERNEL_DTB}" != "none" ]; then
|
||||
cp "${WORKDIR}/config" .config
|
||||
emake ${K_SABKERNEL_DTB}
|
||||
cp "${S}"/arch/arm/boot/${K_SABKERNEL_DTB} "${S}"
|
||||
emake mrproper
|
||||
fi
|
||||
|
||||
emake 3rdparty
|
||||
pushd "${S}"/3rdparty
|
||||
perl ./mkbuild.pl
|
||||
popd
|
||||
|
||||
DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel "${GKARGS[@]}" ${K_GENKERNEL_ARGS} \
|
||||
--kerneldir="${S}" \
|
||||
@ -788,6 +783,11 @@ _kernel_src_compile() {
|
||||
|
||||
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
|
||||
if [ "${K_SABKERNEL_TYPE}" = "buffalo" ]; then
|
||||
if [ "${K_SABKERNEL_DTB}" = "none" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user