mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-27 05:30:56 +07:00
222d394d30
The variable AFLAGS is a wellknown variable and the usage by kbuild may result in unexpected behaviour. On top of that several people over time has asked for a way to pass in additional flags to gcc. This patch replace use of AFLAGS with KBUILD_AFLAGS all over the tree. Patch was tested on following architectures: alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390 Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
16 lines
313 B
Makefile
16 lines
313 B
Makefile
#
|
|
# linux/arch/arm/vfp/Makefile
|
|
#
|
|
# Copyright (C) 2001 ARM Limited
|
|
#
|
|
|
|
# EXTRA_CFLAGS := -DDEBUG
|
|
# EXTRA_AFLAGS := -DDEBUG
|
|
|
|
KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp)
|
|
LDFLAGS +=--no-warn-mismatch
|
|
|
|
obj-y += vfp.o
|
|
|
|
vfp-$(CONFIG_VFP) += vfpmodule.o entry.o vfphw.o vfpsingle.o vfpdouble.o
|