config.mk 324 B

12345678910111213
  1. # SPDX-License-Identifier: GPL-2.0+
  2. #
  3. # (C) Copyright 2004
  4. # Psyent Corporation <www.psyent.com>
  5. # Scott McNutt <smcnutt@psyent.com>
  6. CONFIG_STANDALONE_LOAD_ADDR ?= 0x02000000
  7. PLATFORM_CPPFLAGS += -D__NIOS2__
  8. PLATFORM_CPPFLAGS += -G0
  9. LDFLAGS_FINAL += --gc-sections
  10. PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections