Re: cross-arch building picobsd/nanobsd images ?

看板FB_current作者時間14年前 (2012/01/05 14:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/6 (看更多)
On 4 January 2012 20:53, Jacques Fourie <jacques.fourie@gmail.com> wrote: > I've posted a diff to -arm about 2 years ago that I used to > cross-build arm picobsd images for a gumstix platform on a i386 host. > I don't know if the diff will apply cleanly anymore but here it is in > anyway. Hi, I've figured out all the right flags to pass to a cross-build environment. Namely: env CROSS_BUILD_TESTING=YES MAKEOBJDIRPREFIX=${X_MAKEOBJDIRPREFIX} \ make ${BUILD_FLAGS} TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ ${X_TARGET_CPUTYPE} KERNCONF=${KERNCONF} DESTDIR=${X_DESTDIR} \ KODIR=/boot/kernel.${KERNCONF}/ \ KMODDIR=/boot/kernel.${KERNCONF}/ \ __MAKE_CONF=/dev/null SRCCONF=/dev/null \ LOCAL_DIRS="${LOCAL_DIRS}" \ LOCAL_TOOL_DIRS="${LOCAL_TOOL_DIRS}" $1 \ ... ignore LOCAL_TOOL_DIRS, I haven't committed that yet to -HEAD. If someone would like to update picobsd to make this work, I'll happily test out patches and commit it to -HEAD. Building -8 and previous needed some extra hacks (eg TARGET_BIG_ENDIAN) which have been removed from -HEAD/-9. Good luck! Adrian _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1F1KFZmB (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1F1KFZmB (FB_current)