17ebf7443Swdenk# 2d4ca31c4Swdenk# (C) Copyright 2000-2004 37ebf7443Swdenk# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 47ebf7443Swdenk# 57ebf7443Swdenk# See file CREDITS for list of people who contributed to this 67ebf7443Swdenk# project. 77ebf7443Swdenk# 87ebf7443Swdenk# This program is free software; you can redistribute it and/or 97ebf7443Swdenk# modify it under the terms of the GNU General Public License as 107ebf7443Swdenk# published by the Free Software Foundation; either version 2 of 117ebf7443Swdenk# the License, or (at your option) any later version. 127ebf7443Swdenk# 137ebf7443Swdenk# This program is distributed in the hope that it will be useful, 147ebf7443Swdenk# but WITHOUT ANY WARRANTY; without even the implied warranty of 157ebf7443Swdenk# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 167ebf7443Swdenk# GNU General Public License for more details. 177ebf7443Swdenk# 187ebf7443Swdenk# You should have received a copy of the GNU General Public License 197ebf7443Swdenk# along with this program; if not, write to the Free Software 207ebf7443Swdenk# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 217ebf7443Swdenk# MA 02111-1307 USA 227ebf7443Swdenk# 237ebf7443Swdenk 247ebf7443SwdenkHOSTARCH := $(shell uname -m | \ 257ebf7443Swdenk sed -e s/i.86/i386/ \ 267ebf7443Swdenk -e s/sun4u/sparc64/ \ 277ebf7443Swdenk -e s/arm.*/arm/ \ 287ebf7443Swdenk -e s/sa110/arm/ \ 297ebf7443Swdenk -e s/powerpc/ppc/ \ 307ebf7443Swdenk -e s/macppc/ppc/) 317ebf7443Swdenk 327ebf7443SwdenkHOSTOS := $(shell uname -s | tr A-Z a-z | \ 337ebf7443Swdenk sed -e 's/\(cygwin\).*/cygwin/') 347ebf7443Swdenk 357ebf7443Swdenkexport HOSTARCH 367ebf7443Swdenk 377ebf7443Swdenk# Deal with colliding definitions from tcsh etc. 387ebf7443SwdenkVENDOR= 397ebf7443Swdenk 407ebf7443Swdenk######################################################################### 417ebf7443Swdenk 427ebf7443SwdenkTOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) 437ebf7443Swdenkexport TOPDIR 447ebf7443Swdenk 457ebf7443Swdenkifeq (include/config.mk,$(wildcard include/config.mk)) 467ebf7443Swdenk# load ARCH, BOARD, and CPU configuration 477ebf7443Swdenkinclude include/config.mk 487ebf7443Swdenkexport ARCH CPU BOARD VENDOR 497ebf7443Swdenk# load other configuration 507ebf7443Swdenkinclude $(TOPDIR)/config.mk 517ebf7443Swdenk 527ebf7443Swdenkifndef CROSS_COMPILE 537ebf7443Swdenkifeq ($(HOSTARCH),ppc) 547ebf7443SwdenkCROSS_COMPILE = 557ebf7443Swdenkelse 567ebf7443Swdenkifeq ($(ARCH),ppc) 577ebf7443SwdenkCROSS_COMPILE = ppc_8xx- 587ebf7443Swdenkendif 597ebf7443Swdenkifeq ($(ARCH),arm) 60dc7c9a1aSwdenkCROSS_COMPILE = arm-linux- 617ebf7443Swdenkendif 622262cfeeSwdenkifeq ($(ARCH),i386) 637a8e9bedSwdenkifeq ($(HOSTARCH),i386) 647a8e9bedSwdenkCROSS_COMPILE = 657a8e9bedSwdenkelse 667a8e9bedSwdenkCROSS_COMPILE = i386-linux- 677a8e9bedSwdenkendif 682262cfeeSwdenkendif 6943d9616cSwdenkifeq ($(ARCH),mips) 7043d9616cSwdenkCROSS_COMPILE = mips_4KC- 7143d9616cSwdenkendif 724a551709Swdenkifeq ($(ARCH),nios) 734a551709SwdenkCROSS_COMPILE = nios-elf- 744a551709Swdenkendif 754e5ca3ebSwdenkifeq ($(ARCH),m68k) 764e5ca3ebSwdenkCROSS_COMPILE = m68k-elf- 774e5ca3ebSwdenkendif 78507bbe3eSwdenkifeq ($(ARCH),microblaze) 79507bbe3eSwdenkCROSS_COMPILE = mb- 80507bbe3eSwdenkendif 817ebf7443Swdenkendif 827ebf7443Swdenkendif 837ebf7443Swdenk 847ebf7443Swdenkexport CROSS_COMPILE 857ebf7443Swdenk 867ebf7443Swdenk######################################################################### 877ebf7443Swdenk# U-Boot objects....order is important (i.e. start must be first) 887ebf7443Swdenk 897ebf7443SwdenkOBJS = cpu/$(CPU)/start.o 902262cfeeSwdenkifeq ($(CPU),i386) 912262cfeeSwdenkOBJS += cpu/$(CPU)/start16.o 922262cfeeSwdenkOBJS += cpu/$(CPU)/reset.o 932262cfeeSwdenkendif 947ebf7443Swdenkifeq ($(CPU),ppc4xx) 957ebf7443SwdenkOBJS += cpu/$(CPU)/resetvec.o 967ebf7443Swdenkendif 9742d1f039Swdenkifeq ($(CPU),mpc85xx) 9842d1f039SwdenkOBJS += cpu/$(CPU)/resetvec.o 9942d1f039Swdenkendif 1007ebf7443Swdenk 1019fd5e31fSwdenkLIBS = lib_generic/libgeneric.a 1029fd5e31fSwdenkLIBS += board/$(BOARDDIR)/lib$(BOARD).a 1037ebf7443SwdenkLIBS += cpu/$(CPU)/lib$(CPU).a 1047ebf7443SwdenkLIBS += lib_$(ARCH)/lib$(ARCH).a 105518e2e1aSwdenkLIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ 106518e2e1aSwdenk fs/reiserfs/libreiserfs.a 1077ebf7443SwdenkLIBS += net/libnet.a 1087ebf7443SwdenkLIBS += disk/libdisk.a 1097ebf7443SwdenkLIBS += rtc/librtc.a 1107ebf7443SwdenkLIBS += dtt/libdtt.a 1117ebf7443SwdenkLIBS += drivers/libdrivers.a 1127152b1d0SwdenkLIBS += drivers/sk98lin/libsk98lin.a 1137ebf7443SwdenkLIBS += post/libpost.a post/cpu/libcpu.a 1147ebf7443SwdenkLIBS += common/libcommon.a 1159fd5e31fSwdenk.PHONY : $(LIBS) 116a8c7c708Swdenk 1174f7cb08eSwdenk# Add GCC lib 1183d3befa7SwdenkPLATFORM_LIBS += --no-warn-mismatch -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 1193d3befa7Swdenk 1207ebf7443Swdenk 121a8c7c708Swdenk# The "tools" are needed early, so put this first 122a8c7c708Swdenk# Don't include stuff already done in $(LIBS) 123a8c7c708SwdenkSUBDIRS = tools \ 124a8c7c708Swdenk examples \ 125a8c7c708Swdenk post \ 126a8c7c708Swdenk post/cpu 127b028f715Swdenk.PHONY : $(SUBDIRS) 128a8c7c708Swdenk 1297ebf7443Swdenk######################################################################### 130bdccc4feSwdenk######################################################################### 1317ebf7443Swdenk 132bdccc4feSwdenkALL = u-boot.srec u-boot.bin System.map 1337ebf7443Swdenk 134bdccc4feSwdenkall: $(ALL) 1357ebf7443Swdenk 1367ebf7443Swdenku-boot.srec: u-boot 1377ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 1387ebf7443Swdenk 1397ebf7443Swdenku-boot.bin: u-boot 1407ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 1417ebf7443Swdenk 142bdccc4feSwdenku-boot.img: u-boot.bin 143bdccc4feSwdenk ./tools/mkimage -A $(ARCH) -T firmware -C none \ 144bdccc4feSwdenk -a $(TEXT_BASE) -e 0 \ 145bdccc4feSwdenk -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' include/version.h | \ 146bdccc4feSwdenk sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 147bdccc4feSwdenk -d $< $@ 148bdccc4feSwdenk 1497ebf7443Swdenku-boot.dis: u-boot 1507ebf7443Swdenk $(OBJDUMP) -d $< > $@ 1517ebf7443Swdenk 152a8c7c708Swdenku-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) 1538bde7f77Swdenk UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 1548bde7f77Swdenk $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ 1557152b1d0Swdenk --start-group $(LIBS) $(PLATFORM_LIBS) --end-group \ 156b2184c31Swdenk -Map u-boot.map -o u-boot 1577ebf7443Swdenk 158a8c7c708Swdenk$(LIBS): 159a8c7c708Swdenk $(MAKE) -C `dirname $@` 160a8c7c708Swdenk 161a8c7c708Swdenk$(SUBDIRS): 162b028f715Swdenk $(MAKE) -C $@ all 1637ebf7443Swdenk 1648f713fdfSdzugdbtools: 1658f713fdfSdzu $(MAKE) -C tools/gdb || exit 1 1668f713fdfSdzu 1677ebf7443Swdenkdepend dep: 1687ebf7443Swdenk @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done 1697ebf7443Swdenk 1707ebf7443Swdenktags: 1717ebf7443Swdenk ctags -w `find $(SUBDIRS) include \ 172bda6c8aeSwdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 173bda6c8aeSwdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 174bda6c8aeSwdenk net disk rtc dtt drivers drivers/sk98lin common \ 1757ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 1767ebf7443Swdenk 1777ebf7443Swdenketags: 1787ebf7443Swdenk etags -a `find $(SUBDIRS) include \ 1797ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 1807ebf7443Swdenk 1817ebf7443SwdenkSystem.map: u-boot 1827ebf7443Swdenk @$(NM) $< | \ 1837ebf7443Swdenk grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 1847ebf7443Swdenk sort > System.map 1857ebf7443Swdenk 1867ebf7443Swdenk######################################################################### 1877ebf7443Swdenkelse 1887ebf7443Swdenkall install u-boot u-boot.srec depend dep: 1897ebf7443Swdenk @echo "System not configured - see README" >&2 1907ebf7443Swdenk @ exit 1 1917ebf7443Swdenkendif 1927ebf7443Swdenk 1937ebf7443Swdenk######################################################################### 1947ebf7443Swdenk 1957ebf7443Swdenkunconfig: 19617d704ebSwdenk @rm -f include/config.h include/config.mk board/*/config.tmp 1977ebf7443Swdenk 1987ebf7443Swdenk#======================================================================== 1997ebf7443Swdenk# PowerPC 2007ebf7443Swdenk#======================================================================== 2010db5bca8Swdenk 2020db5bca8Swdenk######################################################################### 2030db5bca8Swdenk## MPC5xx Systems 2040db5bca8Swdenk######################################################################### 2050db5bca8Swdenk 2060db5bca8Swdenkcmi_mpc5xx_config: unconfig 2070db5bca8Swdenk @./mkconfig $(@:_config=) ppc mpc5xx cmi 2080db5bca8Swdenk 209b6e4c403SwdenkPATI_config: unconfig 210b6e4c403Swdenk @./mkconfig $(@:_config=) ppc mpc5xx pati mpl 211b6e4c403Swdenk 2127ebf7443Swdenk######################################################################### 213945af8d7Swdenk## MPC5xxx Systems 214945af8d7Swdenk######################################################################### 215e35745bbSwdenkLite5200_config \ 216e35745bbSwdenkLite5200_LOWBOOT_config \ 217e35745bbSwdenkLite5200_LOWBOOT08_config \ 218e35745bbSwdenkicecube_5200_config \ 219e35745bbSwdenkicecube_5200_LOWBOOT_config \ 220e35745bbSwdenkicecube_5200_LOWBOOT08_config \ 221b2001f27Swdenkicecube_5200_DDR_config \ 22279d696fcSwdenkicecube_5200_DDR_LOWBOOT_config \ 22379d696fcSwdenkicecube_5200_DDR_LOWBOOT08_config \ 224e35745bbSwdenkicecube_5100_config: unconfig 225945af8d7Swdenk @ >include/config.h 22617d704ebSwdenk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 22717d704ebSwdenk { if [ "$(findstring DDR,$@)" ] ; \ 22817d704ebSwdenk then echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 22917d704ebSwdenk else echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ 23017d704ebSwdenk fi ; \ 2315cf9da48Swdenk echo "... with LOWBOOT configuration" ; \ 2325cf9da48Swdenk } 2335cf9da48Swdenk @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 2345cf9da48Swdenk { echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 2355cf9da48Swdenk echo "... with 8 MB flash only" ; \ 23617d704ebSwdenk echo "... with LOWBOOT configuration" ; \ 2375cf9da48Swdenk } 238b2001f27Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 239b2001f27Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 240b2001f27Swdenk echo "... DDR memory revision" ; \ 241b2001f27Swdenk } 242d4ca31c4Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 243d4ca31c4Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 244d4ca31c4Swdenk echo "... with MPC5200 processor" ; \ 245d4ca31c4Swdenk } 246a0f2fe52Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 247945af8d7Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 248945af8d7Swdenk echo "... with MGT5100 processor" ; \ 249945af8d7Swdenk } 250945af8d7Swdenk @./mkconfig -a IceCube ppc mpc5xxx icecube 251945af8d7Swdenk 252d4ca31c4SwdenkMINI5200_config \ 253d4ca31c4SwdenkEVAL5200_config \ 254d4ca31c4SwdenkTOP5200_config: unconfig 255d4ca31c4Swdenk @ echo "#define CONFIG_$(@:_config=) 1" >include/config.h 256d4ca31c4Swdenk @./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk 257d4ca31c4Swdenk 25849822e23SwdenkPM520_config \ 25949822e23SwdenkPM520_DDR_config \ 26049822e23SwdenkPM520_ROMBOOT_config \ 26149822e23SwdenkPM520_ROMBOOT_DDR_config: unconfig 26249822e23Swdenk @ >include/config.h 26349822e23Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 26449822e23Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 26549822e23Swdenk echo "... DDR memory revision" ; \ 26649822e23Swdenk } 26749822e23Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 26849822e23Swdenk { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 26949822e23Swdenk echo "... booting from 8-bit flash" ; \ 27049822e23Swdenk } 27149822e23Swdenk @./mkconfig -a PM520 ppc mpc5xxx pm520 272efa329cbSwdenk 273*56523f12SwdenkTQM5200_AA_config \ 274*56523f12SwdenkTQM5200_AB_config \ 275*56523f12SwdenkTQM5200_AC_config \ 276*56523f12SwdenkMiniFAP_config: unconfig 277*56523f12Swdenk @ >include/config.h 278*56523f12Swdenk @[ -z "$(findstring Mini-FAP,$@)" ] || \ 279*56523f12Swdenk { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ 280*56523f12Swdenk echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 281*56523f12Swdenk echo "... TQM5200_AC on Mini-FAP" ; \ 282*56523f12Swdenk } 283*56523f12Swdenk @[ -z "$(findstring AA,$@)" ] || \ 284*56523f12Swdenk { echo "#define CONFIG_TQM5200_AA" >>include/config.h ; \ 285*56523f12Swdenk echo "... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \ 286*56523f12Swdenk } 287*56523f12Swdenk @[ -z "$(findstring AB,$@)" ] || \ 288*56523f12Swdenk { echo "#define CONFIG_TQM5200_AB" >>include/config.h ; \ 289*56523f12Swdenk echo "... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \ 290*56523f12Swdenk echo "... with Grafic Controller"; \ 291*56523f12Swdenk } 292*56523f12Swdenk @[ -z "$(findstring AC,$@)" ] || \ 293*56523f12Swdenk { echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 294*56523f12Swdenk echo "... with 4 MB Flash, 128 MB SDRAM" ; \ 295*56523f12Swdenk echo "... with Grafic Controller"; \ 296*56523f12Swdenk } 297*56523f12Swdenk @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200 298*56523f12Swdenk 299945af8d7Swdenk######################################################################### 3007ebf7443Swdenk## MPC8xx Systems 3017ebf7443Swdenk######################################################################### 3027ebf7443Swdenk 3032d24a3a7SwdenkAdder_config \ 3042d24a3a7SwdenkAdder87x_config \ 30526238132SwdenkAdderII_config \ 3062d24a3a7Swdenk : unconfig 30726238132Swdenk $(if $(findstring AdderII,$@), \ 3082d24a3a7Swdenk @echo "#define CONFIG_MPC852T" > include/config.h) 3092d24a3a7Swdenk @./mkconfig -a Adder ppc mpc8xx adder 3102d24a3a7Swdenk 311180d3f74SwdenkADS860_config \ 312180d3f74SwdenkFADS823_config \ 313180d3f74SwdenkFADS850SAR_config \ 314180d3f74SwdenkMPC86xADS_config \ 3151114257cSwdenkMPC885ADS_config \ 316180d3f74SwdenkFADS860T_config: unconfig 3177ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 3187ebf7443Swdenk 3197ebf7443SwdenkAMX860_config : unconfig 3207ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel 3217ebf7443Swdenk 3227ebf7443Swdenkc2mon_config: unconfig 3237ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx c2mon 3247ebf7443Swdenk 3257ebf7443SwdenkCCM_config: unconfig 3267ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens 3277ebf7443Swdenk 3287ebf7443Swdenkcogent_mpc8xx_config: unconfig 3297ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx cogent 3307ebf7443Swdenk 3313bac3513SwdenkELPT860_config: unconfig 3323bac3513Swdenk @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX 3333bac3513Swdenk 3347ebf7443SwdenkESTEEM192E_config: unconfig 3357ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx esteem192e 3367ebf7443Swdenk 3377ebf7443SwdenkETX094_config : unconfig 3387ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx etx094 3397ebf7443Swdenk 3407ebf7443SwdenkFLAGADM_config: unconfig 3417ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx flagadm 3427ebf7443Swdenk 3437aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 3447aa78614Swdenk 3457aa78614SwdenkGEN860T_SC_config \ 3467ebf7443SwdenkGEN860T_config: unconfig 3477aa78614Swdenk @ >include/config.h 3487aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 3497aa78614Swdenk { echo "#define CONFIG_SC" >>include/config.h ; \ 3507aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 3517aa78614Swdenk } 3527aa78614Swdenk @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 3537ebf7443Swdenk 3547ebf7443SwdenkGENIETV_config: unconfig 3557ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx genietv 3567ebf7443Swdenk 3577ebf7443SwdenkGTH_config: unconfig 3587ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx gth 3597ebf7443Swdenk 3607ebf7443Swdenkhermes_config : unconfig 3617ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx hermes 3627ebf7443Swdenk 363c40b2956SwdenkHMI10_config : unconfig 364c40b2956Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 365c40b2956Swdenk 3667ebf7443SwdenkIAD210_config: unconfig 3677ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens 3687ebf7443Swdenk 3697ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 3707ebf7443Swdenk 3717ebf7443SwdenkICU862_100MHz_config \ 3727ebf7443SwdenkICU862_config: unconfig 3737ebf7443Swdenk @ >include/config.h 3747ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 3757ebf7443Swdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 3767ebf7443Swdenk echo "... with 100MHz system clock" ; \ 3777ebf7443Swdenk } 3787ebf7443Swdenk @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 3797ebf7443Swdenk 3807ebf7443SwdenkIP860_config : unconfig 3817ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx ip860 3827ebf7443Swdenk 3837ebf7443SwdenkIVML24_256_config \ 3847ebf7443SwdenkIVML24_128_config \ 3857ebf7443SwdenkIVML24_config: unconfig 3867ebf7443Swdenk @ >include/config.h 3877ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 3887ebf7443Swdenk { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ 3897ebf7443Swdenk } 3907ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 3917ebf7443Swdenk { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ 3927ebf7443Swdenk } 3937ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 3947ebf7443Swdenk { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ 3957ebf7443Swdenk } 3967ebf7443Swdenk @./mkconfig -a IVML24 ppc mpc8xx ivm 3977ebf7443Swdenk 3987ebf7443SwdenkIVMS8_256_config \ 3997ebf7443SwdenkIVMS8_128_config \ 4007ebf7443SwdenkIVMS8_config: unconfig 4017ebf7443Swdenk @ >include/config.h 4027ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 4037ebf7443Swdenk { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ 4047ebf7443Swdenk } 4057ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 4067ebf7443Swdenk { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ 4077ebf7443Swdenk } 4087ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 4097ebf7443Swdenk { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ 4107ebf7443Swdenk } 4117ebf7443Swdenk @./mkconfig -a IVMS8 ppc mpc8xx ivm 4127ebf7443Swdenk 41356f94be3SwdenkKUP4K_config : unconfig 4140608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup 4150608e04dSwdenk 4160608e04dSwdenkKUP4X_config : unconfig 4170608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup 41856f94be3Swdenk 4197ebf7443SwdenkLANTEC_config : unconfig 4207ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lantec 4217ebf7443Swdenk 4227ebf7443Swdenklwmon_config: unconfig 4237ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lwmon 4247ebf7443Swdenk 4257ebf7443SwdenkMBX_config \ 4267ebf7443SwdenkMBX860T_config: unconfig 4277ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx 4287ebf7443Swdenk 4297ebf7443SwdenkMHPC_config: unconfig 4307ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec 4317ebf7443Swdenk 4327ebf7443SwdenkMVS1_config : unconfig 4337ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mvs1 4347ebf7443Swdenk 435993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 436993cad93Swdenk 437993cad93SwdenkNETVIA_V2_config \ 4387ebf7443SwdenkNETVIA_config: unconfig 439993cad93Swdenk @ >include/config.h 440993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 441993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ 442993cad93Swdenk echo "... Version 1" ; \ 443993cad93Swdenk } 444993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 445993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ 446993cad93Swdenk echo "... Version 2" ; \ 447993cad93Swdenk } 448993cad93Swdenk @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 4497ebf7443Swdenk 450c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 451c26e454dSwdenk 452c26e454dSwdenkNETPHONE_V2_config \ 45304a85b3bSwdenkNETPHONE_config: unconfig 454c26e454dSwdenk @ >include/config.h 455c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 456c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ 457c26e454dSwdenk } 458c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 459c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ 460c26e454dSwdenk } 461c26e454dSwdenk @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 46204a85b3bSwdenk 46379fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 46404a85b3bSwdenk 46579fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 46679fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 46779fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 46879fa88f3SwdenkNETTA_SWAPHOOK_config \ 46979fa88f3SwdenkNETTA_ISDN_6412_config \ 47004a85b3bSwdenkNETTA_ISDN_config \ 47179fa88f3SwdenkNETTA_6412_config \ 47204a85b3bSwdenkNETTA_config: unconfig 47304a85b3bSwdenk @ >include/config.h 47479fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 47504a85b3bSwdenk { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ 47604a85b3bSwdenk } 47779fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 47879fa88f3Swdenk { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ 47979fa88f3Swdenk } 48079fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 48179fa88f3Swdenk { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ 48279fa88f3Swdenk } 48379fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 48479fa88f3Swdenk { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ 48579fa88f3Swdenk } 48679fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 48779fa88f3Swdenk { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ 48879fa88f3Swdenk } 48979fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 49079fa88f3Swdenk { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ 49179fa88f3Swdenk } 49204a85b3bSwdenk @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta 49304a85b3bSwdenk 49479fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 49579fa88f3Swdenk 49679fa88f3SwdenkNETTA2_V2_config \ 49779fa88f3SwdenkNETTA2_config: unconfig 49879fa88f3Swdenk @ >include/config.h 49979fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 50079fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ 50179fa88f3Swdenk } 50279fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 50379fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ 50479fa88f3Swdenk } 50579fa88f3Swdenk @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 50679fa88f3Swdenk 5077ebf7443SwdenkNX823_config: unconfig 5087ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nx823 5097ebf7443Swdenk 5107ebf7443Swdenkpcu_e_config: unconfig 5117ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens 5127ebf7443Swdenk 5133bbc899fSwdenkQS850_config: unconfig 5143bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 5153bbc899fSwdenk 5163bbc899fSwdenkQS823_config: unconfig 5173bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 5183bbc899fSwdenk 5193bbc899fSwdenkQS860T_config: unconfig 5203bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc 5213bbc899fSwdenk 5227ebf7443SwdenkR360MPI_config: unconfig 5237ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx r360mpi 5247ebf7443Swdenk 525682011ffSwdenkRBC823_config: unconfig 526682011ffSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rbc823 527682011ffSwdenk 5287ebf7443SwdenkRPXClassic_config: unconfig 5297ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic 5307ebf7443Swdenk 5317ebf7443SwdenkRPXlite_config: unconfig 5327ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXlite 5337ebf7443Swdenk 534e63c8ee3SwdenkRPXlite_DW_64_config \ 535e63c8ee3SwdenkRPXlite_DW_LCD_config \ 536e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 537e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 538e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 539e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 540e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 541e63c8ee3SwdenkRPXlite_DW_config: unconfig 542e63c8ee3Swdenk @ >include/config.h 543e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 544e63c8ee3Swdenk { echo "#define RPXlite_64MHz" >>include/config.h ; \ 545e63c8ee3Swdenk echo "... with 64MHz system clock ..."; \ 546e63c8ee3Swdenk } 547e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 548e63c8ee3Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 549e63c8ee3Swdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 550e63c8ee3Swdenk echo "... with LCD display ..."; \ 551e63c8ee3Swdenk } 552e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 553e63c8ee3Swdenk { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ 554e63c8ee3Swdenk echo "... with ENV in NVRAM ..."; \ 555e63c8ee3Swdenk } 556e63c8ee3Swdenk @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw 557e63c8ee3Swdenk 55873a8b27cSwdenkrmu_config: unconfig 55973a8b27cSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rmu 56073a8b27cSwdenk 5617ebf7443SwdenkRRvision_config: unconfig 5627ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RRvision 5637ebf7443Swdenk 5647ebf7443SwdenkRRvision_LCD_config: unconfig 5657ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 5667ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 5677ebf7443Swdenk @./mkconfig -a RRvision ppc mpc8xx RRvision 5687ebf7443Swdenk 5697ebf7443SwdenkSM850_config : unconfig 5707ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 5717ebf7443Swdenk 5727ebf7443SwdenkSPD823TS_config: unconfig 5737ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx spd8xx 5747ebf7443Swdenk 575dc7c9a1aSwdenksvm_sc8xx_config: unconfig 576dc7c9a1aSwdenk @ >include/config.h 577dc7c9a1aSwdenk @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx 578dc7c9a1aSwdenk 5797ebf7443SwdenkSXNI855T_config: unconfig 5807ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx sixnet 5817ebf7443Swdenk 582db2f721fSwdenk# EMK MPC8xx based modules 583db2f721fSwdenkTOP860_config: unconfig 584db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx top860 emk 585db2f721fSwdenk 5867ebf7443Swdenk# Play some tricks for configuration selection 587e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 588e9132ea9Swdenk# and only 823 boards may have LCD support 589e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 5907ebf7443Swdenk 5917ebf7443SwdenkFPS850L_config \ 592384ae025SwdenkFPS860L_config \ 593f12e568cSwdenkNSCU_config \ 5947ebf7443SwdenkTQM823L_config \ 5957ebf7443SwdenkTQM823L_LCD_config \ 5967ebf7443SwdenkTQM850L_config \ 5977ebf7443SwdenkTQM855L_config \ 5987ebf7443SwdenkTQM860L_config \ 599d126bfbdSwdenkTQM862L_config \ 600ae3af05eSwdenkTQM823M_config \ 601ae3af05eSwdenkTQM850M_config \ 602f12e568cSwdenkTQM855M_config \ 603f12e568cSwdenkTQM860M_config \ 604f12e568cSwdenkTQM862M_config \ 605c178d3daSwdenkTQM866M_config: unconfig 6067ebf7443Swdenk @ >include/config.h 6077ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 6087ebf7443Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 609fd3103bbSwdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 6107ebf7443Swdenk echo "... with LCD display" ; \ 6117ebf7443Swdenk } 6127ebf7443Swdenk @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 6137ebf7443Swdenk 6147ebf7443SwdenkTTTech_config: unconfig 6157ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 6167ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 6177ebf7443Swdenk @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 6187ebf7443Swdenk 619608c9146Swdenkv37_config: unconfig 620608c9146Swdenk @echo "#define CONFIG_LCD" >include/config.h 621608c9146Swdenk @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h 622608c9146Swdenk @./mkconfig $(@:_config=) ppc mpc8xx v37 623608c9146Swdenk 62491e940d9Sdzuwtk_config: unconfig 62591e940d9Sdzu @echo "#define CONFIG_LCD" >include/config.h 62691e940d9Sdzu @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h 62791e940d9Sdzu @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 62891e940d9Sdzu 6297ebf7443Swdenk######################################################################### 6307ebf7443Swdenk## PPC4xx Systems 6317ebf7443Swdenk######################################################################### 632e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 6337ebf7443Swdenk 6347ebf7443SwdenkADCIOP_config: unconfig 6357ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx adciop esd 6367ebf7443Swdenk 6377ebf7443SwdenkAR405_config: unconfig 6387ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd 6397ebf7443Swdenk 640549826eaSstroeseASH405_config: unconfig 641549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd 642549826eaSstroese 643549826eaSstroeseBUBINGA405EP_config: unconfig 644549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx bubinga405ep 645549826eaSstroese 6467ebf7443SwdenkCANBT_config: unconfig 6477ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx canbt esd 6487ebf7443Swdenk 64910767ccbSwdenkCATcenter_config: unconfig 65010767ccbSwdenk @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h 65110767ccbSwdenk @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h 65210767ccbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 65310767ccbSwdenk 6547ebf7443SwdenkCPCI405_config \ 655549826eaSstroeseCPCI4052_config \ 656549826eaSstroeseCPCI405AB_config: unconfig 6577ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd 6587ebf7443Swdenk @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk 6597ebf7443Swdenk 6607ebf7443SwdenkCPCI440_config: unconfig 6617ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd 6627ebf7443Swdenk 6637ebf7443SwdenkCPCIISER4_config: unconfig 6647ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd 6657ebf7443Swdenk 6667ebf7443SwdenkCRAYL1_config: unconfig 6677ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx L1 cray 6687ebf7443Swdenk 669cd0a9de6Swdenkcsb272_config: unconfig 670cd0a9de6Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb272 671cd0a9de6Swdenk 672aa245090Swdenkcsb472_config: unconfig 673aa245090Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb472 674aa245090Swdenk 6757ebf7443SwdenkDASA_SIM_config: unconfig 6767ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd 6777ebf7443Swdenk 67872cd5aa7SstroeseDP405_config: unconfig 67972cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd 68072cd5aa7Sstroese 6817ebf7443SwdenkDU405_config: unconfig 6827ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx du405 esd 6837ebf7443Swdenk 6847ebf7443SwdenkEBONY_config: unconfig 6857ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ebony 6867ebf7443Swdenk 6877ebf7443SwdenkERIC_config: unconfig 6887ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx eric 6897ebf7443Swdenk 690d1cbe85bSwdenkEXBITGEN_config: unconfig 691d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc ppc4xx exbitgen 692d1cbe85bSwdenk 69372cd5aa7SstroeseHUB405_config: unconfig 69472cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd 69572cd5aa7Sstroese 696db01a2eaSwdenkJSE_config: unconfig 697db01a2eaSwdenk @./mkconfig $(@:_config=) ppc ppc4xx jse 698db01a2eaSwdenk 6997ebf7443SwdenkMIP405_config: unconfig 7007ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl 7017ebf7443Swdenk 702f3e0de60SwdenkMIP405T_config: unconfig 703f3e0de60Swdenk @echo "#define CONFIG_MIP405T" >include/config.h 704f3e0de60Swdenk @echo "Enable subset config for MIP405T" 705f3e0de60Swdenk @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl 706f3e0de60Swdenk 7077ebf7443SwdenkML2_config: unconfig 7087ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml2 7097ebf7443Swdenk 710028ab6b5Swdenkml300_config: unconfig 711028ab6b5Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx 712028ab6b5Swdenk 7130e6d798cSwdenkOCOTEA_config: unconfig 7140e6d798cSwdenk @./mkconfig $(@:_config=) ppc ppc4xx ocotea 7150e6d798cSwdenk 7167ebf7443SwdenkOCRTC_config \ 7177ebf7443SwdenkORSG_config: unconfig 7187ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd 7197ebf7443Swdenk 7207ebf7443SwdenkPCI405_config: unconfig 7217ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd 7227ebf7443Swdenk 7237ebf7443SwdenkPIP405_config: unconfig 7247ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl 7257ebf7443Swdenk 72672cd5aa7SstroesePLU405_config: unconfig 72772cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd 72872cd5aa7Sstroese 729549826eaSstroesePMC405_config: unconfig 730549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd 731549826eaSstroese 732e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 733e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 734e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 735e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 736e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 737e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 738fbe4b5cbSwdenk @ >include/config.h 739fbe4b5cbSwdenk @[ -z "$(findstring _MODEL_BA,$@)" ] || \ 740fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ 741fbe4b5cbSwdenk echo "... BASIC model" ; \ 742fbe4b5cbSwdenk } 743fbe4b5cbSwdenk @[ -z "$(findstring _MODEL_ME,$@)" ] || \ 744fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ 745fbe4b5cbSwdenk echo "... MEDIUM model" ; \ 746fbe4b5cbSwdenk } 747fbe4b5cbSwdenk @[ -z "$(findstring _MODEL_HI,$@)" ] || \ 748fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ 749fbe4b5cbSwdenk echo "... HIGH-END model" ; \ 750fbe4b5cbSwdenk } 751e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 752e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 753e55ca7e2Swdenk echo " SysClk = 25MHz" ; \ 754e55ca7e2Swdenk } 755e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 756e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 757e55ca7e2Swdenk echo " SysClk = 33MHz" ; \ 758e55ca7e2Swdenk } 759fbe4b5cbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 76012f34241Swdenk 76172cd5aa7SstroeseVOH405_config: unconfig 76272cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd 76372cd5aa7Sstroese 7647ebf7443SwdenkW7OLMC_config \ 7657ebf7443SwdenkW7OLMG_config: unconfig 7667ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx w7o 7677ebf7443Swdenk 7687ebf7443SwdenkWALNUT405_config: unconfig 7697ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx walnut405 7707ebf7443Swdenk 771ba56f625SwdenkXPEDITE1K_config: unconfig 772ba56f625Swdenk @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k 773ba56f625Swdenk 7747ebf7443Swdenk######################################################################### 7757ebf7443Swdenk## MPC824x Systems 7767ebf7443Swdenk######################################################################### 777efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 7783bac3513Swdenk 7790332990bSwdenkA3000_config: unconfig 7800332990bSwdenk @./mkconfig $(@:_config=) ppc mpc824x a3000 7810332990bSwdenk 7827ebf7443SwdenkBMW_config: unconfig 7837ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x bmw 7847ebf7443Swdenk 7853bac3513SwdenkCPC45_config \ 7863bac3513SwdenkCPC45_ROMBOOT_config: unconfig 7873bac3513Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 7883bac3513Swdenk @cd ./include ; \ 7893bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 7903bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 7913bac3513Swdenk echo "... booting from 8-bit flash" ; \ 7923bac3513Swdenk else \ 7933bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 7943bac3513Swdenk echo "... booting from 64-bit flash" ; \ 7953bac3513Swdenk fi; \ 7963bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 7973bac3513Swdenk 7987ebf7443SwdenkCU824_config: unconfig 7997ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x cu824 8007ebf7443Swdenk 8017abf0c58Swdenkdebris_config: unconfig 8027abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc824x debris etin 8037abf0c58Swdenk 80480885a9dSwdenkeXalion_config: unconfig 80580885a9dSwdenk @./mkconfig $(@:_config=) ppc mpc824x eXalion 80680885a9dSwdenk 8077ebf7443SwdenkMOUSSE_config: unconfig 8087ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x mousse 8097ebf7443Swdenk 8107ebf7443SwdenkMUSENKI_config: unconfig 8117ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x musenki 8127ebf7443Swdenk 813b4676a25SwdenkMVBLUE_config: unconfig 814b4676a25Swdenk @./mkconfig $(@:_config=) ppc mpc824x mvblue 815b4676a25Swdenk 8167ebf7443SwdenkOXC_config: unconfig 8177ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x oxc 8187ebf7443Swdenk 8197ebf7443SwdenkPN62_config: unconfig 8207ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x pn62 8217ebf7443Swdenk 8227ebf7443SwdenkSandpoint8240_config: unconfig 8237ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 8247ebf7443Swdenk 8257ebf7443SwdenkSandpoint8245_config: unconfig 8267ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 8277ebf7443Swdenk 828466b7410Swdenksbc8240_config: unconfig 829466b7410Swdenk @./mkconfig $(@:_config=) ppc mpc824x sbc8240 830466b7410Swdenk 831d1cbe85bSwdenkSL8245_config: unconfig 832d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc mpc824x sl8245 833d1cbe85bSwdenk 8347ebf7443Swdenkutx8245_config: unconfig 8357ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x utx8245 8367ebf7443Swdenk 8377ebf7443Swdenk######################################################################### 8387ebf7443Swdenk## MPC8260 Systems 8397ebf7443Swdenk######################################################################### 8407ebf7443Swdenk 84154387ac9Swdenkatc_config: unconfig 84254387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 atc 84354387ac9Swdenk 8447ebf7443Swdenkcogent_mpc8260_config: unconfig 8457ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 cogent 8467ebf7443Swdenk 8477ebf7443SwdenkCPU86_config \ 8487ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 8497ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 8507ebf7443Swdenk @cd ./include ; \ 8517ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 8527ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 8537ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 8547ebf7443Swdenk else \ 8557ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 8567ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 8577ebf7443Swdenk fi; \ 8587ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 8597ebf7443Swdenk 8607ebf7443Swdenkep8260_config: unconfig 8617ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ep8260 8627ebf7443Swdenk 8637ebf7443Swdenkgw8260_config: unconfig 8647ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 gw8260 8657ebf7443Swdenk 8667ebf7443Swdenkhymod_config: unconfig 8677ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 hymod 8687ebf7443Swdenk 8697ebf7443SwdenkIPHASE4539_config: unconfig 8707ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 8717ebf7443Swdenk 872c3c7f861SwdenkISPAN_config \ 873c3c7f861SwdenkISPAN_REVB_config: unconfig 874c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 875c3c7f861Swdenk echo "#define CFG_REV_B" > include/config.h ; \ 876c3c7f861Swdenk fi 877c3c7f861Swdenk @./mkconfig -a ISPAN ppc mpc8260 ispan 878c3c7f861Swdenk 87904a85b3bSwdenkMPC8260ADS_config \ 88004a85b3bSwdenkMPC8260ADS_33MHz_config \ 88104a85b3bSwdenkMPC8260ADS_40MHz_config \ 88204a85b3bSwdenkMPC8272ADS_config \ 88304a85b3bSwdenkPQ2FADS_config \ 88404a85b3bSwdenkPQ2FADS-VR_config \ 88504a85b3bSwdenkPQ2FADS-ZU_config \ 88604a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 88704a85b3bSwdenk : unconfig 88804a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 88904a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ 89004a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) 89104a85b3bSwdenk $(if $(findstring MHz,$@), \ 89204a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ 89304a85b3bSwdenk $(if $(findstring VR,$@), \ 89404a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) 89504a85b3bSwdenk @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads 8967ebf7443Swdenk 897db2f721fSwdenkMPC8266ADS_config: unconfig 898db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads 899db2f721fSwdenk 900efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 90110f67017SwdenkPM825_config \ 902efa329cbSwdenkPM825_ROMBOOT_config \ 903efa329cbSwdenkPM825_BIGFLASH_config \ 904efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 9057ebf7443SwdenkPM826_config \ 906efa329cbSwdenkPM826_ROMBOOT_config \ 907efa329cbSwdenkPM826_BIGFLASH_config \ 908efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 909efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 910efa329cbSwdenk echo "#define CONFIG_PCI" >include/config.h ; \ 9117ebf7443Swdenk else \ 912efa329cbSwdenk >include/config.h ; \ 913efa329cbSwdenk fi 914efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 915efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 916efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 917efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 918efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 919efa329cbSwdenk echo "... with 32 MB Flash" ; \ 920efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 9217ebf7443Swdenk fi; \ 922efa329cbSwdenk else \ 923efa329cbSwdenk echo "... booting from 64-bit flash" ; \ 924efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 925efa329cbSwdenk echo "... with 32 MB Flash" ; \ 926efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 927efa329cbSwdenk echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ 928efa329cbSwdenk else \ 929efa329cbSwdenk echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ 930efa329cbSwdenk fi; \ 931efa329cbSwdenk fi 932efa329cbSwdenk @./mkconfig -a PM826 ppc mpc8260 pm826 933efa329cbSwdenk 934efa329cbSwdenkPM828_config \ 935efa329cbSwdenkPM828_PCI_config \ 936efa329cbSwdenkPM828_ROMBOOT_config \ 937efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 938efa329cbSwdenk @if [ -z "$(findstring _PCI_,$@)" ] ; then \ 939efa329cbSwdenk echo "#define CONFIG_PCI" >>include/config.h ; \ 940efa329cbSwdenk echo "... with PCI enabled" ; \ 941efa329cbSwdenk else \ 942efa329cbSwdenk >include/config.h ; \ 943efa329cbSwdenk fi 944efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 945efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 946efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 947efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 948efa329cbSwdenk fi 949efa329cbSwdenk @./mkconfig -a PM828 ppc mpc8260 pm828 9507ebf7443Swdenk 9517ebf7443Swdenkppmc8260_config: unconfig 9527ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 9537ebf7443Swdenk 9547ebf7443SwdenkRPXsuper_config: unconfig 9557ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper 9567ebf7443Swdenk 9577ebf7443Swdenkrsdproto_config: unconfig 9587ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rsdproto 9597ebf7443Swdenk 9607ebf7443Swdenksacsng_config: unconfig 9617ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sacsng 9627ebf7443Swdenk 9637ebf7443Swdenksbc8260_config: unconfig 9647ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 9657ebf7443Swdenk 9667ebf7443SwdenkSCM_config: unconfig 9677ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens 9687ebf7443Swdenk 96927b207fdSwdenkTQM8255_AA_config \ 97027b207fdSwdenkTQM8260_AA_config \ 97127b207fdSwdenkTQM8260_AB_config \ 97227b207fdSwdenkTQM8260_AC_config \ 97327b207fdSwdenkTQM8260_AD_config \ 97427b207fdSwdenkTQM8260_AE_config \ 97527b207fdSwdenkTQM8260_AF_config \ 97627b207fdSwdenkTQM8260_AG_config \ 97727b207fdSwdenkTQM8260_AH_config \ 97827b207fdSwdenkTQM8265_AA_config: unconfig 97927b207fdSwdenk @case "$@" in \ 98027b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 98127b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 98227b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 98327b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 98427b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 98527b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 98627b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 98727b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 98827b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 98927b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 99027b207fdSwdenk esac; \ 99127b207fdSwdenk >include/config.h ; \ 99227b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 99327b207fdSwdenk echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ 99427b207fdSwdenk fi; \ 99527b207fdSwdenk echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ 99627b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 99727b207fdSwdenk if [ "$${CACHE}" == "yes" ] ; then \ 9987ebf7443Swdenk echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ 99927b207fdSwdenk echo "... with L2 Cache support" ; \ 10007ebf7443Swdenk else \ 10017ebf7443Swdenk echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ 10027ebf7443Swdenk echo "... without L2 Cache support" ; \ 100327b207fdSwdenk fi; \ 100427b207fdSwdenk if [ "$${BMODE}" == "60x" ] ; then \ 100527b207fdSwdenk echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ 100627b207fdSwdenk echo "... with 60x Bus Mode" ; \ 100727b207fdSwdenk else \ 100827b207fdSwdenk echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ 100927b207fdSwdenk echo "... without 60x Bus Mode" ; \ 10107ebf7443Swdenk fi 10114532cb69Swdenk @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 10127ebf7443Swdenk 101354387ac9SwdenkZPC1900_config: unconfig 101454387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 10157aa78614Swdenk 10164e5ca3ebSwdenk#======================================================================== 10174e5ca3ebSwdenk# M68K 10184e5ca3ebSwdenk#======================================================================== 10194e5ca3ebSwdenk######################################################################### 10204e5ca3ebSwdenk## Coldfire 10214e5ca3ebSwdenk######################################################################### 10224e5ca3ebSwdenk 10234e5ca3ebSwdenkM5272C3_config : unconfig 1024bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 10254e5ca3ebSwdenk 10264e5ca3ebSwdenkM5282EVB_config : unconfig 1027bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb 10284e5ca3ebSwdenk 10297ebf7443Swdenk######################################################################### 103042d1f039Swdenk## MPC85xx Systems 103142d1f039Swdenk######################################################################### 103242d1f039Swdenk 103342d1f039SwdenkMPC8540ADS_config: unconfig 103442d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads 103542d1f039Swdenk 103642d1f039SwdenkMPC8560ADS_config: unconfig 103742d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads 103842d1f039Swdenk 10397abf0c58Swdenkstxgp3_config: unconfig 10407abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 10417abf0c58Swdenk 1042466b7410Swdenksbc8560_config \ 1043466b7410Swdenksbc8560_33_config \ 1044466b7410Swdenksbc8560_66_config: unconfig 10458b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 10468b07a110Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 10478b07a110Swdenk echo "... 66 MHz PCI" ; \ 10488b07a110Swdenk else \ 10498b07a110Swdenk >include/config.h ; \ 10508b07a110Swdenk echo "... 33 MHz PCI" ; \ 10518b07a110Swdenk fi 1052466b7410Swdenk @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 10538b07a110Swdenk 105442d1f039Swdenk######################################################################### 10557ebf7443Swdenk## 74xx/7xx Systems 10567ebf7443Swdenk######################################################################### 10577ebf7443Swdenk 1058c7de829cSwdenkAmigaOneG3SE_config: unconfig 1059c7de829cSwdenk @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 1060c7de829cSwdenk 106115647dc7SwdenkBAB7xx_config: unconfig 106215647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec 106315647dc7Swdenk 10643a473b2aSwdenkDB64360_config: unconfig 10653a473b2aSwdenk @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell 10663a473b2aSwdenk 10673a473b2aSwdenkDB64460_config: unconfig 10683a473b2aSwdenk @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell 10693a473b2aSwdenk 107015647dc7SwdenkELPPC_config: unconfig 107115647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec 107215647dc7Swdenk 10737ebf7443SwdenkEVB64260_config \ 10747ebf7443SwdenkEVB64260_750CX_config: unconfig 10757ebf7443Swdenk @./mkconfig EVB64260 ppc 74xx_7xx evb64260 10767ebf7443Swdenk 107715647dc7SwdenkP3G4_config: unconfig 10787ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 10797ebf7443Swdenk 10807ebf7443SwdenkPCIPPC2_config \ 10817ebf7443SwdenkPCIPPC6_config: unconfig 10827ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 10837ebf7443Swdenk 108415647dc7SwdenkZUMA_config: unconfig 108512f34241Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 108612f34241Swdenk 10877ebf7443Swdenk#======================================================================== 10887ebf7443Swdenk# ARM 10897ebf7443Swdenk#======================================================================== 10907ebf7443Swdenk######################################################################### 10917ebf7443Swdenk## StrongARM Systems 10927ebf7443Swdenk######################################################################### 10937ebf7443Swdenk 1094ea66bc88Swdenkassabet_config : unconfig 1095ea66bc88Swdenk @./mkconfig $(@:_config=) arm sa1100 assabet 1096ea66bc88Swdenk 10977ebf7443Swdenkdnp1110_config : unconfig 10987ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 dnp1110 10997ebf7443Swdenk 1100855a496fSwdenkgcplus_config : unconfig 1101855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 gcplus 1102855a496fSwdenk 1103855a496fSwdenklart_config : unconfig 1104855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 lart 1105855a496fSwdenk 11067ebf7443Swdenkshannon_config : unconfig 11077ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 shannon 11087ebf7443Swdenk 11097ebf7443Swdenk######################################################################### 11102e5983d2Swdenk## ARM92xT Systems 11117ebf7443Swdenk######################################################################### 11127ebf7443Swdenk 1113b0639ca3Swdenkxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 111443d9616cSwdenk 11153ff02c27Swdenkxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 111663e73c9aSwdenk 1117a56bd922Swdenkxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 1118a56bd922Swdenk 11193d3befa7Swdenkintegratorcp_config : unconfig 11203d3befa7Swdenk @./mkconfig $(@:_config=) arm arm926ejs integratorcp 11213d3befa7Swdenk 11223d3befa7Swdenkintegratorap_config : unconfig 11233d3befa7Swdenk @./mkconfig $(@:_config=) arm arm926ejs integratorap 11243d3befa7Swdenk 1125f832d8a1Swdenklpd7a400_config \ 1126f832d8a1Swdenklpd7a404_config: unconfig 11272d24a3a7Swdenk @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x 11283d3befa7Swdenk 11292e5983d2Swdenkomap1510inn_config : unconfig 11302e5983d2Swdenk @./mkconfig $(@:_config=) arm arm925t omap1510inn 11312e5983d2Swdenk 11321eaeb58eSwdenkomap5912osk_config : unconfig 11331eaeb58eSwdenk @./mkconfig $(@:_config=) arm arm926ejs omap5912osk 11341eaeb58eSwdenk 113563e73c9aSwdenkomap1610inn_config \ 113663e73c9aSwdenkomap1610inn_cs0boot_config \ 113763e73c9aSwdenkomap1610inn_cs3boot_config \ 11383ff02c27Swdenkomap1610inn_cs_autoboot_config \ 113963e73c9aSwdenkomap1610h2_config \ 114063e73c9aSwdenkomap1610h2_cs0boot_config \ 11413ff02c27Swdenkomap1610h2_cs3boot_config \ 11423ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 114363e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 114463e73c9aSwdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1145b79a11ccSwdenk echo "... configured for CS0 boot"; \ 11463ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 11473ff02c27Swdenk echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ 11483ff02c27Swdenk echo "... configured for CS_AUTO boot"; \ 114963e73c9aSwdenk else \ 115063e73c9aSwdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1151b79a11ccSwdenk echo "... configured for CS3 boot"; \ 115263e73c9aSwdenk fi; 115363e73c9aSwdenk @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn 11546f21347dSwdenk 1155a56bd922Swdenkomap730p2_config \ 1156a56bd922Swdenkomap730p2_cs0boot_config \ 1157a56bd922Swdenkomap730p2_cs3boot_config : unconfig 1158a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 1159a56bd922Swdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1160a56bd922Swdenk echo "... configured for CS0 boot"; \ 1161a56bd922Swdenk else \ 1162a56bd922Swdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1163a56bd922Swdenk echo "... configured for CS3 boot"; \ 1164a56bd922Swdenk fi; 1165a56bd922Swdenk @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 1166a56bd922Swdenk 11677ebf7443Swdenksmdk2400_config : unconfig 11687ebf7443Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2400 11697ebf7443Swdenk 11707ebf7443Swdenksmdk2410_config : unconfig 11717ebf7443Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2410 11727ebf7443Swdenk 11732d24a3a7SwdenkSX1_config : unconfig 11742d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm925t sx1 11752d24a3a7Swdenk 1176b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 117743d9616cSwdenktrab_config \ 1178b0639ca3Swdenktrab_bigram_config \ 1179b0639ca3Swdenktrab_bigflash_config \ 1180f54ebdfaSwdenktrab_old_config: unconfig 118143d9616cSwdenk @ >include/config.h 1182b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 1183b0639ca3Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1184b2001f27Swdenk echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ 1185b0639ca3Swdenk echo "... with 8 MB Flash, 32 MB RAM" ; \ 1186b0639ca3Swdenk } 1187b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 1188b2001f27Swdenk { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ 1189b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1190b0639ca3Swdenk echo "... with 16 MB Flash, 16 MB RAM" ; \ 1191a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 1192b0639ca3Swdenk } 1193f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 1194b2001f27Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1195b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1196b2001f27Swdenk echo "... with 8 MB Flash, 16 MB RAM" ; \ 1197a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 119843d9616cSwdenk } 119943d9616cSwdenk @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab 12007ebf7443Swdenk 12011cb8e980SwdenkVCMA9_config : unconfig 12021cb8e980Swdenk @./mkconfig $(@:_config=) arm arm920t vcma9 mpl 12031cb8e980Swdenk 12042d24a3a7Swdenkversatile_config : unconfig 12052d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm926ejs versatile 1206074cff0dSwdenk 1207074cff0dSwdenk######################################################################### 1208074cff0dSwdenk## S3C44B0 Systems 1209074cff0dSwdenk######################################################################### 1210074cff0dSwdenk 1211074cff0dSwdenkB2_config : unconfig 1212074cff0dSwdenk @./mkconfig $(@:_config=) arm s3c44b0 B2 dave 1213074cff0dSwdenk 12147ebf7443Swdenk######################################################################### 12152d24a3a7Swdenk## MC9328 (Dragonball) Systems 12162d24a3a7Swdenk######################################################################### 12172d24a3a7Swdenk 12182d24a3a7Swdenkmx1ads_config : unconfig 12192d24a3a7Swdenk @./mkconfig $(@:_config=) arm mc9328 mx1ads 12202d24a3a7Swdenk 12212d24a3a7Swdenk######################################################################### 12227ebf7443Swdenk## ARM720T Systems 12237ebf7443Swdenk######################################################################### 12247ebf7443Swdenk 12257ebf7443Swdenkep7312_config : unconfig 12267ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t ep7312 12277ebf7443Swdenk 12282d24a3a7Swdenkimpa7_config : unconfig 12292d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm720t impa7 12302d24a3a7Swdenk 12312d1a537dSwdenkmodnet50_config : unconfig 12322d1a537dSwdenk @./mkconfig $(@:_config=) arm arm720t modnet50 12332d1a537dSwdenk 123439539887Swdenkevb4510_config : unconfig 123539539887Swdenk @./mkconfig $(@:_config=) arm arm720t evb4510 123639539887Swdenk 12377ebf7443Swdenk######################################################################### 1238d9df1f4eSwdenk## AT91RM9200 Systems 1239d9df1f4eSwdenk######################################################################### 1240d9df1f4eSwdenk 1241d9df1f4eSwdenkat91rm9200dk_config : unconfig 1242d9df1f4eSwdenk @./mkconfig $(@:_config=) arm at91rm9200 at91rm9200dk 1243d9df1f4eSwdenk 1244d9df1f4eSwdenk######################################################################### 124543d9616cSwdenk## XScale Systems 12467ebf7443Swdenk######################################################################### 12477ebf7443Swdenk 1248fabd46acSwdenkcerf250_config : unconfig 1249fabd46acSwdenk @./mkconfig $(@:_config=) arm pxa cerf250 1250fabd46acSwdenk 12517ebf7443Swdenkcradle_config : unconfig 12524c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa cradle 12537ebf7443Swdenk 12547ebf7443Swdenkcsb226_config : unconfig 12554c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa csb226 12567ebf7443Swdenk 125743d9616cSwdenkinnokom_config : unconfig 12584c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa innokom 125943d9616cSwdenk 12602d5b561eSwdenkixdp425_config : unconfig 12612d5b561eSwdenk @./mkconfig $(@:_config=) arm ixp ixdp425 12622d5b561eSwdenk 126343d9616cSwdenklubbock_config : unconfig 12644c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa lubbock 126543d9616cSwdenk 126652f52c14Swdenklogodl_config : unconfig 126752f52c14Swdenk @./mkconfig $(@:_config=) arm pxa logodl 126852f52c14Swdenk 12693e38691eSwdenkwepep250_config : unconfig 12704c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa wepep250 12713e38691eSwdenk 1272efa329cbSwdenkxm250_config : unconfig 1273efa329cbSwdenk @./mkconfig $(@:_config=) arm pxa xm250 1274efa329cbSwdenk 1275ca0e7748Swdenkxsengine_config : unconfig 1276ca0e7748Swdenk @./mkconfig $(@:_config=) arm pxa xsengine 1277ca0e7748Swdenk 12782262cfeeSwdenk#======================================================================== 12792262cfeeSwdenk# i386 12802262cfeeSwdenk#======================================================================== 12812262cfeeSwdenk######################################################################### 12822262cfeeSwdenk## AMD SC520 CDP 12832262cfeeSwdenk######################################################################### 12842262cfeeSwdenksc520_cdp_config : unconfig 12852262cfeeSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_cdp 12862262cfeeSwdenk 12877a8e9bedSwdenksc520_spunk_config : unconfig 12887a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 12897a8e9bedSwdenk 12907a8e9bedSwdenksc520_spunk_rel_config : unconfig 12917a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 12927a8e9bedSwdenk 129343d9616cSwdenk#======================================================================== 129443d9616cSwdenk# MIPS 129543d9616cSwdenk#======================================================================== 12967ebf7443Swdenk######################################################################### 129743d9616cSwdenk## MIPS32 4Kc 129843d9616cSwdenk######################################################################### 129943d9616cSwdenk 1300e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 1301e0ac62d7Swdenk 1302e0ac62d7Swdenkincaip_100MHz_config \ 1303e0ac62d7Swdenkincaip_133MHz_config \ 1304e0ac62d7Swdenkincaip_150MHz_config \ 130543d9616cSwdenkincaip_config: unconfig 1306e0ac62d7Swdenk @ >include/config.h 1307e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 1308e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ 1309e0ac62d7Swdenk echo "... with 100MHz system clock" ; \ 1310e0ac62d7Swdenk } 1311e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 1312e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ 1313e0ac62d7Swdenk echo "... with 133MHz system clock" ; \ 1314e0ac62d7Swdenk } 1315e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 1316e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ 1317e0ac62d7Swdenk echo "... with 150MHz system clock" ; \ 1318e0ac62d7Swdenk } 1319e0ac62d7Swdenk @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip 1320e0ac62d7Swdenk 1321f4863a7aSwdenktb0229_config: unconfig 1322f4863a7aSwdenk @./mkconfig $(@:_config=) mips mips tb0229 1323f4863a7aSwdenk 1324e0ac62d7Swdenk######################################################################### 132569459791Swdenk## MIPS32 AU1X00 132669459791Swdenk######################################################################### 132769459791Swdenkdbau1000_config : unconfig 132869459791Swdenk @ >include/config.h 132969459791Swdenk @echo "#define CONFIG_DBAU1000 1" >>include/config.h 133069459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 133169459791Swdenk 133269459791Swdenkdbau1100_config : unconfig 133369459791Swdenk @ >include/config.h 133469459791Swdenk @echo "#define CONFIG_DBAU1100 1" >>include/config.h 133569459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 133669459791Swdenk 133769459791Swdenkdbau1500_config : unconfig 133869459791Swdenk @ >include/config.h 133969459791Swdenk @echo "#define CONFIG_DBAU1500 1" >>include/config.h 134069459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 134169459791Swdenk 134269459791Swdenk######################################################################### 1343e0ac62d7Swdenk## MIPS64 5Kc 1344e0ac62d7Swdenk######################################################################### 134543d9616cSwdenk 13463e38691eSwdenkpurple_config : unconfig 13473e38691eSwdenk @./mkconfig $(@:_config=) mips mips purple 134843d9616cSwdenk 13494a551709Swdenk#======================================================================== 13504a551709Swdenk# Nios 13514a551709Swdenk#======================================================================== 13524a551709Swdenk######################################################################### 13534a551709Swdenk## Nios32 13544a551709Swdenk######################################################################### 13554a551709Swdenk 1356c935d3bdSwdenkDK1C20_safe_32_config \ 1357c935d3bdSwdenkDK1C20_standard_32_config \ 13584a551709SwdenkDK1C20_config: unconfig 1359c935d3bdSwdenk @ >include/config.h 1360c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1361c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1362c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1363c935d3bdSwdenk } 1364c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1365c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1366c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1367c935d3bdSwdenk } 1368c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 1369c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1370c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1371c935d3bdSwdenk } 1372c935d3bdSwdenk @./mkconfig -a DK1C20 nios nios dk1c20 altera 1373c935d3bdSwdenk 1374c935d3bdSwdenkDK1S10_safe_32_config \ 1375c935d3bdSwdenkDK1S10_standard_32_config \ 1376ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 1377c935d3bdSwdenkDK1S10_config: unconfig 1378c935d3bdSwdenk @ >include/config.h 1379c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1380c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1381c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1382c935d3bdSwdenk } 1383c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1384c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1385c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1386c935d3bdSwdenk } 1387ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 1388ec4c544bSwdenk { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ 1389ec4c544bSwdenk echo "... NIOS 'mtx_ldk_20' configuration" ; \ 1390ec4c544bSwdenk } 1391c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 1392c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1393c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1394c935d3bdSwdenk } 1395c935d3bdSwdenk @./mkconfig -a DK1S10 nios nios dk1s10 altera 13964a551709Swdenk 1397aaf224abSwdenkADNPESC1_DNPEVA2_base_32_config \ 1398aaf224abSwdenkADNPESC1_base_32_config \ 1399aaf224abSwdenkADNPESC1_config: unconfig 1400aaf224abSwdenk @ >include/config.h 1401aaf224abSwdenk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 1402aaf224abSwdenk { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ 1403aaf224abSwdenk echo "... DNP/EVA2 configuration" ; \ 1404aaf224abSwdenk } 1405aaf224abSwdenk @[ -z "$(findstring _base_32,$@)" ] || \ 1406aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1407aaf224abSwdenk echo "... NIOS 'base_32' configuration" ; \ 1408aaf224abSwdenk } 1409aaf224abSwdenk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 1410aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1411aaf224abSwdenk echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ 1412aaf224abSwdenk } 1413aaf224abSwdenk @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv 1414aaf224abSwdenk 14154a551709Swdenk 1416507bbe3eSwdenk#======================================================================== 1417507bbe3eSwdenk# MicroBlaze 1418507bbe3eSwdenk#======================================================================== 1419507bbe3eSwdenk######################################################################### 1420507bbe3eSwdenk## Microblaze 1421507bbe3eSwdenk######################################################################### 1422507bbe3eSwdenksuzaku_config: unconfig 1423507bbe3eSwdenk @ >include/config.h 1424507bbe3eSwdenk @echo "#define CONFIG_SUZAKU 1" >> include/config.h 1425507bbe3eSwdenk @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 1426507bbe3eSwdenk 14273e38691eSwdenk######################################################################### 14283e38691eSwdenk######################################################################### 14297ebf7443Swdenk 14307ebf7443Swdenkclean: 14317ebf7443Swdenk find . -type f \ 14327ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 14337ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 14347ebf7443Swdenk | xargs rm -f 143585ec0bccSwdenk rm -f examples/hello_world examples/timer \ 14363e38691eSwdenk examples/eepro100_eeprom examples/sched \ 14377a8e9bedSwdenk examples/mem_to_mem_idma2intr examples/82559_eeprom 14387ebf7443Swdenk rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr 1439bda6c8aeSwdenk rm -f tools/mpc86x_clk 14407ebf7443Swdenk rm -f tools/easylogo/easylogo tools/bmp_logo 14417ebf7443Swdenk rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend 1442228f29acSwdenk rm -f tools/env/fw_printenv tools/env/fw_setenv 14437f70e853Swdenk rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image 14447e780369Swdenk rm -f board/trab/trab_fkt 14457ebf7443Swdenk 14467ebf7443Swdenkclobber: clean 14474c0d4c3bSwdenk find . -type f \( -name .depend \ 14484c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 14494c0d4c3bSwdenk -print0 \ 14504c0d4c3bSwdenk | xargs -0 rm -f 14517ebf7443Swdenk rm -f $(OBJS) *.bak tags TAGS 14527ebf7443Swdenk rm -fr *.*~ 1453bdccc4feSwdenk rm -f u-boot u-boot.map $(ALL) 1454228f29acSwdenk rm -f tools/crc32.c tools/environment.c tools/env/crc32.c 14553e38691eSwdenk rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c 1456b783edaeSwdenk rm -f include/asm/proc include/asm/arch include/asm 14577ebf7443Swdenk 14587ebf7443Swdenkmrproper \ 14597ebf7443Swdenkdistclean: clobber unconfig 14607ebf7443Swdenk 14617ebf7443Swdenkbackup: 14627ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 14637ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 14647ebf7443Swdenk 14657ebf7443Swdenk######################################################################### 1466