]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - Makefile
CPCI405AB (special version of esd CPCI405) board added.
[karo-tx-uboot.git] / Makefile
index 5b9e3c8858c6f4db979aac00c3a23177b5826375..6ad82562e312cd71b05d3174b9a5bbbcd5eba7af 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -168,6 +168,14 @@ unconfig:
 #========================================================================
 # PowerPC
 #========================================================================
+
+#########################################################################
+## MPC5xx Systems
+#########################################################################
+
+cmi_mpc5xx_config:     unconfig
+       @./mkconfig $(@:_config=) ppc mpc5xx cmi
+
 #########################################################################
 ## MPC8xx Systems
 #########################################################################
@@ -204,8 +212,16 @@ FADS860T_config:   unconfig
 FLAGADM_config:        unconfig
        @./mkconfig $(@:_config=) ppc mpc8xx flagadm
 
+xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
+
+GEN860T_SC_config      \
 GEN860T_config: unconfig
-       @./mkconfig $(@:_config=) ppc mpc8xx gen860t
+       @ >include/config.h
+       @[ -z "$(findstring _SC,$@)" ] || \
+               { echo "#define CONFIG_SC" >>include/config.h ; \
+                 echo "With reduced H/W feature set (SC)..." ; \
+               }
+       @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
 
 GENIETV_config:        unconfig
        @./mkconfig $(@:_config=) ppc mpc8xx genietv
@@ -329,7 +345,7 @@ TOP860_config:              unconfig
 # All boards can come with 50 MHz (default), 66MHz or 80MHz clock,
 # but only 855 and 860 boards may come with FEC
 # and 823 boards may have LCD support
-xtract_8xx = $(subst _66MHz,,$(subst _80MHz,,$(subst _LCD,,$(subst _FEC,,$(subst _config,,$1)))))
+xtract_8xx = $(subst _66MHz,,$(subst _80MHz,,$(subst _LCD,,$(subst _config,,$1))))
 
 FPS850L_config         \
 FPS860L_config         \
@@ -345,20 +361,13 @@ TQM850L_80MHz_config      \
 TQM855L_config         \
 TQM855L_66MHz_config   \
 TQM855L_80MHz_config   \
-TQM855L_FEC_config     \
-TQM855L_FEC_66MHz_config \
-TQM855L_FEC_80MHz_config \
 TQM860L_config         \
 TQM860L_66MHz_config   \
 TQM860L_80MHz_config   \
-TQM860L_FEC_config     \
-TQM860L_FEC_66MHz_config       \
-TQM860L_FEC_80MHz_config:      unconfig
+TQM862L_config         \
+TQM862L_66MHz_config   \
+TQM862L_80MHz_config:  unconfig
        @ >include/config.h
-       @[ -z "$(findstring _FEC,$@)" ] || \
-               { echo "#define CONFIG_FEC_ENET"        >>include/config.h ; \
-                 echo "... with FEC support" ; \
-               }
        @[ -z "$(findstring _66MHz,$@)" ] || \
                { echo "#define CONFIG_66MHz"           >>include/config.h ; \
                  echo "... with 66MHz system clock" ; \
@@ -574,10 +583,13 @@ sbc8260_config:   unconfig
 SCM_config:            unconfig
        @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens
 
+TQM8255_config \
 TQM8260_config \
 TQM8260_L2_config      \
+TQM8255_266MHz_config  \
 TQM8260_266MHz_config  \
 TQM8260_L2_266MHz_config \
+TQM8255_300MHz_config  \
 TQM8260_300MHz_config: unconfig
        @ >include/config.h
        @if [ "$(findstring _L2_,$@)" ] ; then \
@@ -595,7 +607,12 @@ TQM8260_300MHz_config:     unconfig
                { echo "#define CONFIG_300MHz"  >>include/config.h ; \
                  echo "... with 300MHz system clock" ; \
                }
-       @./mkconfig -a $(call xtract_82xx,$@) ppc mpc8260 tqm8260
+       @[ -z "$(findstring TQM8255_,$@)" ] || \
+               { echo "#define CONFIG_MPC8255" >>include/config.h ; }
+       @./mkconfig -a TQM8260 ppc mpc8260 tqm8260
+
+atc_config:    unconfig
+       @./mkconfig $(@:_config=) ppc mpc8260 atc
 
 #########################################################################
 ## 74xx/7xx Systems
@@ -690,6 +707,9 @@ innokom_config      :       unconfig
 lubbock_config :       unconfig
        @./mkconfig $(@:_config=) arm xscale lubbock
 
+wepep250_config        :       unconfig
+       @./mkconfig $(@:_config=) arm xscale wepep250
+
 #========================================================================
 # i386
 #========================================================================
@@ -709,7 +729,11 @@ sc520_cdp_config   :       unconfig
 incaip_config :                unconfig
        @./mkconfig $(@:_config=) mips mips incaip
 
+purple_config :                unconfig
+       @./mkconfig $(@:_config=) mips mips purple
 
+#########################################################################
+#########################################################################
 
 clean:
        find . -type f \
@@ -717,11 +741,13 @@ clean:
                -o -name '*.o'  -o -name '*.a'  \) -print \
                | xargs rm -f
        rm -f examples/hello_world examples/timer \
-             examples/eepro100_eeprom examples/sched
+             examples/eepro100_eeprom examples/sched \
+             examples/mem_to_mem_idma2intr
        rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr
        rm -f tools/easylogo/easylogo tools/bmp_logo
        rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
        rm -f tools/env/fw_printenv tools/env/fw_setenv
+       rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
 
 clobber:       clean
        find . -type f \
@@ -730,9 +756,9 @@ clobber:    clean
                | xargs rm -f
        rm -f $(OBJS) *.bak tags TAGS
        rm -fr *.*~
-       rm -f u-boot u-boot.bin u-boot.elf u-boot.srec u-boot.map System.map
+       rm -f u-boot u-boot.bin u-boot.srec u-boot.map System.map
        rm -f tools/crc32.c tools/environment.c tools/env/crc32.c
-       rm -f cpu/mpc824x/bedbug_603e.c
+       rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c
        rm -f include/asm/arch include/asm
 
 mrproper \