[U-Boot] [PATCH 00/22] A collection of trivial Makefile refactoring

Tom Rini trini at ti.com
Sun Nov 17 20:16:23 CET 2013


On Mon, Nov 11, 2013 at 02:35:48PM +0900, Masahiro Yamada wrote:

> This series does not add any new features but
> refactor makefiles.
> 
> Masahiro Yamada (22):
>   Makefile: abolish COBJS, SOBJS, etc.
>   Makefile: specifiy an explicite object name rather than $(BOARD).o
>   drivers: descend into sub directories only when it is necessary
>   lib: descend into sub directories only when it is necessary
>   drivers: tpm: clean up unused code
>   Makefile: make directories by Makefile.build
>   Makefile: merge $(LIBBOARD) into $(LIBS)
>   powerpc: move mpc8xxx entry under arch/powerpc/cpu/
>   drivers/qe: move the entry to drivers/Makefile
>   drivers/net/fm: descend only when CONFIG_FMAN_ENET=y
>   drivers/net/npe: descend only when CONFIG_IXP4XX_NPE=y
>   Makefile: rename all libraries to built-in.o
>   Makefile: refactor a little
>   config.mk: delete unnecessary lines
>   tools: Makefile: delete redundant lines
>   Makefile: delete unused lines
>   powerpc: mpc83xx: delete unused rules
>   powerpc: mpc83xx: Do not create a symbolic link to ddr-gen2.c
>   powerpc: mpc824x: Do not create a symbolic link to bedbug_603e.c
>   arm: rmobile: Do not create a symbolic link to sh timer
>   Makefile: move fs/fat/ entry to drivers/Makefile
>   fs: descend into sub directories when it is necessary
> 
>  Makefile                                   | 149 +++++++++--------------
>  arch/arm/cpu/armv7/rmobile/Makefile        |   8 +-
>  arch/microblaze/cpu/u-boot.lds             |   2 +-
>  arch/powerpc/cpu/Makefile                  |   3 +
>  arch/powerpc/cpu/mpc512x/Makefile          |   2 -
>  arch/powerpc/cpu/mpc824x/.gitignore        |   1 -
>  arch/powerpc/cpu/mpc824x/Makefile          |  10 +-
>  arch/powerpc/cpu/mpc83xx/Makefile          |  12 +-
>  arch/powerpc/cpu/mpc8xxx/Makefile          |   6 +
>  board/LEOX/elpt860/u-boot.lds              |   8 +-
>  board/LaCie/edminiv2/Makefile              |   4 -
>  board/LaCie/net2big_v2/Makefile            |   4 -
>  board/LaCie/netspace_v2/Makefile           |   4 -
>  board/LaCie/wireless_space/Makefile        |   4 -
>  board/Marvell/db64360/Makefile             |   4 -
>  board/Marvell/db64460/Makefile             |   4 -
>  board/actux1/u-boot.lds                    |   8 +-
>  board/actux2/u-boot.lds                    |   8 +-
>  board/actux3/u-boot.lds                    |   8 +-
>  board/altera/nios2-generic/Makefile        |   4 -
>  board/avionic-design/medcom-wide/Makefile  |   2 -
>  board/avionic-design/plutux/Makefile       |   2 -
>  board/avionic-design/tec/Makefile          |   2 -
>  board/compal/paz00/Makefile                |   2 -
>  board/compulab/trimslice/Makefile          |   2 -
>  board/davinci/da8xxevm/u-boot-spl-hawk.lds |   4 +-
>  board/dvlhost/u-boot.lds                   |   8 +-
>  board/emk/top5200/Makefile                 |   4 -
>  board/emk/top860/Makefile                  |   3 -
>  board/esd/adciop/Makefile                  |   4 -
>  board/esd/apc405/Makefile                  |   4 -
>  board/esd/ar405/Makefile                   |   4 -
>  board/esd/ash405/Makefile                  |   4 -
>  board/esd/cms700/Makefile                  |   4 -
>  board/esd/cpci2dp/Makefile                 |   4 -
>  board/esd/cpci405/Makefile                 |   4 -
>  board/esd/cpci5200/Makefile                |   4 -
>  board/esd/cpci750/Makefile                 |   4 -
>  board/esd/cpciiser4/Makefile               |   4 -
>  board/esd/dasa_sim/Makefile                |   4 -
>  board/esd/dp405/Makefile                   |   4 -
>  board/esd/du405/Makefile                   |   4 -
>  board/esd/hh405/Makefile                   |   4 -
>  board/esd/hub405/Makefile                  |   4 -
>  board/esd/ocrtc/Makefile                   |   4 -
>  board/esd/pci405/Makefile                  |   4 -
>  board/esd/pf5200/Makefile                  |   4 -
>  board/esd/plu405/Makefile                  |   4 -
>  board/esd/pmc405/Makefile                  |   4 -
>  board/esd/pmc405de/Makefile                |   4 -
>  board/esd/pmc440/Makefile                  |   4 -
>  board/esd/voh405/Makefile                  |   4 -
>  board/esd/vom405/Makefile                  |   4 -
>  board/esd/wuh405/Makefile                  |   4 -
>  board/esteem192e/u-boot.lds                |   4 +-
>  board/freescale/m52277evb/u-boot.lds       |   4 +-
>  board/freescale/m53017evb/u-boot.lds       |   6 +-
>  board/freescale/mx31ads/u-boot.lds         |  10 +-
>  board/freescale/t1040qds/Makefile          |   2 +-
>  board/genietv/u-boot.lds                   |  10 +-
>  board/hermes/u-boot.lds                    |   2 +-
>  board/keymile/km82xx/Makefile              |   3 -
>  board/keymile/km83xx/Makefile              |   4 -
>  board/keymile/km_arm/Makefile              |   4 -
>  board/keymile/kmp204x/Makefile             |   6 +-
>  board/kup/kup4k/Makefile                   |   4 -
>  board/kup/kup4x/Makefile                   |   4 -
>  board/matrix_vision/mvsmr/u-boot.lds       |   2 +-
>  board/mpl/mip405/Makefile                  |   4 -
>  board/mpl/pati/Makefile                    |   4 -
>  board/mpl/pip405/Makefile                  |   4 -
>  board/mpl/vcma9/Makefile                   |   4 -
>  board/mvblue/u-boot.lds                    |  12 +-
>  board/nvidia/beaver/Makefile               |   2 -
>  board/nvidia/ventana/Makefile              |   2 -
>  board/prodrive/p3mx/Makefile               |   4 -
>  board/psyent/pci5441/Makefile              |   4 -
>  board/psyent/pk1c20/Makefile               |   4 -
>  board/rbc823/u-boot.lds                    |   8 +-
>  board/sandburst/karef/Makefile             |   4 -
>  board/sandburst/metrobox/Makefile          |   4 -
>  board/siemens/dxr2/Makefile                |   4 -
>  board/siemens/pxm2/Makefile                |   4 -
>  board/siemens/rut/Makefile                 |   4 -
>  board/spd8xx/u-boot.lds                    |   4 +-
>  board/svm_sc8xx/u-boot.lds                 |  10 +-
>  board/ti/am335x/u-boot.lds                 |   2 +-
>  board/ti/beagle/Makefile                   |   2 +-
>  board/toradex/colibri_t20_iris/Makefile    |   3 -
>  board/tqc/tqm8260/Makefile                 |   4 -
>  board/tqc/tqm8272/Makefile                 |   4 -
>  board/tqc/tqm8xx/u-boot.lds                |  14 +--
>  board/vpac270/u-boot-spl.lds               |   4 +-
>  board/xilinx/ppc405-generic/Makefile       |   4 -
>  board/xilinx/ppc440-generic/Makefile       |   4 -
>  config.mk                                  |   6 -
>  drivers/Makefile                           |   5 +-
>  drivers/bios_emulator/Makefile             |   4 +-
>  drivers/fpga/Makefile                      |   2 -
>  drivers/net/fm/Makefile                    |   2 -
>  drivers/net/npe/Makefile                   |   2 +-
>  drivers/qe/Makefile                        |   4 +-
>  drivers/tpm/Makefile                       |   2 -
>  drivers/tpm/tis_i2c.c                      | 185 -----------------------------
>  fs/Makefile                                |  25 ++--
>  fs/cbfs/Makefile                           |   2 +-
>  fs/cramfs/Makefile                         |   4 +-
>  fs/ext4/Makefile                           |   2 +-
>  fs/fdos/Makefile                           |   2 +-
>  fs/jffs2/Makefile                          |   2 -
>  fs/reiserfs/Makefile                       |   2 +-
>  fs/sandbox/Makefile                        |   2 +-
>  fs/ubifs/Makefile                          |   8 +-
>  fs/yaffs2/Makefile                         |   2 +-
>  fs/zfs/Makefile                            |   2 +-
>  include/configs/bct-brettl2.h              |   4 +-
>  include/configs/bf533-stamp.h              |   4 +-
>  include/configs/bf537-pnav.h               |   4 +-
>  include/configs/bf537-stamp.h              |   4 +-
>  include/configs/bf538f-ezkit.h             |   4 +-
>  include/configs/cm-bf537e.h                |   4 +-
>  include/configs/cm-bf537u.h                |   4 +-
>  include/configs/dnp5370.h                  |   4 +-
>  include/configs/ibf-dsp561.h               |   4 +-
>  include/configs/tcm-bf537.h                |   4 +-
>  lib/lzma/Makefile                          |   2 +-
>  lib/lzo/Makefile                           |   2 +-
>  lib/rsa/Makefile                           |   4 +-
>  lib/zlib/Makefile                          |   2 +-
>  scripts/Makefile.build                     |  19 +--
>  spl/Makefile                               |  87 ++++++--------
>  tools/gdb/Makefile                         |   2 -
>  132 files changed, 251 insertions(+), 746 deletions(-)
>  create mode 100644 arch/powerpc/cpu/Makefile
>  delete mode 100644 arch/powerpc/cpu/mpc824x/.gitignore
>  delete mode 100644 drivers/tpm/tis_i2c.c

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131117/b65db1ef/attachment.pgp>


More information about the U-Boot mailing list