mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-04 15:27:19 +00:00
Mostly automatic with: sed -i -e 's/CONFIG_\(SUN[45678]I\)/CONFIG_MACH_\1/g' $(git grep -l CONFIG_SUN[45678]I) followed by removing the relevant #defines from include/configs/sun?i.h by hand. Signed-off-by: Ian Campbell <ijc@hellion.org.uk> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
36 lines
849 B
Makefile
36 lines
849 B
Makefile
#
|
|
# (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
|
|
#
|
|
# Based on some other Makefile
|
|
# (C) Copyright 2000-2003
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
obj-y += timer.o
|
|
obj-y += board.o
|
|
obj-y += clock.o
|
|
obj-y += pinmux.o
|
|
obj-$(CONFIG_MACH_SUN6I) += prcm.o
|
|
obj-$(CONFIG_MACH_SUN8I) += prcm.o
|
|
obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o
|
|
obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o
|
|
obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o
|
|
obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
|
|
obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-y += cpu_info.o
|
|
ifdef CONFIG_ARMV7_PSCI
|
|
obj-y += psci.o
|
|
endif
|
|
endif
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_MACH_SUN4I) += dram.o
|
|
obj-$(CONFIG_MACH_SUN5I) += dram.o
|
|
obj-$(CONFIG_MACH_SUN7I) += dram.o
|
|
ifdef CONFIG_SPL_FEL
|
|
obj-y += start.o
|
|
endif
|
|
endif
|