K 10 svn:author V 3 imp K 8 svn:date V 27 2012-04-21T16:27:50.582707Z K 7 svn:log V 1508 Two, unrelated patches intermerged (sorry) o Add support for TARGET_ARCH=armv6. This is just the compile phase and hasn't done things like get uname to return armv6. o Add support for external compilers: - Define EXT_COMP to be the prefix to prepend to the normal commands (either the full path or just armv6-freebsd-) - Some things don't work: KERBEROS and RESCUE. To test it out: o sudo make xdev XDEV=arm XDEV_ARCH=armv6 o make buildworld WITHOUT_RESCUE=y WITHOUT_KERBEROS=y TARGET=arm TARGET_ARCH=armv6 Things missing: o We still build some tools we don't need to. o Really need to have a SYSTEM_COMPILER={gcc,clang,external} to make this nicer. In fact, we may need gcc42, gcc43, etc to get the warnings flags right (or GCC_VERSION and CLANG_VERSION). o crunchgen is busted in this configuration. I fixed one thing, but it needs more love for rescue to work. Also, it likely just needs to be a bootstrap tool again, and the test needs to include a freebsd version bump. o External toolchains, like those delivered by the chip vendors, have not been tested. There's likely tweaks needed. o It assumes that the standard tools are called the stanard things. This isn't true, afaik, with externally built clang without symlinks. It is 'stage 2' in my roadmap: o stage 1: cross build kernels with minimal effort o stage 2: cross build with xdev built compilers o stage 3: cross build with external gcc compilers o stage 4: cross build with external clang o stage 5: profit. END