Makefile (23460839b983d5d8d47fe90f341599f66523dd81) Makefile (edebea98777d7090ea14bdce2e38e6798557729d)
1#
2# This file is subject to the terms and conditions of the GNU General Public
3# License. See the file "COPYING" in the main directory of this archive
4# for more details.
5#
6# Copyright (C) 2013 Altera Corporation
7# Copyright (C) 1994, 95, 96, 2003 by Wind River Systems
8# Written by Fredrik Markstrom

--- 16 unchanged lines hidden (view full) ---

25KBUILD_AFLAGS += -march=r$(CONFIG_NIOS2_ARCH_REVISION)
26
27KBUILD_CFLAGS += -pipe -D__linux__ -D__ELF__
28KBUILD_CFLAGS += -march=r$(CONFIG_NIOS2_ARCH_REVISION)
29KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul)
30KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MULX_SUPPORT),-mhw-mulx,-mno-hw-mulx)
31KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_DIV_SUPPORT),-mhw-div,-mno-hw-div)
32KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_BMX_SUPPORT),-mbmx,-mno-bmx)
1#
2# This file is subject to the terms and conditions of the GNU General Public
3# License. See the file "COPYING" in the main directory of this archive
4# for more details.
5#
6# Copyright (C) 2013 Altera Corporation
7# Copyright (C) 1994, 95, 96, 2003 by Wind River Systems
8# Written by Fredrik Markstrom

--- 16 unchanged lines hidden (view full) ---

25KBUILD_AFLAGS += -march=r$(CONFIG_NIOS2_ARCH_REVISION)
26
27KBUILD_CFLAGS += -pipe -D__linux__ -D__ELF__
28KBUILD_CFLAGS += -march=r$(CONFIG_NIOS2_ARCH_REVISION)
29KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul)
30KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MULX_SUPPORT),-mhw-mulx,-mno-hw-mulx)
31KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_DIV_SUPPORT),-mhw-div,-mno-hw-div)
32KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_BMX_SUPPORT),-mbmx,-mno-bmx)
33KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_CDX_SUPPORT),-mcdx,-mno-cdx)
33KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,)
34
35KBUILD_CFLAGS += -fno-optimize-sibling-calls
36KBUILD_CFLAGS += -DUTS_SYSNAME=\"$(UTS_SYSNAME)\"
37KBUILD_CFLAGS += -fno-builtin
38KBUILD_CFLAGS += -G 0
39
40head-y := arch/nios2/kernel/head.o

--- 39 unchanged lines hidden ---
34KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,)
35
36KBUILD_CFLAGS += -fno-optimize-sibling-calls
37KBUILD_CFLAGS += -DUTS_SYSNAME=\"$(UTS_SYSNAME)\"
38KBUILD_CFLAGS += -fno-builtin
39KBUILD_CFLAGS += -G 0
40
41head-y := arch/nios2/kernel/head.o

--- 39 unchanged lines hidden ---