2002-03-09 08:17:15 +08:00
|
|
|
#
|
2006-09-02 01:49:50 +08:00
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2002-03-09 08:17:15 +08:00
|
|
|
# (C) Copyright 2001
|
|
|
|
# Erik Theisen, Wave 7 Optics, etheisen@mindspring.com.
|
|
|
|
#
|
2013-07-08 15:37:19 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-03-09 08:17:15 +08:00
|
|
|
#
|
|
|
|
|
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 16:24:28 +08:00
|
|
|
#ccflags-y += -DDEBUG
|
2002-03-09 08:17:15 +08:00
|
|
|
|
2013-10-17 16:34:57 +08:00
|
|
|
obj-$(CONFIG_DTT_ADM1021) += adm1021.o
|
|
|
|
obj-$(CONFIG_DTT_ADT7460) += adt7460.o
|
|
|
|
obj-$(CONFIG_DTT_DS1621) += ds1621.o
|
|
|
|
obj-$(CONFIG_DTT_DS1722) += ds1722.o
|
|
|
|
obj-$(CONFIG_DTT_DS1775) += ds1775.o
|
2015-03-31 17:40:48 +08:00
|
|
|
obj-$(CONFIG_DTT_DS620) += ds620.o
|
2013-10-17 16:34:57 +08:00
|
|
|
obj-$(CONFIG_DTT_LM63) += lm63.o
|
|
|
|
obj-$(CONFIG_DTT_LM73) += lm73.o
|
|
|
|
obj-$(CONFIG_DTT_LM75) += lm75.o
|
|
|
|
obj-$(CONFIG_DTT_LM81) += lm81.o
|