one cross-toolchain, many filesystem trees.
2011/3/23 Mike Frysinger <email@example.com>:
> On Wed, Mar 23, 2011 at 8:50 AM, Sergey Mironov wrote:
>> Hi. I'm planning to build 3 ARM filesystem trees. Since they differs
>> only in softfloat and mach flags in their /etc/make.conf, I don't want
>> to maintain 3 equal cross-build environments. Thats why I'm thinking
>> about building only one and than making 2 additional emerge wrappers,
>> which will set right SYSROOT and call original emerge wrapper. Is it
>> generally sufficient to make things work?
> "only" !? *the two pieces you speak of are core to the code generated.
> *you'll need sep trees for each FPU target, and for each CPU class.
> you could pick the lowest common denominator across the targets march
> wise and build for that, but that's no fun.
I'm sorry, looks like I mentioned wrong 2 pieces. By softfloat I mean gcc flag
-msoftfp and there should be -mcpu, not -mach. Basically, my 3 systems are based
2) arm1176jzf with CFLAGS+=-softfp
3) arm1176jzf without using FPU
I think they could be built with same cross-toolchain.