u-boot-brain/arch/powerpc/cpu
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
..
74xx_7xx PowerPC: merge commonly-defined flags 2013-12-13 09:17:32 -05:00
mpc5xx powerpc: mpc5xx: remove redundant CONFIG_5xx definition 2014-01-24 16:59:08 -05:00
mpc5xxx powerpc: mpc5xxx: remove redundant CONFIG_MPC5xxx definition 2014-01-24 16:59:21 -05:00
mpc8xx kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
mpc8xxx Makefile: Select objects by CONFIG_ rather than $(ARCH) or $(CPU) 2013-12-16 08:59:42 -05:00
mpc83xx Remove obsolete _LINUX_CONFIG_H macro 2014-01-24 16:59:07 -05:00
mpc85xx powerpc/mpc85xx: Update serdes protocols for T1040 2014-02-03 08:38:48 -08:00
mpc86xx powerpc: mpc86xx: move CONFIG_MPC86xx definition to CPU config.mk 2014-01-24 16:59:08 -05:00
mpc512x PowerPC: merge commonly-defined flags 2013-12-13 09:17:32 -05:00
mpc824x powerpc: delete unused header files 2014-01-24 16:59:07 -05:00
mpc8260 powerpc: delete unused header files 2014-01-24 16:59:07 -05:00
ppc4xx Remove obsolete _LINUX_CONFIG_H macro 2014-01-24 16:59:07 -05:00
Makefile Makefile: Select objects by CONFIG_ rather than $(ARCH) or $(CPU) 2013-12-16 08:59:42 -05:00