mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Arnd Bergmann](/assets/img/avatar_default.png)
Distros are starting to ship with toolchains defaulting to hardfloat. Using such a compiler to build the kernel fails in the VFP directory with arch/arm/vfp/entry.S:1:0: sorry, unimplemented: -mfloat-abi=hard and VFP Adding -mfloat-abi=soft to the gcc command line fixes this. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 lines
324 B
Makefile
15 lines
324 B
Makefile
#
|
|
# linux/arch/arm/vfp/Makefile
|
|
#
|
|
# Copyright (C) 2001 ARM Limited
|
|
#
|
|
|
|
# ccflags-y := -DDEBUG
|
|
# asflags-y := -DDEBUG
|
|
|
|
KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp -mfloat-abi=soft)
|
|
LDFLAGS +=--no-warn-mismatch
|
|
|
|
obj-y += vfp.o
|
|
|
|
vfp-$(CONFIG_VFP) += vfpmodule.o entry.o vfphw.o vfpsingle.o vfpdouble.o
|