Makefile (e5451c8f8330e03ad3cfa16048b4daf961af434f) Makefile (fb75a2bb53a16069e2837ea1a4fa1bd99d636dd4)
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

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

15# fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com
16
17KBUILD_DEFCONFIG := 3c120_defconfig
18
19UTS_SYSNAME = Linux
20
21export MMU
22
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

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

15# fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com
16
17KBUILD_DEFCONFIG := 3c120_defconfig
18
19UTS_SYSNAME = Linux
20
21export MMU
22
23LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
23LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name)
24
25KBUILD_CFLAGS += -pipe -D__linux__ -D__ELF__
26KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul)
27KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MULX_SUPPORT),-mhw-mulx,-mno-hw-mulx)
28KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_DIV_SUPPORT),-mhw-div,-mno-hw-div)
29KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,)
30
31KBUILD_CFLAGS += -fno-optimize-sibling-calls

--- 44 unchanged lines hidden ---
24
25KBUILD_CFLAGS += -pipe -D__linux__ -D__ELF__
26KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul)
27KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MULX_SUPPORT),-mhw-mulx,-mno-hw-mulx)
28KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_DIV_SUPPORT),-mhw-div,-mno-hw-div)
29KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,)
30
31KBUILD_CFLAGS += -fno-optimize-sibling-calls

--- 44 unchanged lines hidden ---