mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
32b7e39db4
This converts the following to Kconfig: CONFIG_STANDALONE_LOAD_ADDR Signed-off-by: Tom Rini <trini@konsulko.com>
27 lines
679 B
Makefile
27 lines
679 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2007-2008 Michal Simek
|
|
# Michal SIMEK <monstr@monstr.eu>
|
|
#
|
|
# (C) Copyright 2004 Atmark Techno, Inc.
|
|
# Yasushi SHOJI <yashi@atmark-techno.com>
|
|
|
|
PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__
|
|
PLATFORM_CPPFLAGS += -fdata-sections -ffunction-sections
|
|
|
|
LDFLAGS_FINAL += --gc-sections
|
|
|
|
ifeq ($(CONFIG_SPL_BUILD),)
|
|
PLATFORM_CPPFLAGS += -fPIC
|
|
endif
|
|
|
|
ifeq ($(CONFIG_STATIC_RELA),y)
|
|
PLATFORM_CPPFLAGS += -fPIC
|
|
LDFLAGS_u-boot += -pic
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SYS_LITTLE_ENDIAN),y)
|
|
PLATFORM_ELFFLAGS += -B microblaze $(OBJCOPYFLAGS) -O elf32-microblazeel
|
|
else
|
|
PLATFORM_ELFFLAGS += -B microblaze $(OBJCOPYFLAGS) -O elf32-microblaze
|
|
endif
|