config.mk 559 B

1234567891011121314151617
  1. #
  2. # (C) Copyright 2002
  3. # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  4. #
  5. # SPDX-License-Identifier: GPL-2.0+
  6. #
  7. PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
  8. PLATFORM_CPPFLAGS += -march=armv4
  9. # =========================================================================
  10. #
  11. # Supply options according to compiler version
  12. #
  13. # =========================================================================
  14. PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
  15. PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)