1. 14 6月, 2010 4 次提交
    • W
      Makefile/mkconfig: read simple board configurations from boards.cfg · a6862bc1
      Wolfgang Denk 提交于
      Instead of adding explicit build rules for each and every board to the
      top level Makefile (which makes it grow and grow), we now provide a
      simple default rule and extend the "mkconfig" script to read board
      configurations from a plain text file (table), "boards.cfg".
      
      For simple boards it is now sufficient to add a single line of text to
      the "boards.cfg" file, no changes to the top level Makefile are needed
      any more.
      
      To make the table better readable, change the notation for unused
      fields from "NULL" into "-".
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      a6862bc1
    • W
      Makefile: simplify handling of common board configurations · 8c994630
      Wolfgang Denk 提交于
      Many boards don't need any special handling in the Makefile. Try and
      provide as generic make rules for these as possible.  There are still
      many areas where this does not work out really well, but the changes
      show the direction we should take, and point out which boards or
      architectures need further cleanup.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      8c994630
    • W
      Makefile: simplify handling of build target names · ed7a196c
      Wolfgang Denk 提交于
      Instead of stripping the "_config" part from the make target names in
      each call of the "mkconfig" script let this script strip the string.
      
      This prepares the ground for forther simplification of the top level
      Makefile.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      ed7a196c
    • W
      Fix printing of make targets, simplify Makefile · 0e42ada3
      Wolfgang Denk 提交于
      Make printing the "board names" more useful. So far, we would get
      output like this;
      
      $ ./MAKEALL P2020RDB P2020RDB_NAND P2020RDB_SDCARD P2020RDB_SPIFLASH
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       342612   32656  265212  640480   9c5e0 /work/wd/tmp-ppc/u-boot
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       343160   32704  265212  641076   9c834 /work/wd/tmp-ppc/u-boot
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      
      For all build targets the same board name would be printed, which
      makes is often pretty difficult to find out which exact build target
      caused problems. With this commit, the real make target name gets
      printed instead, which is way more useful:
      
      $ ./MAKEALL P2020RDB P2020RDB_NAND P2020RDB_SDCARD P2020RDB_SPIFLASH
      Configuring for P2020RDB board...
         text    data     bss     dec     hex filename
       342612   32656  265212  640480   9c5e0 /work/wd/tmp-ppc/u-boot
      Configuring for P2020RDB_NAND board...
         text    data     bss     dec     hex filename
       343160   32704  265212  641076   9c834 /work/wd/tmp-ppc/u-boot
      Configuring for P2020RDB_SDCARD board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      Configuring for P2020RDB_SPIFLASH board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NDetlev Zundel <dzu@denx.de>
      Tested-by: NThomas Chou <thomas@wytron.com.tw>
      0e42ada3
  2. 13 6月, 2010 1 次提交
  3. 04 6月, 2010 1 次提交
  4. 31 5月, 2010 5 次提交
  5. 29 5月, 2010 5 次提交
  6. 28 5月, 2010 12 次提交
  7. 27 5月, 2010 8 次提交
  8. 22 5月, 2010 4 次提交