linux: fix cross
This commit is contained in:
parent
0f98f828a2
commit
208bbbe22b
1 changed files with 4 additions and 4 deletions
|
@ -38,10 +38,6 @@ build() {
|
|||
|
||||
if [ -z "$FOR_CROSS" ]; then
|
||||
bad --gmake gmake CC=clang HOSTCC=clang YACC=yacc LLVM=1 LLVM_IAS=1 ARCH=$_arch
|
||||
|
||||
set +e # depmod causes errors
|
||||
bad --gmake gmake CC=cc HOSTCC=cc YACC=yacc LLVM=1 LLVM_IAS=1 ARCH=$_arch INSTALL_MOD_PATH=$pkgdir/ modules_install
|
||||
set -e
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -51,6 +47,10 @@ package() {
|
|||
if [ -z "$FOR_CROSS" ]; then
|
||||
install -d $pkgdir/boot
|
||||
bad --gmake gmake CC=cc HOSTCC=cc YACC=yacc LLVM=1 LLVM_IAS=1 ARCH=$_arch INSTALL_PATH=$pkgdir/boot install
|
||||
|
||||
set +e # depmod causes errors
|
||||
bad --gmake gmake CC=cc HOSTCC=cc YACC=yacc LLVM=1 LLVM_IAS=1 ARCH=$_arch INSTALL_MOD_PATH=$pkgdir/ modules_install
|
||||
set -e
|
||||
fi
|
||||
|
||||
bad --gmake gmake CC=cc HOSTCC=cc YACC=yacc LLVM=1 LLVM_IAS=1 ARCH=$_arch headers
|
||||
|
|
Loading…
Reference in a new issue