create needed /lib/lib/firmware dir 2nd try

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2587 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-10-25 08:39:46 +00:00
parent d13c74f435
commit 6ad300b510

View File

@ -208,6 +208,11 @@ _kernel_src_compile() {
export SANDBOX_ON=0
export LDFLAGS=""
# do some cleanup
rm -rf "${WORKDIR}"/lib
rm -rf "${WORKDIR}"/cache
rm -rf "${S}"/temp
# creating workdirs
mkdir -p "${WORKDIR}"/lib/lib/firmware
mkdir "${WORKDIR}"/cache
@ -217,10 +222,6 @@ _kernel_src_compile() {
einfo "Starting to compile kernel..."
_kernel_copy_config "${WORKDIR}"/config
# do some cleanup
rm -rf "${WORKDIR}"/lib
rm -rf "${WORKDIR}"/cache
rm -rf "${S}"/temp
OLDARCH="${ARCH}"
unset ARCH
cd "${S}"