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 258*6c7a1408SwdenkTotal5100_config \ 259*6c7a1408SwdenkTotal5200_config \ 260*6c7a1408SwdenkTotal5200_lowboot_config \ 261*6c7a1408SwdenkTotal5200_Rev2_config \ 262*6c7a1408SwdenkTotal5200_Rev2_lowboot_config: unconfig 263*6c7a1408Swdenk @ >include/config.h 264*6c7a1408Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 265*6c7a1408Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 266*6c7a1408Swdenk echo "... with MGT5100 processor" ; \ 267*6c7a1408Swdenk } 268*6c7a1408Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 269*6c7a1408Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 270*6c7a1408Swdenk echo "... with MPC5200 processor" ; \ 271*6c7a1408Swdenk } 272*6c7a1408Swdenk @[ -n "$(findstring Rev,$@)" ] || \ 273*6c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \ 274*6c7a1408Swdenk echo "... revision 1 board" ; \ 275*6c7a1408Swdenk } 276*6c7a1408Swdenk @[ -z "$(findstring Rev2_,$@)" ] || \ 277*6c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \ 278*6c7a1408Swdenk echo "... revision 2 board" ; \ 279*6c7a1408Swdenk } 280*6c7a1408Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 281*6c7a1408Swdenk { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \ 282*6c7a1408Swdenk echo "... with lowboot configuration" ; \ 283*6c7a1408Swdenk } 284*6c7a1408Swdenk @./mkconfig -a Total5200 ppc mpc5xxx total5200 285*6c7a1408Swdenk 28649822e23SwdenkPM520_config \ 28749822e23SwdenkPM520_DDR_config \ 28849822e23SwdenkPM520_ROMBOOT_config \ 28949822e23SwdenkPM520_ROMBOOT_DDR_config: unconfig 29049822e23Swdenk @ >include/config.h 29149822e23Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 29249822e23Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 29349822e23Swdenk echo "... DDR memory revision" ; \ 29449822e23Swdenk } 29549822e23Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 29649822e23Swdenk { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 29749822e23Swdenk echo "... booting from 8-bit flash" ; \ 29849822e23Swdenk } 29949822e23Swdenk @./mkconfig -a PM520 ppc mpc5xxx pm520 300efa329cbSwdenk 30156523f12SwdenkTQM5200_AA_config \ 30256523f12SwdenkTQM5200_AB_config \ 30356523f12SwdenkTQM5200_AC_config \ 30456523f12SwdenkMiniFAP_config: unconfig 30556523f12Swdenk @ >include/config.h 30656523f12Swdenk @[ -z "$(findstring Mini-FAP,$@)" ] || \ 30756523f12Swdenk { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ 30856523f12Swdenk echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 30956523f12Swdenk echo "... TQM5200_AC on Mini-FAP" ; \ 31056523f12Swdenk } 31156523f12Swdenk @[ -z "$(findstring AA,$@)" ] || \ 31256523f12Swdenk { echo "#define CONFIG_TQM5200_AA" >>include/config.h ; \ 31356523f12Swdenk echo "... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \ 31456523f12Swdenk } 31556523f12Swdenk @[ -z "$(findstring AB,$@)" ] || \ 31656523f12Swdenk { echo "#define CONFIG_TQM5200_AB" >>include/config.h ; \ 31756523f12Swdenk echo "... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \ 31856523f12Swdenk echo "... with Grafic Controller"; \ 31956523f12Swdenk } 32056523f12Swdenk @[ -z "$(findstring AC,$@)" ] || \ 32156523f12Swdenk { echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 32256523f12Swdenk echo "... with 4 MB Flash, 128 MB SDRAM" ; \ 32356523f12Swdenk echo "... with Grafic Controller"; \ 32456523f12Swdenk } 32556523f12Swdenk @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200 32656523f12Swdenk 327945af8d7Swdenk######################################################################### 3287ebf7443Swdenk## MPC8xx Systems 3297ebf7443Swdenk######################################################################### 3307ebf7443Swdenk 3312d24a3a7SwdenkAdder_config \ 3322d24a3a7SwdenkAdder87x_config \ 33326238132SwdenkAdderII_config \ 3342d24a3a7Swdenk : unconfig 33526238132Swdenk $(if $(findstring AdderII,$@), \ 3362d24a3a7Swdenk @echo "#define CONFIG_MPC852T" > include/config.h) 3372d24a3a7Swdenk @./mkconfig -a Adder ppc mpc8xx adder 3382d24a3a7Swdenk 339180d3f74SwdenkADS860_config \ 340180d3f74SwdenkFADS823_config \ 341180d3f74SwdenkFADS850SAR_config \ 342180d3f74SwdenkMPC86xADS_config \ 3431114257cSwdenkMPC885ADS_config \ 344180d3f74SwdenkFADS860T_config: unconfig 3457ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 3467ebf7443Swdenk 3477ebf7443SwdenkAMX860_config : unconfig 3487ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel 3497ebf7443Swdenk 3507ebf7443Swdenkc2mon_config: unconfig 3517ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx c2mon 3527ebf7443Swdenk 3537ebf7443SwdenkCCM_config: unconfig 3547ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens 3557ebf7443Swdenk 3567ebf7443Swdenkcogent_mpc8xx_config: unconfig 3577ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx cogent 3587ebf7443Swdenk 3593bac3513SwdenkELPT860_config: unconfig 3603bac3513Swdenk @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX 3613bac3513Swdenk 3627ebf7443SwdenkESTEEM192E_config: unconfig 3637ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx esteem192e 3647ebf7443Swdenk 3657ebf7443SwdenkETX094_config : unconfig 3667ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx etx094 3677ebf7443Swdenk 3687ebf7443SwdenkFLAGADM_config: unconfig 3697ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx flagadm 3707ebf7443Swdenk 3717aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 3727aa78614Swdenk 3737aa78614SwdenkGEN860T_SC_config \ 3747ebf7443SwdenkGEN860T_config: unconfig 3757aa78614Swdenk @ >include/config.h 3767aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 3777aa78614Swdenk { echo "#define CONFIG_SC" >>include/config.h ; \ 3787aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 3797aa78614Swdenk } 3807aa78614Swdenk @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 3817ebf7443Swdenk 3827ebf7443SwdenkGENIETV_config: unconfig 3837ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx genietv 3847ebf7443Swdenk 3857ebf7443SwdenkGTH_config: unconfig 3867ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx gth 3877ebf7443Swdenk 3887ebf7443Swdenkhermes_config : unconfig 3897ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx hermes 3907ebf7443Swdenk 391c40b2956SwdenkHMI10_config : unconfig 392c40b2956Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 393c40b2956Swdenk 3947ebf7443SwdenkIAD210_config: unconfig 3957ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens 3967ebf7443Swdenk 3977ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 3987ebf7443Swdenk 3997ebf7443SwdenkICU862_100MHz_config \ 4007ebf7443SwdenkICU862_config: unconfig 4017ebf7443Swdenk @ >include/config.h 4027ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 4037ebf7443Swdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 4047ebf7443Swdenk echo "... with 100MHz system clock" ; \ 4057ebf7443Swdenk } 4067ebf7443Swdenk @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 4077ebf7443Swdenk 4087ebf7443SwdenkIP860_config : unconfig 4097ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx ip860 4107ebf7443Swdenk 4117ebf7443SwdenkIVML24_256_config \ 4127ebf7443SwdenkIVML24_128_config \ 4137ebf7443SwdenkIVML24_config: unconfig 4147ebf7443Swdenk @ >include/config.h 4157ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 4167ebf7443Swdenk { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ 4177ebf7443Swdenk } 4187ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 4197ebf7443Swdenk { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ 4207ebf7443Swdenk } 4217ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 4227ebf7443Swdenk { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ 4237ebf7443Swdenk } 4247ebf7443Swdenk @./mkconfig -a IVML24 ppc mpc8xx ivm 4257ebf7443Swdenk 4267ebf7443SwdenkIVMS8_256_config \ 4277ebf7443SwdenkIVMS8_128_config \ 4287ebf7443SwdenkIVMS8_config: unconfig 4297ebf7443Swdenk @ >include/config.h 4307ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 4317ebf7443Swdenk { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ 4327ebf7443Swdenk } 4337ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 4347ebf7443Swdenk { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ 4357ebf7443Swdenk } 4367ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 4377ebf7443Swdenk { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ 4387ebf7443Swdenk } 4397ebf7443Swdenk @./mkconfig -a IVMS8 ppc mpc8xx ivm 4407ebf7443Swdenk 44156f94be3SwdenkKUP4K_config : unconfig 4420608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup 4430608e04dSwdenk 4440608e04dSwdenkKUP4X_config : unconfig 4450608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup 44656f94be3Swdenk 4477ebf7443SwdenkLANTEC_config : unconfig 4487ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lantec 4497ebf7443Swdenk 4507ebf7443Swdenklwmon_config: unconfig 4517ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lwmon 4527ebf7443Swdenk 4537ebf7443SwdenkMBX_config \ 4547ebf7443SwdenkMBX860T_config: unconfig 4557ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx 4567ebf7443Swdenk 4577ebf7443SwdenkMHPC_config: unconfig 4587ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec 4597ebf7443Swdenk 4607ebf7443SwdenkMVS1_config : unconfig 4617ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mvs1 4627ebf7443Swdenk 463993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 464993cad93Swdenk 465993cad93SwdenkNETVIA_V2_config \ 4667ebf7443SwdenkNETVIA_config: unconfig 467993cad93Swdenk @ >include/config.h 468993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 469993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ 470993cad93Swdenk echo "... Version 1" ; \ 471993cad93Swdenk } 472993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 473993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ 474993cad93Swdenk echo "... Version 2" ; \ 475993cad93Swdenk } 476993cad93Swdenk @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 4777ebf7443Swdenk 478c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 479c26e454dSwdenk 480c26e454dSwdenkNETPHONE_V2_config \ 48104a85b3bSwdenkNETPHONE_config: unconfig 482c26e454dSwdenk @ >include/config.h 483c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 484c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ 485c26e454dSwdenk } 486c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 487c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ 488c26e454dSwdenk } 489c26e454dSwdenk @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 49004a85b3bSwdenk 49179fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 49204a85b3bSwdenk 49379fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 49479fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 49579fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 49679fa88f3SwdenkNETTA_SWAPHOOK_config \ 49779fa88f3SwdenkNETTA_ISDN_6412_config \ 49804a85b3bSwdenkNETTA_ISDN_config \ 49979fa88f3SwdenkNETTA_6412_config \ 50004a85b3bSwdenkNETTA_config: unconfig 50104a85b3bSwdenk @ >include/config.h 50279fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 50304a85b3bSwdenk { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ 50404a85b3bSwdenk } 50579fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 50679fa88f3Swdenk { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ 50779fa88f3Swdenk } 50879fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 50979fa88f3Swdenk { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ 51079fa88f3Swdenk } 51179fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 51279fa88f3Swdenk { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ 51379fa88f3Swdenk } 51479fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 51579fa88f3Swdenk { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ 51679fa88f3Swdenk } 51779fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 51879fa88f3Swdenk { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ 51979fa88f3Swdenk } 52004a85b3bSwdenk @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta 52104a85b3bSwdenk 52279fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 52379fa88f3Swdenk 52479fa88f3SwdenkNETTA2_V2_config \ 52579fa88f3SwdenkNETTA2_config: unconfig 52679fa88f3Swdenk @ >include/config.h 52779fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 52879fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ 52979fa88f3Swdenk } 53079fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 53179fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ 53279fa88f3Swdenk } 53379fa88f3Swdenk @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 53479fa88f3Swdenk 5357ebf7443SwdenkNX823_config: unconfig 5367ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nx823 5377ebf7443Swdenk 5387ebf7443Swdenkpcu_e_config: unconfig 5397ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens 5407ebf7443Swdenk 5413bbc899fSwdenkQS850_config: unconfig 5423bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 5433bbc899fSwdenk 5443bbc899fSwdenkQS823_config: unconfig 5453bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 5463bbc899fSwdenk 5473bbc899fSwdenkQS860T_config: unconfig 5483bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc 5493bbc899fSwdenk 5507ebf7443SwdenkR360MPI_config: unconfig 5517ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx r360mpi 5527ebf7443Swdenk 553682011ffSwdenkRBC823_config: unconfig 554682011ffSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rbc823 555682011ffSwdenk 5567ebf7443SwdenkRPXClassic_config: unconfig 5577ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic 5587ebf7443Swdenk 5597ebf7443SwdenkRPXlite_config: unconfig 5607ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXlite 5617ebf7443Swdenk 562e63c8ee3SwdenkRPXlite_DW_64_config \ 563e63c8ee3SwdenkRPXlite_DW_LCD_config \ 564e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 565e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 566e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 567e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 568e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 569e63c8ee3SwdenkRPXlite_DW_config: unconfig 570e63c8ee3Swdenk @ >include/config.h 571e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 572e63c8ee3Swdenk { echo "#define RPXlite_64MHz" >>include/config.h ; \ 573e63c8ee3Swdenk echo "... with 64MHz system clock ..."; \ 574e63c8ee3Swdenk } 575e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 576e63c8ee3Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 577e63c8ee3Swdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 578e63c8ee3Swdenk echo "... with LCD display ..."; \ 579e63c8ee3Swdenk } 580e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 581e63c8ee3Swdenk { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ 582e63c8ee3Swdenk echo "... with ENV in NVRAM ..."; \ 583e63c8ee3Swdenk } 584e63c8ee3Swdenk @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw 585e63c8ee3Swdenk 58673a8b27cSwdenkrmu_config: unconfig 58773a8b27cSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rmu 58873a8b27cSwdenk 5897ebf7443SwdenkRRvision_config: unconfig 5907ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RRvision 5917ebf7443Swdenk 5927ebf7443SwdenkRRvision_LCD_config: unconfig 5937ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 5947ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 5957ebf7443Swdenk @./mkconfig -a RRvision ppc mpc8xx RRvision 5967ebf7443Swdenk 5977ebf7443SwdenkSM850_config : unconfig 5987ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 5997ebf7443Swdenk 6007ebf7443SwdenkSPD823TS_config: unconfig 6017ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx spd8xx 6027ebf7443Swdenk 603dc7c9a1aSwdenksvm_sc8xx_config: unconfig 604dc7c9a1aSwdenk @ >include/config.h 605dc7c9a1aSwdenk @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx 606dc7c9a1aSwdenk 6077ebf7443SwdenkSXNI855T_config: unconfig 6087ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx sixnet 6097ebf7443Swdenk 610db2f721fSwdenk# EMK MPC8xx based modules 611db2f721fSwdenkTOP860_config: unconfig 612db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx top860 emk 613db2f721fSwdenk 6147ebf7443Swdenk# Play some tricks for configuration selection 615e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 616e9132ea9Swdenk# and only 823 boards may have LCD support 617e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 6187ebf7443Swdenk 6197ebf7443SwdenkFPS850L_config \ 620384ae025SwdenkFPS860L_config \ 621f12e568cSwdenkNSCU_config \ 6227ebf7443SwdenkTQM823L_config \ 6237ebf7443SwdenkTQM823L_LCD_config \ 6247ebf7443SwdenkTQM850L_config \ 6257ebf7443SwdenkTQM855L_config \ 6267ebf7443SwdenkTQM860L_config \ 627d126bfbdSwdenkTQM862L_config \ 628ae3af05eSwdenkTQM823M_config \ 629ae3af05eSwdenkTQM850M_config \ 630f12e568cSwdenkTQM855M_config \ 631f12e568cSwdenkTQM860M_config \ 632f12e568cSwdenkTQM862M_config \ 633c178d3daSwdenkTQM866M_config: unconfig 6347ebf7443Swdenk @ >include/config.h 6357ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 6367ebf7443Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 637fd3103bbSwdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 6387ebf7443Swdenk echo "... with LCD display" ; \ 6397ebf7443Swdenk } 6407ebf7443Swdenk @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 6417ebf7443Swdenk 6427ebf7443SwdenkTTTech_config: unconfig 6437ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 6447ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 6457ebf7443Swdenk @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 6467ebf7443Swdenk 647608c9146Swdenkv37_config: unconfig 648608c9146Swdenk @echo "#define CONFIG_LCD" >include/config.h 649608c9146Swdenk @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h 650608c9146Swdenk @./mkconfig $(@:_config=) ppc mpc8xx v37 651608c9146Swdenk 65291e940d9Sdzuwtk_config: unconfig 65391e940d9Sdzu @echo "#define CONFIG_LCD" >include/config.h 65491e940d9Sdzu @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h 65591e940d9Sdzu @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 65691e940d9Sdzu 6577ebf7443Swdenk######################################################################### 6587ebf7443Swdenk## PPC4xx Systems 6597ebf7443Swdenk######################################################################### 660e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 6617ebf7443Swdenk 6627ebf7443SwdenkADCIOP_config: unconfig 6637ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx adciop esd 6647ebf7443Swdenk 6657ebf7443SwdenkAR405_config: unconfig 6667ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd 6677ebf7443Swdenk 668549826eaSstroeseASH405_config: unconfig 669549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd 670549826eaSstroese 671549826eaSstroeseBUBINGA405EP_config: unconfig 672549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx bubinga405ep 673549826eaSstroese 6747ebf7443SwdenkCANBT_config: unconfig 6757ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx canbt esd 6767ebf7443Swdenk 67710767ccbSwdenkCATcenter_config: unconfig 67810767ccbSwdenk @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h 67910767ccbSwdenk @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h 68010767ccbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 68110767ccbSwdenk 6827ebf7443SwdenkCPCI405_config \ 683549826eaSstroeseCPCI4052_config \ 684549826eaSstroeseCPCI405AB_config: unconfig 6857ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd 6867ebf7443Swdenk @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk 6877ebf7443Swdenk 6887ebf7443SwdenkCPCI440_config: unconfig 6897ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd 6907ebf7443Swdenk 6917ebf7443SwdenkCPCIISER4_config: unconfig 6927ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd 6937ebf7443Swdenk 6947ebf7443SwdenkCRAYL1_config: unconfig 6957ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx L1 cray 6967ebf7443Swdenk 697cd0a9de6Swdenkcsb272_config: unconfig 698cd0a9de6Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb272 699cd0a9de6Swdenk 700aa245090Swdenkcsb472_config: unconfig 701aa245090Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb472 702aa245090Swdenk 7037ebf7443SwdenkDASA_SIM_config: unconfig 7047ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd 7057ebf7443Swdenk 70672cd5aa7SstroeseDP405_config: unconfig 70772cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd 70872cd5aa7Sstroese 7097ebf7443SwdenkDU405_config: unconfig 7107ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx du405 esd 7117ebf7443Swdenk 7127ebf7443SwdenkEBONY_config: unconfig 7137ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ebony 7147ebf7443Swdenk 7157ebf7443SwdenkERIC_config: unconfig 7167ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx eric 7177ebf7443Swdenk 718d1cbe85bSwdenkEXBITGEN_config: unconfig 719d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc ppc4xx exbitgen 720d1cbe85bSwdenk 72172cd5aa7SstroeseHUB405_config: unconfig 72272cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd 72372cd5aa7Sstroese 724db01a2eaSwdenkJSE_config: unconfig 725db01a2eaSwdenk @./mkconfig $(@:_config=) ppc ppc4xx jse 726db01a2eaSwdenk 7277ebf7443SwdenkMIP405_config: unconfig 7287ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl 7297ebf7443Swdenk 730f3e0de60SwdenkMIP405T_config: unconfig 731f3e0de60Swdenk @echo "#define CONFIG_MIP405T" >include/config.h 732f3e0de60Swdenk @echo "Enable subset config for MIP405T" 733f3e0de60Swdenk @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl 734f3e0de60Swdenk 7357ebf7443SwdenkML2_config: unconfig 7367ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml2 7377ebf7443Swdenk 738028ab6b5Swdenkml300_config: unconfig 739028ab6b5Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx 740028ab6b5Swdenk 7410e6d798cSwdenkOCOTEA_config: unconfig 7420e6d798cSwdenk @./mkconfig $(@:_config=) ppc ppc4xx ocotea 7430e6d798cSwdenk 7447ebf7443SwdenkOCRTC_config \ 7457ebf7443SwdenkORSG_config: unconfig 7467ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd 7477ebf7443Swdenk 7487ebf7443SwdenkPCI405_config: unconfig 7497ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd 7507ebf7443Swdenk 7517ebf7443SwdenkPIP405_config: unconfig 7527ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl 7537ebf7443Swdenk 75472cd5aa7SstroesePLU405_config: unconfig 75572cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd 75672cd5aa7Sstroese 757549826eaSstroesePMC405_config: unconfig 758549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd 759549826eaSstroese 760e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 761e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 762e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 763e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 764e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 765e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 766fbe4b5cbSwdenk @ >include/config.h 767fbe4b5cbSwdenk @[ -z "$(findstring _MODEL_BA,$@)" ] || \ 768fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ 769fbe4b5cbSwdenk echo "... BASIC model" ; \ 770fbe4b5cbSwdenk } 771fbe4b5cbSwdenk @[ -z "$(findstring _MODEL_ME,$@)" ] || \ 772fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ 773fbe4b5cbSwdenk echo "... MEDIUM model" ; \ 774fbe4b5cbSwdenk } 775fbe4b5cbSwdenk @[ -z "$(findstring _MODEL_HI,$@)" ] || \ 776fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ 777fbe4b5cbSwdenk echo "... HIGH-END model" ; \ 778fbe4b5cbSwdenk } 779e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 780e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 781e55ca7e2Swdenk echo " SysClk = 25MHz" ; \ 782e55ca7e2Swdenk } 783e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 784e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 785e55ca7e2Swdenk echo " SysClk = 33MHz" ; \ 786e55ca7e2Swdenk } 787fbe4b5cbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 78812f34241Swdenk 78972cd5aa7SstroeseVOH405_config: unconfig 79072cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd 79172cd5aa7Sstroese 7927ebf7443SwdenkW7OLMC_config \ 7937ebf7443SwdenkW7OLMG_config: unconfig 7947ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx w7o 7957ebf7443Swdenk 7967ebf7443SwdenkWALNUT405_config: unconfig 7977ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx walnut405 7987ebf7443Swdenk 799ba56f625SwdenkXPEDITE1K_config: unconfig 800ba56f625Swdenk @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k 801ba56f625Swdenk 8027ebf7443Swdenk######################################################################### 8037ebf7443Swdenk## MPC824x Systems 8047ebf7443Swdenk######################################################################### 805efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 8063bac3513Swdenk 8070332990bSwdenkA3000_config: unconfig 8080332990bSwdenk @./mkconfig $(@:_config=) ppc mpc824x a3000 8090332990bSwdenk 8107ebf7443SwdenkBMW_config: unconfig 8117ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x bmw 8127ebf7443Swdenk 8133bac3513SwdenkCPC45_config \ 8143bac3513SwdenkCPC45_ROMBOOT_config: unconfig 8153bac3513Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 8163bac3513Swdenk @cd ./include ; \ 8173bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 8183bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 8193bac3513Swdenk echo "... booting from 8-bit flash" ; \ 8203bac3513Swdenk else \ 8213bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 8223bac3513Swdenk echo "... booting from 64-bit flash" ; \ 8233bac3513Swdenk fi; \ 8243bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 8253bac3513Swdenk 8267ebf7443SwdenkCU824_config: unconfig 8277ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x cu824 8287ebf7443Swdenk 8297abf0c58Swdenkdebris_config: unconfig 8307abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc824x debris etin 8317abf0c58Swdenk 83280885a9dSwdenkeXalion_config: unconfig 83380885a9dSwdenk @./mkconfig $(@:_config=) ppc mpc824x eXalion 83480885a9dSwdenk 8357ebf7443SwdenkMOUSSE_config: unconfig 8367ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x mousse 8377ebf7443Swdenk 8387ebf7443SwdenkMUSENKI_config: unconfig 8397ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x musenki 8407ebf7443Swdenk 841b4676a25SwdenkMVBLUE_config: unconfig 842b4676a25Swdenk @./mkconfig $(@:_config=) ppc mpc824x mvblue 843b4676a25Swdenk 8447ebf7443SwdenkOXC_config: unconfig 8457ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x oxc 8467ebf7443Swdenk 8477ebf7443SwdenkPN62_config: unconfig 8487ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x pn62 8497ebf7443Swdenk 8507ebf7443SwdenkSandpoint8240_config: unconfig 8517ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 8527ebf7443Swdenk 8537ebf7443SwdenkSandpoint8245_config: unconfig 8547ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 8557ebf7443Swdenk 856466b7410Swdenksbc8240_config: unconfig 857466b7410Swdenk @./mkconfig $(@:_config=) ppc mpc824x sbc8240 858466b7410Swdenk 859d1cbe85bSwdenkSL8245_config: unconfig 860d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc mpc824x sl8245 861d1cbe85bSwdenk 8627ebf7443Swdenkutx8245_config: unconfig 8637ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x utx8245 8647ebf7443Swdenk 8657ebf7443Swdenk######################################################################### 8667ebf7443Swdenk## MPC8260 Systems 8677ebf7443Swdenk######################################################################### 8687ebf7443Swdenk 86954387ac9Swdenkatc_config: unconfig 87054387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 atc 87154387ac9Swdenk 8727ebf7443Swdenkcogent_mpc8260_config: unconfig 8737ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 cogent 8747ebf7443Swdenk 8757ebf7443SwdenkCPU86_config \ 8767ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 8777ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 8787ebf7443Swdenk @cd ./include ; \ 8797ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 8807ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 8817ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 8827ebf7443Swdenk else \ 8837ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 8847ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 8857ebf7443Swdenk fi; \ 8867ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 8877ebf7443Swdenk 8887ebf7443Swdenkep8260_config: unconfig 8897ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ep8260 8907ebf7443Swdenk 8917ebf7443Swdenkgw8260_config: unconfig 8927ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 gw8260 8937ebf7443Swdenk 8947ebf7443Swdenkhymod_config: unconfig 8957ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 hymod 8967ebf7443Swdenk 8977ebf7443SwdenkIPHASE4539_config: unconfig 8987ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 8997ebf7443Swdenk 900c3c7f861SwdenkISPAN_config \ 901c3c7f861SwdenkISPAN_REVB_config: unconfig 902c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 903c3c7f861Swdenk echo "#define CFG_REV_B" > include/config.h ; \ 904c3c7f861Swdenk fi 905c3c7f861Swdenk @./mkconfig -a ISPAN ppc mpc8260 ispan 906c3c7f861Swdenk 90704a85b3bSwdenkMPC8260ADS_config \ 90804a85b3bSwdenkMPC8260ADS_33MHz_config \ 90904a85b3bSwdenkMPC8260ADS_40MHz_config \ 91004a85b3bSwdenkMPC8272ADS_config \ 91104a85b3bSwdenkPQ2FADS_config \ 91204a85b3bSwdenkPQ2FADS-VR_config \ 91304a85b3bSwdenkPQ2FADS-ZU_config \ 91404a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 91504a85b3bSwdenk : unconfig 91604a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 91704a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ 91804a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) 91904a85b3bSwdenk $(if $(findstring MHz,$@), \ 92004a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ 92104a85b3bSwdenk $(if $(findstring VR,$@), \ 92204a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) 92304a85b3bSwdenk @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads 9247ebf7443Swdenk 925db2f721fSwdenkMPC8266ADS_config: unconfig 926db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads 927db2f721fSwdenk 928efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 92910f67017SwdenkPM825_config \ 930efa329cbSwdenkPM825_ROMBOOT_config \ 931efa329cbSwdenkPM825_BIGFLASH_config \ 932efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 9337ebf7443SwdenkPM826_config \ 934efa329cbSwdenkPM826_ROMBOOT_config \ 935efa329cbSwdenkPM826_BIGFLASH_config \ 936efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 937efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 938efa329cbSwdenk echo "#define CONFIG_PCI" >include/config.h ; \ 9397ebf7443Swdenk else \ 940efa329cbSwdenk >include/config.h ; \ 941efa329cbSwdenk fi 942efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 943efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 944efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 945efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 946efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 947efa329cbSwdenk echo "... with 32 MB Flash" ; \ 948efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 9497ebf7443Swdenk fi; \ 950efa329cbSwdenk else \ 951efa329cbSwdenk echo "... booting from 64-bit flash" ; \ 952efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 953efa329cbSwdenk echo "... with 32 MB Flash" ; \ 954efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 955efa329cbSwdenk echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ 956efa329cbSwdenk else \ 957efa329cbSwdenk echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ 958efa329cbSwdenk fi; \ 959efa329cbSwdenk fi 960efa329cbSwdenk @./mkconfig -a PM826 ppc mpc8260 pm826 961efa329cbSwdenk 962efa329cbSwdenkPM828_config \ 963efa329cbSwdenkPM828_PCI_config \ 964efa329cbSwdenkPM828_ROMBOOT_config \ 965efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 966efa329cbSwdenk @if [ -z "$(findstring _PCI_,$@)" ] ; then \ 967efa329cbSwdenk echo "#define CONFIG_PCI" >>include/config.h ; \ 968efa329cbSwdenk echo "... with PCI enabled" ; \ 969efa329cbSwdenk else \ 970efa329cbSwdenk >include/config.h ; \ 971efa329cbSwdenk fi 972efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 973efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 974efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 975efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 976efa329cbSwdenk fi 977efa329cbSwdenk @./mkconfig -a PM828 ppc mpc8260 pm828 9787ebf7443Swdenk 9797ebf7443Swdenkppmc8260_config: unconfig 9807ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 9817ebf7443Swdenk 9827ebf7443SwdenkRPXsuper_config: unconfig 9837ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper 9847ebf7443Swdenk 9857ebf7443Swdenkrsdproto_config: unconfig 9867ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rsdproto 9877ebf7443Swdenk 9887ebf7443Swdenksacsng_config: unconfig 9897ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sacsng 9907ebf7443Swdenk 9917ebf7443Swdenksbc8260_config: unconfig 9927ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 9937ebf7443Swdenk 9947ebf7443SwdenkSCM_config: unconfig 9957ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens 9967ebf7443Swdenk 99727b207fdSwdenkTQM8255_AA_config \ 99827b207fdSwdenkTQM8260_AA_config \ 99927b207fdSwdenkTQM8260_AB_config \ 100027b207fdSwdenkTQM8260_AC_config \ 100127b207fdSwdenkTQM8260_AD_config \ 100227b207fdSwdenkTQM8260_AE_config \ 100327b207fdSwdenkTQM8260_AF_config \ 100427b207fdSwdenkTQM8260_AG_config \ 100527b207fdSwdenkTQM8260_AH_config \ 100627b207fdSwdenkTQM8265_AA_config: unconfig 100727b207fdSwdenk @case "$@" in \ 100827b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 100927b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 101027b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 101127b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 101227b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 101327b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 101427b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 101527b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 101627b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 101727b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 101827b207fdSwdenk esac; \ 101927b207fdSwdenk >include/config.h ; \ 102027b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 102127b207fdSwdenk echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ 102227b207fdSwdenk fi; \ 102327b207fdSwdenk echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ 102427b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 102527b207fdSwdenk if [ "$${CACHE}" == "yes" ] ; then \ 10267ebf7443Swdenk echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ 102727b207fdSwdenk echo "... with L2 Cache support" ; \ 10287ebf7443Swdenk else \ 10297ebf7443Swdenk echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ 10307ebf7443Swdenk echo "... without L2 Cache support" ; \ 103127b207fdSwdenk fi; \ 103227b207fdSwdenk if [ "$${BMODE}" == "60x" ] ; then \ 103327b207fdSwdenk echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ 103427b207fdSwdenk echo "... with 60x Bus Mode" ; \ 103527b207fdSwdenk else \ 103627b207fdSwdenk echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ 103727b207fdSwdenk echo "... without 60x Bus Mode" ; \ 10387ebf7443Swdenk fi 10394532cb69Swdenk @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 10407ebf7443Swdenk 104154387ac9SwdenkZPC1900_config: unconfig 104254387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 10437aa78614Swdenk 10444e5ca3ebSwdenk#======================================================================== 10454e5ca3ebSwdenk# M68K 10464e5ca3ebSwdenk#======================================================================== 10474e5ca3ebSwdenk######################################################################### 10484e5ca3ebSwdenk## Coldfire 10494e5ca3ebSwdenk######################################################################### 10504e5ca3ebSwdenk 10514e5ca3ebSwdenkM5272C3_config : unconfig 1052bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 10534e5ca3ebSwdenk 10544e5ca3ebSwdenkM5282EVB_config : unconfig 1055bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb 10564e5ca3ebSwdenk 10577ebf7443Swdenk######################################################################### 105842d1f039Swdenk## MPC85xx Systems 105942d1f039Swdenk######################################################################### 106042d1f039Swdenk 106142d1f039SwdenkMPC8540ADS_config: unconfig 106242d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads 106342d1f039Swdenk 106442d1f039SwdenkMPC8560ADS_config: unconfig 106542d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads 106642d1f039Swdenk 10677abf0c58Swdenkstxgp3_config: unconfig 10687abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 10697abf0c58Swdenk 1070466b7410Swdenksbc8560_config \ 1071466b7410Swdenksbc8560_33_config \ 1072466b7410Swdenksbc8560_66_config: unconfig 10738b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 10748b07a110Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 10758b07a110Swdenk echo "... 66 MHz PCI" ; \ 10768b07a110Swdenk else \ 10778b07a110Swdenk >include/config.h ; \ 10788b07a110Swdenk echo "... 33 MHz PCI" ; \ 10798b07a110Swdenk fi 1080466b7410Swdenk @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 10818b07a110Swdenk 108242d1f039Swdenk######################################################################### 10837ebf7443Swdenk## 74xx/7xx Systems 10847ebf7443Swdenk######################################################################### 10857ebf7443Swdenk 1086c7de829cSwdenkAmigaOneG3SE_config: unconfig 1087c7de829cSwdenk @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 1088c7de829cSwdenk 108915647dc7SwdenkBAB7xx_config: unconfig 109015647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec 109115647dc7Swdenk 10923a473b2aSwdenkDB64360_config: unconfig 10933a473b2aSwdenk @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell 10943a473b2aSwdenk 10953a473b2aSwdenkDB64460_config: unconfig 10963a473b2aSwdenk @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell 10973a473b2aSwdenk 109815647dc7SwdenkELPPC_config: unconfig 109915647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec 110015647dc7Swdenk 11017ebf7443SwdenkEVB64260_config \ 11027ebf7443SwdenkEVB64260_750CX_config: unconfig 11037ebf7443Swdenk @./mkconfig EVB64260 ppc 74xx_7xx evb64260 11047ebf7443Swdenk 110515647dc7SwdenkP3G4_config: unconfig 11067ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 11077ebf7443Swdenk 11087ebf7443SwdenkPCIPPC2_config \ 11097ebf7443SwdenkPCIPPC6_config: unconfig 11107ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 11117ebf7443Swdenk 111215647dc7SwdenkZUMA_config: unconfig 111312f34241Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 111412f34241Swdenk 11157ebf7443Swdenk#======================================================================== 11167ebf7443Swdenk# ARM 11177ebf7443Swdenk#======================================================================== 11187ebf7443Swdenk######################################################################### 11197ebf7443Swdenk## StrongARM Systems 11207ebf7443Swdenk######################################################################### 11217ebf7443Swdenk 1122ea66bc88Swdenkassabet_config : unconfig 1123ea66bc88Swdenk @./mkconfig $(@:_config=) arm sa1100 assabet 1124ea66bc88Swdenk 11257ebf7443Swdenkdnp1110_config : unconfig 11267ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 dnp1110 11277ebf7443Swdenk 1128855a496fSwdenkgcplus_config : unconfig 1129855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 gcplus 1130855a496fSwdenk 1131855a496fSwdenklart_config : unconfig 1132855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 lart 1133855a496fSwdenk 11347ebf7443Swdenkshannon_config : unconfig 11357ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 shannon 11367ebf7443Swdenk 11377ebf7443Swdenk######################################################################### 11382e5983d2Swdenk## ARM92xT Systems 11397ebf7443Swdenk######################################################################### 11407ebf7443Swdenk 1141b0639ca3Swdenkxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 114243d9616cSwdenk 11433ff02c27Swdenkxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 114463e73c9aSwdenk 1145a56bd922Swdenkxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 1146a56bd922Swdenk 11473d3befa7Swdenkintegratorcp_config : unconfig 11483d3befa7Swdenk @./mkconfig $(@:_config=) arm arm926ejs integratorcp 11493d3befa7Swdenk 11503d3befa7Swdenkintegratorap_config : unconfig 11513d3befa7Swdenk @./mkconfig $(@:_config=) arm arm926ejs integratorap 11523d3befa7Swdenk 1153f832d8a1Swdenklpd7a400_config \ 1154f832d8a1Swdenklpd7a404_config: unconfig 11552d24a3a7Swdenk @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x 11563d3befa7Swdenk 11572e5983d2Swdenkomap1510inn_config : unconfig 11582e5983d2Swdenk @./mkconfig $(@:_config=) arm arm925t omap1510inn 11592e5983d2Swdenk 11601eaeb58eSwdenkomap5912osk_config : unconfig 11611eaeb58eSwdenk @./mkconfig $(@:_config=) arm arm926ejs omap5912osk 11621eaeb58eSwdenk 116363e73c9aSwdenkomap1610inn_config \ 116463e73c9aSwdenkomap1610inn_cs0boot_config \ 116563e73c9aSwdenkomap1610inn_cs3boot_config \ 11663ff02c27Swdenkomap1610inn_cs_autoboot_config \ 116763e73c9aSwdenkomap1610h2_config \ 116863e73c9aSwdenkomap1610h2_cs0boot_config \ 11693ff02c27Swdenkomap1610h2_cs3boot_config \ 11703ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 117163e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 117263e73c9aSwdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1173b79a11ccSwdenk echo "... configured for CS0 boot"; \ 11743ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 11753ff02c27Swdenk echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ 11763ff02c27Swdenk echo "... configured for CS_AUTO boot"; \ 117763e73c9aSwdenk else \ 117863e73c9aSwdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1179b79a11ccSwdenk echo "... configured for CS3 boot"; \ 118063e73c9aSwdenk fi; 118163e73c9aSwdenk @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn 11826f21347dSwdenk 1183a56bd922Swdenkomap730p2_config \ 1184a56bd922Swdenkomap730p2_cs0boot_config \ 1185a56bd922Swdenkomap730p2_cs3boot_config : unconfig 1186a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 1187a56bd922Swdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1188a56bd922Swdenk echo "... configured for CS0 boot"; \ 1189a56bd922Swdenk else \ 1190a56bd922Swdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1191a56bd922Swdenk echo "... configured for CS3 boot"; \ 1192a56bd922Swdenk fi; 1193a56bd922Swdenk @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 1194a56bd922Swdenk 11957ebf7443Swdenksmdk2400_config : unconfig 11967ebf7443Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2400 11977ebf7443Swdenk 11987ebf7443Swdenksmdk2410_config : unconfig 11997ebf7443Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2410 12007ebf7443Swdenk 12012d24a3a7SwdenkSX1_config : unconfig 12022d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm925t sx1 12032d24a3a7Swdenk 1204b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 120543d9616cSwdenktrab_config \ 1206b0639ca3Swdenktrab_bigram_config \ 1207b0639ca3Swdenktrab_bigflash_config \ 1208f54ebdfaSwdenktrab_old_config: unconfig 120943d9616cSwdenk @ >include/config.h 1210b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 1211b0639ca3Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1212b2001f27Swdenk echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ 1213b0639ca3Swdenk echo "... with 8 MB Flash, 32 MB RAM" ; \ 1214b0639ca3Swdenk } 1215b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 1216b2001f27Swdenk { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ 1217b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1218b0639ca3Swdenk echo "... with 16 MB Flash, 16 MB RAM" ; \ 1219a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 1220b0639ca3Swdenk } 1221f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 1222b2001f27Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1223b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1224b2001f27Swdenk echo "... with 8 MB Flash, 16 MB RAM" ; \ 1225a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 122643d9616cSwdenk } 122743d9616cSwdenk @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab 12287ebf7443Swdenk 12291cb8e980SwdenkVCMA9_config : unconfig 12301cb8e980Swdenk @./mkconfig $(@:_config=) arm arm920t vcma9 mpl 12311cb8e980Swdenk 12322d24a3a7Swdenkversatile_config : unconfig 12332d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm926ejs versatile 1234074cff0dSwdenk 1235074cff0dSwdenk######################################################################### 1236074cff0dSwdenk## S3C44B0 Systems 1237074cff0dSwdenk######################################################################### 1238074cff0dSwdenk 1239074cff0dSwdenkB2_config : unconfig 1240074cff0dSwdenk @./mkconfig $(@:_config=) arm s3c44b0 B2 dave 1241074cff0dSwdenk 12427ebf7443Swdenk######################################################################### 12432d24a3a7Swdenk## MC9328 (Dragonball) Systems 12442d24a3a7Swdenk######################################################################### 12452d24a3a7Swdenk 12462d24a3a7Swdenkmx1ads_config : unconfig 12472d24a3a7Swdenk @./mkconfig $(@:_config=) arm mc9328 mx1ads 12482d24a3a7Swdenk 12492d24a3a7Swdenk######################################################################### 12507ebf7443Swdenk## ARM720T Systems 12517ebf7443Swdenk######################################################################### 12527ebf7443Swdenk 12537ebf7443Swdenkep7312_config : unconfig 12547ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t ep7312 12557ebf7443Swdenk 12562d24a3a7Swdenkimpa7_config : unconfig 12572d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm720t impa7 12582d24a3a7Swdenk 12592d1a537dSwdenkmodnet50_config : unconfig 12602d1a537dSwdenk @./mkconfig $(@:_config=) arm arm720t modnet50 12612d1a537dSwdenk 126239539887Swdenkevb4510_config : unconfig 126339539887Swdenk @./mkconfig $(@:_config=) arm arm720t evb4510 126439539887Swdenk 12657ebf7443Swdenk######################################################################### 1266d9df1f4eSwdenk## AT91RM9200 Systems 1267d9df1f4eSwdenk######################################################################### 1268d9df1f4eSwdenk 1269d9df1f4eSwdenkat91rm9200dk_config : unconfig 1270d9df1f4eSwdenk @./mkconfig $(@:_config=) arm at91rm9200 at91rm9200dk 1271d9df1f4eSwdenk 1272d9df1f4eSwdenk######################################################################### 127343d9616cSwdenk## XScale Systems 12747ebf7443Swdenk######################################################################### 12757ebf7443Swdenk 1276fabd46acSwdenkcerf250_config : unconfig 1277fabd46acSwdenk @./mkconfig $(@:_config=) arm pxa cerf250 1278fabd46acSwdenk 12797ebf7443Swdenkcradle_config : unconfig 12804c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa cradle 12817ebf7443Swdenk 12827ebf7443Swdenkcsb226_config : unconfig 12834c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa csb226 12847ebf7443Swdenk 128543d9616cSwdenkinnokom_config : unconfig 12864c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa innokom 128743d9616cSwdenk 12882d5b561eSwdenkixdp425_config : unconfig 12892d5b561eSwdenk @./mkconfig $(@:_config=) arm ixp ixdp425 12902d5b561eSwdenk 129143d9616cSwdenklubbock_config : unconfig 12924c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa lubbock 129343d9616cSwdenk 129452f52c14Swdenklogodl_config : unconfig 129552f52c14Swdenk @./mkconfig $(@:_config=) arm pxa logodl 129652f52c14Swdenk 12973e38691eSwdenkwepep250_config : unconfig 12984c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa wepep250 12993e38691eSwdenk 1300efa329cbSwdenkxm250_config : unconfig 1301efa329cbSwdenk @./mkconfig $(@:_config=) arm pxa xm250 1302efa329cbSwdenk 1303ca0e7748Swdenkxsengine_config : unconfig 1304ca0e7748Swdenk @./mkconfig $(@:_config=) arm pxa xsengine 1305ca0e7748Swdenk 13062262cfeeSwdenk#======================================================================== 13072262cfeeSwdenk# i386 13082262cfeeSwdenk#======================================================================== 13092262cfeeSwdenk######################################################################### 13102262cfeeSwdenk## AMD SC520 CDP 13112262cfeeSwdenk######################################################################### 13122262cfeeSwdenksc520_cdp_config : unconfig 13132262cfeeSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_cdp 13142262cfeeSwdenk 13157a8e9bedSwdenksc520_spunk_config : unconfig 13167a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 13177a8e9bedSwdenk 13187a8e9bedSwdenksc520_spunk_rel_config : unconfig 13197a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 13207a8e9bedSwdenk 132143d9616cSwdenk#======================================================================== 132243d9616cSwdenk# MIPS 132343d9616cSwdenk#======================================================================== 13247ebf7443Swdenk######################################################################### 132543d9616cSwdenk## MIPS32 4Kc 132643d9616cSwdenk######################################################################### 132743d9616cSwdenk 1328e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 1329e0ac62d7Swdenk 1330e0ac62d7Swdenkincaip_100MHz_config \ 1331e0ac62d7Swdenkincaip_133MHz_config \ 1332e0ac62d7Swdenkincaip_150MHz_config \ 133343d9616cSwdenkincaip_config: unconfig 1334e0ac62d7Swdenk @ >include/config.h 1335e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 1336e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ 1337e0ac62d7Swdenk echo "... with 100MHz system clock" ; \ 1338e0ac62d7Swdenk } 1339e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 1340e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ 1341e0ac62d7Swdenk echo "... with 133MHz system clock" ; \ 1342e0ac62d7Swdenk } 1343e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 1344e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ 1345e0ac62d7Swdenk echo "... with 150MHz system clock" ; \ 1346e0ac62d7Swdenk } 1347e0ac62d7Swdenk @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip 1348e0ac62d7Swdenk 1349f4863a7aSwdenktb0229_config: unconfig 1350f4863a7aSwdenk @./mkconfig $(@:_config=) mips mips tb0229 1351f4863a7aSwdenk 1352e0ac62d7Swdenk######################################################################### 135369459791Swdenk## MIPS32 AU1X00 135469459791Swdenk######################################################################### 135569459791Swdenkdbau1000_config : unconfig 135669459791Swdenk @ >include/config.h 135769459791Swdenk @echo "#define CONFIG_DBAU1000 1" >>include/config.h 135869459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 135969459791Swdenk 136069459791Swdenkdbau1100_config : unconfig 136169459791Swdenk @ >include/config.h 136269459791Swdenk @echo "#define CONFIG_DBAU1100 1" >>include/config.h 136369459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 136469459791Swdenk 136569459791Swdenkdbau1500_config : unconfig 136669459791Swdenk @ >include/config.h 136769459791Swdenk @echo "#define CONFIG_DBAU1500 1" >>include/config.h 136869459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 136969459791Swdenk 137069459791Swdenk######################################################################### 1371e0ac62d7Swdenk## MIPS64 5Kc 1372e0ac62d7Swdenk######################################################################### 137343d9616cSwdenk 13743e38691eSwdenkpurple_config : unconfig 13753e38691eSwdenk @./mkconfig $(@:_config=) mips mips purple 137643d9616cSwdenk 13774a551709Swdenk#======================================================================== 13784a551709Swdenk# Nios 13794a551709Swdenk#======================================================================== 13804a551709Swdenk######################################################################### 13814a551709Swdenk## Nios32 13824a551709Swdenk######################################################################### 13834a551709Swdenk 1384c935d3bdSwdenkDK1C20_safe_32_config \ 1385c935d3bdSwdenkDK1C20_standard_32_config \ 13864a551709SwdenkDK1C20_config: unconfig 1387c935d3bdSwdenk @ >include/config.h 1388c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1389c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1390c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1391c935d3bdSwdenk } 1392c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1393c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1394c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1395c935d3bdSwdenk } 1396c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 1397c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1398c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1399c935d3bdSwdenk } 1400c935d3bdSwdenk @./mkconfig -a DK1C20 nios nios dk1c20 altera 1401c935d3bdSwdenk 1402c935d3bdSwdenkDK1S10_safe_32_config \ 1403c935d3bdSwdenkDK1S10_standard_32_config \ 1404ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 1405c935d3bdSwdenkDK1S10_config: unconfig 1406c935d3bdSwdenk @ >include/config.h 1407c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1408c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1409c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1410c935d3bdSwdenk } 1411c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1412c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1413c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1414c935d3bdSwdenk } 1415ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 1416ec4c544bSwdenk { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ 1417ec4c544bSwdenk echo "... NIOS 'mtx_ldk_20' configuration" ; \ 1418ec4c544bSwdenk } 1419c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 1420c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1421c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1422c935d3bdSwdenk } 1423c935d3bdSwdenk @./mkconfig -a DK1S10 nios nios dk1s10 altera 14244a551709Swdenk 1425aaf224abSwdenkADNPESC1_DNPEVA2_base_32_config \ 1426aaf224abSwdenkADNPESC1_base_32_config \ 1427aaf224abSwdenkADNPESC1_config: unconfig 1428aaf224abSwdenk @ >include/config.h 1429aaf224abSwdenk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 1430aaf224abSwdenk { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ 1431aaf224abSwdenk echo "... DNP/EVA2 configuration" ; \ 1432aaf224abSwdenk } 1433aaf224abSwdenk @[ -z "$(findstring _base_32,$@)" ] || \ 1434aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1435aaf224abSwdenk echo "... NIOS 'base_32' configuration" ; \ 1436aaf224abSwdenk } 1437aaf224abSwdenk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 1438aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1439aaf224abSwdenk echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ 1440aaf224abSwdenk } 1441aaf224abSwdenk @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv 1442aaf224abSwdenk 14434a551709Swdenk 1444507bbe3eSwdenk#======================================================================== 1445507bbe3eSwdenk# MicroBlaze 1446507bbe3eSwdenk#======================================================================== 1447507bbe3eSwdenk######################################################################### 1448507bbe3eSwdenk## Microblaze 1449507bbe3eSwdenk######################################################################### 1450507bbe3eSwdenksuzaku_config: unconfig 1451507bbe3eSwdenk @ >include/config.h 1452507bbe3eSwdenk @echo "#define CONFIG_SUZAKU 1" >> include/config.h 1453507bbe3eSwdenk @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 1454507bbe3eSwdenk 14553e38691eSwdenk######################################################################### 14563e38691eSwdenk######################################################################### 14577ebf7443Swdenk 14587ebf7443Swdenkclean: 14597ebf7443Swdenk find . -type f \ 14607ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 14617ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 14627ebf7443Swdenk | xargs rm -f 146385ec0bccSwdenk rm -f examples/hello_world examples/timer \ 14643e38691eSwdenk examples/eepro100_eeprom examples/sched \ 14657a8e9bedSwdenk examples/mem_to_mem_idma2intr examples/82559_eeprom 14667ebf7443Swdenk rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr 1467bda6c8aeSwdenk rm -f tools/mpc86x_clk 14687ebf7443Swdenk rm -f tools/easylogo/easylogo tools/bmp_logo 14697ebf7443Swdenk rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend 1470228f29acSwdenk rm -f tools/env/fw_printenv tools/env/fw_setenv 14717f70e853Swdenk rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image 14727e780369Swdenk rm -f board/trab/trab_fkt 14737ebf7443Swdenk 14747ebf7443Swdenkclobber: clean 14754c0d4c3bSwdenk find . -type f \( -name .depend \ 14764c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 14774c0d4c3bSwdenk -print0 \ 14784c0d4c3bSwdenk | xargs -0 rm -f 14797ebf7443Swdenk rm -f $(OBJS) *.bak tags TAGS 14807ebf7443Swdenk rm -fr *.*~ 1481bdccc4feSwdenk rm -f u-boot u-boot.map $(ALL) 1482228f29acSwdenk rm -f tools/crc32.c tools/environment.c tools/env/crc32.c 14833e38691eSwdenk rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c 1484b783edaeSwdenk rm -f include/asm/proc include/asm/arch include/asm 14857ebf7443Swdenk 14867ebf7443Swdenkmrproper \ 14877ebf7443Swdenkdistclean: clobber unconfig 14887ebf7443Swdenk 14897ebf7443Swdenkbackup: 14907ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 14917ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 14927ebf7443Swdenk 14937ebf7443Swdenk######################################################################### 1494