wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 1 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2002-2006 |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Masahiro Yamada | aa96dd1 | 2013-10-21 11:53:34 +0900 | [diff] [blame] | 8 | obj-$(CONFIG_CMD_BOOTM) += bootm.o |
| 9 | obj-y += cmd_boot.o |
| 10 | obj-y += gcc.o |
| 11 | obj-y += init_helpers.o |
| 12 | obj-y += interrupts.o |
| 13 | obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o |
| 14 | obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o |
| 15 | obj-$(CONFIG_PCI) += pci_type1.o |
| 16 | obj-y += relocate.o |
| 17 | obj-y += physmem.o |
| 18 | obj-y += string.o |
| 19 | obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o |
| 20 | obj-$(CONFIG_VIDEO_VGA) += video.o |
| 21 | obj-$(CONFIG_CMD_ZBOOT) += zimage.o |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 22 | |
Masahiro Yamada | 3070446 | 2014-10-24 01:30:41 +0900 | [diff] [blame] | 23 | extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 24 | |
Masahiro Yamada | 3070446 | 2014-10-24 01:30:41 +0900 | [diff] [blame] | 25 | NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name) |
Masahiro Yamada | 46230b6 | 2014-03-11 11:05:13 +0900 | [diff] [blame] | 26 | OBJCOPYFLAGS := --prefix-symbols=__normal_ |
Masahiro Yamada | 3070446 | 2014-10-24 01:30:41 +0900 | [diff] [blame] | 27 | $(obj)/lib.a: $(NORMAL_LIBGCC) FORCE |
Masahiro Yamada | 46230b6 | 2014-03-11 11:05:13 +0900 | [diff] [blame] | 28 | $(call if_changed,objcopy) |