config.mk 428 B

123456789101112131415161718
  1. #
  2. # (C) Copyright 2000-2002
  3. # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4. #
  5. # SPDX-License-Identifier: GPL-2.0+
  6. #
  7. ifeq ($(CROSS_COMPILE),)
  8. CROSS_COMPILE := m68k-elf-
  9. endif
  10. CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
  11. PLATFORM_CPPFLAGS += -D__M68K__
  12. PLATFORM_LDFLAGS += -n
  13. PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
  14. PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
  15. LDFLAGS_FINAL += --gc-sections