]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/Makefile.in: fix ABI name for EABIhf targets
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 23 Aug 2013 18:40:16 +0000 (20:40 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 27 Aug 2013 20:46:11 +0000 (22:46 +0200)
commit796621c56aaed0a2b4c7c1fcec011f22501e94fc
tree7ac212b2b68f4f7e912665b72bd17324296e5eaa
parent1e4068a3301b9bc1fbc43bfd12e5c5c4b22982ca
package/Makefile.in: fix ABI name for EABIhf targets

The current code to set ABI on ARM does the following:

ifeq ($(BR2_arm)$(BR2_armeb),y)
... set ABI without 'hf' suffix ...
else ifeq ($(BR2_ARM_EABIHF),y)
... set ABI with 'hf' suffix ...
endif

But since $(BR2_arm)$(BR2_armeb) will always be 'y' in the cases where
BR2_ARM_EABIHF is 'y', it means that the 'else' part of the condition
will never be used.

Fix this by appending 'hf' to the ABI variable when BR2_ARM_EABIHF is
selected.

[Peter: put EABIhf handling under arm/armeb conditional for consistency]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.in