Makefile (a89988a6e00c5a099ee23619cd91dc8dc7ec9328) | Makefile (23460839b983d5d8d47fe90f341599f66523dd81) |
---|---|
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 --- 15 unchanged lines hidden (view full) --- 24 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) | 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 --- 15 unchanged lines hidden (view full) --- 24 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) |
|
32KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,) 33 34KBUILD_CFLAGS += -fno-optimize-sibling-calls 35KBUILD_CFLAGS += -DUTS_SYSNAME=\"$(UTS_SYSNAME)\" 36KBUILD_CFLAGS += -fno-builtin 37KBUILD_CFLAGS += -G 0 38 39head-y := arch/nios2/kernel/head.o --- 39 unchanged lines hidden --- | 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 --- |