unset TARGET_CPUTYPE and TARGET_BIG_ENDIAN when building the kernel
to silence compiler complaints when cross-building Reviewed by: phk MFC after: 2 weeks
This commit is contained in:
parent
ba65f767c0
commit
243727cca1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181083
@ -171,10 +171,15 @@ build_kernel ( ) (
|
||||
cp ${NANO_KERNEL} ${NANO_SRC}/sys/${NANO_ARCH}/conf
|
||||
fi
|
||||
|
||||
cd ${NANO_SRC}
|
||||
(cd ${NANO_SRC};
|
||||
# unset these just in case to avoid compiler complaints
|
||||
# when cross-building
|
||||
unset TARGET_CPUTYPE
|
||||
unset TARGET_BIG_ENDIAN
|
||||
${NANO_PMAKE} buildkernel \
|
||||
__MAKE_CONF=${NANO_MAKE_CONF} KERNCONF=`basename ${NANO_KERNEL}` \
|
||||
> ${MAKEOBJDIRPREFIX}/_.bk 2>&1
|
||||
)
|
||||
)
|
||||
|
||||
clean_world ( ) (
|
||||
|
Loading…
Reference in New Issue
Block a user