mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08: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
|