uboot/drivers
Masahiro Yamada 6825a95b0b 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-19 11:07:50 -05:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block sandbox: block driver using host file/device as backing store 2014-01-08 17:24:03 -07:00
bootcount
crypto
ddr/fsl powerpc/mpc85xx: Revise workaround for DDR-A003 2014-01-21 13:40:52 -08:00
dfu dfu: Export allocated dfu buffer size 2013-12-18 19:53:19 +01:00
dma
fpga fpga: zynq: Correct fpga load when buf is not aligned 2014-02-06 10:08:03 +01:00
gpio s5p: gpio: change gpio coding method for s5p gpio. 2014-02-03 15:36:14 +09:00
hwmon kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
i2c i2c: fti2c010: fix compiler warning on paddr[] 2014-01-13 08:18:38 +01:00
input
misc Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2014-01-06 08:49:58 +01:00
mmc Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-02-17 14:22:02 -05:00
mtd driver/ifc:Change accessor function to take care of endianness 2014-02-03 08:38:51 -08:00
net kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
pci driver/fsl_pci:Update print to display PCIe generation 2014-02-03 08:38:48 -08:00
pcmcia
power trats2: Code cleanup. 2014-02-03 15:36:14 +09:00
qe
rtc kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
serial Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-02-17 14:22:02 -05:00
sound
spi Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-01-16 13:50:16 -05:00
tpm sandbox: tpm: Fix nvwrite command 2014-01-08 17:26:17 -07:00
twserial
usb kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
video video: exynos: fimd: add support for various display color modes 2014-02-03 15:36:14 +09:00
watchdog
Makefile