u-boot/scripts
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
..
basic kbuild: import more build scripts from Linux v3.13 tag 2014-02-19 11:07:50 -05:00
binutils-version.sh Makefile: Move some scripts imported from Linux 2013-12-13 09:18:45 -05:00
checkpatch.pl Makefile: Move some scripts imported from Linux 2013-12-13 09:18:45 -05:00
checkstack.pl Makefile: Move some scripts imported from Linux 2013-12-13 09:18:45 -05:00
cleanpatch Makefile: Move some scripts imported from Linux 2013-12-13 09:18:45 -05:00
dtc-version.sh Makefile: Move some scripts imported from Linux 2013-12-13 09:18:45 -05:00
gcc-version.sh Makefile: Move some scripts imported from Linux 2013-12-13 09:18:45 -05:00
Kbuild.include kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
Makefile.build kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
Makefile.build.tmp Makefile: rename scripts/Makefile.build to scripts/Makefile.build.tmp 2014-02-19 11:07:50 -05:00
Makefile.clean kbuild: import more build scripts from Linux v3.13 tag 2014-02-19 11:07:50 -05:00
Makefile.host kbuild: import more build scripts from Linux v3.13 tag 2014-02-19 11:07:50 -05:00
Makefile.host.tmp kbuild: change out-of-tree build 2014-02-19 11:07:50 -05:00
Makefile.lib kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
mkmakefile kbuild: import more build scripts from Linux v3.13 tag 2014-02-19 11:07:50 -05:00
setlocalversion Makefile: Move some scripts imported from Linux 2013-12-13 09:18:45 -05:00