On Tue, 2013-10-08 at 02:23 +0200, Hector Oron wrote: > Hello, > > 2013/10/6 Ben Hutchings <ben@xxxxxxxxxxxxxxx>: > > The Debian armhf architecture uses the ARM EABI hard-float variant, > > whereas armel uses the soft-float variant. Although the kernel > > doesn't use FP itself, CONFIG_VFP must be enabled to support > > hard-float userland and will probably be disabled when supporting a > > soft-float userland. So set the architecture to armhf by default when > > CONFIG_AEABI and CONFIG_VFP are both enabled. > > Debian armel userland can be run on any device, so it is suggested to > better rely on toolchain configuration rather than kernel config > symbols. > > For arm-gnueabi(hf) toolchain something like: > $ gcc -dumpspecs | grep multilib_defaults -A2 | grep -q soft && echo > "This is armel" > $ gcc -dumpspecs | grep multilib_defaults -A2 | grep -q hard && echo > "This is armhf" > could be checked instead. [...] Is the output of -dumpspecs really so stable that this is going to be reliable? Ben. -- Ben Hutchings Beware of bugs in the above code; I have only proved it correct, not tried it. - Donald Knuth
Attachment:
signature.asc
Description: This is a digitally signed message part