MIPS builds on crochet
MIPS builds on crochet

Hello Tim,

I'm using crochet to build simple MIPS images for my own test purposes and it is working really fine (building native images for now, it takes like 24 hours per image).

But on MIPS we use TARGET_CPUTYPE to select the ISA we want to build.

I'm using the attached patch to add it to my builds, can you take a look at it and check if this can be merged to crochet ? if you think it won't break anything else....

I hope i can look at cross building mips be images soon, but for now natives builds are working fine.

My board setup for mips is simple as:

TARGET_ARCH=mips
TARGET_CPUTYPE=mips32
KERNCONF=RSPRO
IMAGE_SIZE=$((500 * 1000 * 1000))

Thanks,
Luiz

Signed-off-by: Tim Kientzle <d607b183fdeea30280d88818edca8e5d09f468ea@acm.org>

dankm/crochet-freebsd,dankm/crochet-freebsd,HardenedBSD/crochet,teverett/crochet-freebsd,brd/crochet,freebsd/crochet,rm4rty/crochet-freebsd,MattDooner/crochet-freebsd,rm4rty/crochet-freebsd,HardenedBSD/crochet,wheelcomplex/crochet-freebsd,brd/crochet,MattDooner/crochet-freebsd,wheelcomplex/crochet-freebsd,teverett/crochet-freebsd,brd/crochet,wheelcomplex/crochet-freebsd,freebsd/crochet