Makefile 537 B

1234567891011121314151617181920212223242526
  1. # SPDX-License-Identifier: GPL-2.0+
  2. #
  3. # Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
  4. #
  5. # Based on original Kirkwood support which is
  6. # (C) Copyright 2009
  7. # Marvell Semiconductor <www.marvell.com>
  8. # Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  9. obj-y = cpu.o
  10. obj-y += dram.o
  11. obj-y += timer.o
  12. ifndef CONFIG_SKIP_LOWLEVEL_INIT
  13. obj-y += lowlevel_init.o
  14. endif
  15. # some files can only build in ARM or THUMB2, not THUMB1
  16. ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
  17. ifndef CONFIG_HAS_THUMB2
  18. CFLAGS_cpu.o := -marm
  19. endif
  20. endif