mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 04:23:46 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
17 lines
372 B
Makefile
17 lines
372 B
Makefile
#
|
|
# (C) Copyright 2004
|
|
# Psyent Corporation <www.psyent.com>
|
|
# Scott McNutt <smcnutt@psyent.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
CROSS_COMPILE ?= nios2-elf-
|
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000
|
|
|
|
PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
|
|
PLATFORM_CPPFLAGS += -G0
|
|
|
|
LDFLAGS_FINAL += --gc-sections
|
|
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
|