mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 02:25:02 +07:00
82b9c18dc0
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>
16 lines
324 B
Makefile
16 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
|