2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-08-21 21:22:07 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2001-2006
|
2002-08-21 21:22:07 +00:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
kbuild: use Linux Kernel build scripts
Now we are ready to switch over to real Kbuild.
This commit disables temporary scripts:
scripts/{Makefile.build.tmp, Makefile.host.tmp}
and enables real Kbuild scripts:
scripts/{Makefile.build,Makefile.host,Makefile.lib}.
This switch is triggered by the line in scripts/Kbuild.include
-build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
+build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
We need to adjust some build scripts for U-Boot.
But smaller amount of modification is preferable.
Additionally, we need to fix compiler flags which are
locally added or removed.
In Kbuild, it is not allowed to change CFLAGS locally.
Instead, ccflags-y, asflags-y, cppflags-y,
CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
are prepared for that purpose.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Tested-by: Gerhard Sittig <gsi@denx.de>
2014-02-04 08:24:28 +00:00
|
|
|
#ccflags-y += -DDEBUG
|
2002-08-21 21:22:07 +00:00
|
|
|
|
2018-10-01 18:22:15 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DM_RTC) += rtc-uclass.o
|
2015-04-20 18:37:23 +00:00
|
|
|
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_AT91SAM9_RTT) += at91sam9_rtt.o
|
2021-02-26 09:30:19 +00:00
|
|
|
obj-$(CONFIG_RTC_ARMADA38X) += armada38x.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_DAVINCI) += davinci.o
|
|
|
|
obj-$(CONFIG_RTC_DS1302) += ds1302.o
|
|
|
|
obj-$(CONFIG_RTC_DS1306) += ds1306.o
|
|
|
|
obj-$(CONFIG_RTC_DS1307) += ds1307.o
|
|
|
|
obj-$(CONFIG_RTC_DS1338) += ds1307.o
|
2014-07-21 09:06:16 +00:00
|
|
|
obj-$(CONFIG_RTC_DS1339) += ds1307.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_DS1337) += ds1337.o
|
|
|
|
obj-$(CONFIG_RTC_DS1374) += ds1374.o
|
|
|
|
obj-$(CONFIG_RTC_DS1388) += ds1337.o
|
|
|
|
obj-$(CONFIG_RTC_DS3231) += ds3231.o
|
2019-11-12 08:39:38 +00:00
|
|
|
obj-$(CONFIG_RTC_DS3232) += ds3232.o
|
2020-10-22 21:52:14 +00:00
|
|
|
obj-$(CONFIG_RTC_EMULATION) += emul_rtc.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_FTRTC010) += ftrtc010.o
|
2022-12-09 16:15:30 +00:00
|
|
|
obj-$(CONFIG_RTC_HT1380) += ht1380.o
|
2015-04-20 18:37:24 +00:00
|
|
|
obj-$(CONFIG_SANDBOX) += i2c_rtc_emul.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_IMXDI) += imxdi.o
|
|
|
|
obj-$(CONFIG_RTC_ISL1208) += isl1208.o
|
|
|
|
obj-$(CONFIG_RTC_M41T62) += m41t62.o
|
|
|
|
obj-$(CONFIG_RTC_MAX6900) += max6900.o
|
|
|
|
obj-$(CONFIG_RTC_MC13XXX) += mc13xxx-rtc.o
|
|
|
|
obj-$(CONFIG_RTC_MC146818) += mc146818.o
|
2015-10-21 23:59:06 +00:00
|
|
|
obj-$(CONFIG_RTC_MCP79411) += ds1307.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_MCFRTC) += mcfrtc.o
|
|
|
|
obj-$(CONFIG_RTC_MK48T59) += mk48t59.o
|
|
|
|
obj-$(CONFIG_RTC_MV) += mvrtc.o
|
|
|
|
obj-$(CONFIG_RTC_MX27) += mx27rtc.o
|
|
|
|
obj-$(CONFIG_RTC_MXS) += mxsrtc.o
|
|
|
|
obj-$(CONFIG_RTC_PCF8563) += pcf8563.o
|
2016-11-30 07:47:31 +00:00
|
|
|
obj-$(CONFIG_RTC_PCF2127) += pcf2127.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_PL031) += pl031.o
|
|
|
|
obj-$(CONFIG_RTC_PT7C4338) += pt7c4338.o
|
|
|
|
obj-$(CONFIG_RTC_RS5C372A) += rs5c372.o
|
2021-03-10 07:15:00 +00:00
|
|
|
obj-$(CONFIG_RTC_RV3028) += rv3028.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_RV3029) += rv3029.o
|
2019-05-28 23:29:58 +00:00
|
|
|
obj-$(CONFIG_RTC_RV8803) += rv8803.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_RX8025) += rx8025.o
|
2018-01-10 19:31:27 +00:00
|
|
|
obj-$(CONFIG_RTC_RX8010SJ) += rx8010sj.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_S3C24X0) += s3c24x0_rtc.o
|
2017-11-08 15:35:14 +00:00
|
|
|
obj-$(CONFIG_RTC_S35392A) += s35392a.o
|
2019-07-22 09:02:34 +00:00
|
|
|
obj-$(CONFIG_RTC_STM32) += stm32_rtc.o
|
2015-04-20 18:37:25 +00:00
|
|
|
obj-$(CONFIG_SANDBOX) += sandbox_rtc.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_RTC_X1205) += x1205.o
|
2021-01-15 05:53:02 +00:00
|
|
|
obj-$(CONFIG_RTC_ABX80X) += abx80x.o
|
2021-07-29 08:39:08 +00:00
|
|
|
obj-$(CONFIG_RTC_ZYNQMP) += zynqmp_rtc.o
|