17ebf7443Swdenk# 27ebf7443Swdenk# (C) Copyright 2000, 2001, 2002 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 727ebf7443Swdenkendif 737ebf7443Swdenkendif 747ebf7443Swdenk 757ebf7443Swdenkexport CROSS_COMPILE 767ebf7443Swdenk 777ebf7443Swdenk# The "tools" are needed early, so put this first 787ebf7443SwdenkSUBDIRS = tools \ 797ebf7443Swdenk lib_generic \ 807ebf7443Swdenk lib_$(ARCH) \ 817ebf7443Swdenk cpu/$(CPU) \ 827ebf7443Swdenk board/$(BOARDDIR) \ 837ebf7443Swdenk common \ 847ebf7443Swdenk disk \ 857ebf7443Swdenk fs \ 867ebf7443Swdenk net \ 877ebf7443Swdenk rtc \ 887ebf7443Swdenk dtt \ 897ebf7443Swdenk drivers \ 907ebf7443Swdenk post \ 917ebf7443Swdenk post/cpu \ 927ebf7443Swdenk examples 937ebf7443Swdenk 947ebf7443Swdenk######################################################################### 957ebf7443Swdenk# U-Boot objects....order is important (i.e. start must be first) 967ebf7443Swdenk 977ebf7443SwdenkOBJS = cpu/$(CPU)/start.o 982262cfeeSwdenkifeq ($(CPU),i386) 992262cfeeSwdenkOBJS += cpu/$(CPU)/start16.o 1002262cfeeSwdenkOBJS += cpu/$(CPU)/reset.o 1012262cfeeSwdenkendif 1027ebf7443Swdenkifeq ($(CPU),ppc4xx) 1037ebf7443SwdenkOBJS += cpu/$(CPU)/resetvec.o 1047ebf7443Swdenkendif 1057ebf7443Swdenk 1067ebf7443SwdenkLIBS = board/$(BOARDDIR)/lib$(BOARD).a 1077ebf7443SwdenkLIBS += cpu/$(CPU)/lib$(CPU).a 1087ebf7443SwdenkLIBS += lib_$(ARCH)/lib$(ARCH).a 10971f95118SwdenkLIBS += fs/jffs2/libjffs2.a fs/fdos/libfdos.a fs/fat/libfat.a 1107ebf7443SwdenkLIBS += net/libnet.a 1117ebf7443SwdenkLIBS += disk/libdisk.a 1127ebf7443SwdenkLIBS += rtc/librtc.a 1137ebf7443SwdenkLIBS += dtt/libdtt.a 1147ebf7443SwdenkLIBS += drivers/libdrivers.a 1157ebf7443SwdenkLIBS += post/libpost.a post/cpu/libcpu.a 1167ebf7443SwdenkLIBS += common/libcommon.a 1177ebf7443SwdenkLIBS += lib_generic/libgeneric.a 1187ebf7443Swdenk 1197ebf7443Swdenk######################################################################### 1207ebf7443Swdenk 1217ebf7443Swdenkall: u-boot.srec u-boot.bin System.map 1227ebf7443Swdenk 1237ebf7443Swdenkinstall: all 12443d9616cSwdenk -cp u-boot.bin /tftpboot/u-boot.bin 12543d9616cSwdenk -cp u-boot.bin /net/denx/tftpboot/u-boot.bin 1267ebf7443Swdenk 1277ebf7443Swdenku-boot.srec: u-boot 1287ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 1297ebf7443Swdenk 1307ebf7443Swdenku-boot.bin: u-boot 1317ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 1327ebf7443Swdenk 1337ebf7443Swdenku-boot.dis: u-boot 1347ebf7443Swdenk $(OBJDUMP) -d $< > $@ 1357ebf7443Swdenk 1367ebf7443Swdenku-boot: depend subdirs $(OBJS) $(LIBS) $(LDSCRIPT) 1378bde7f77Swdenk UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 1388bde7f77Swdenk $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ 139b2184c31Swdenk --start-group $(LIBS) --end-group \ 140b2184c31Swdenk -Map u-boot.map -o u-boot 1417ebf7443Swdenk 1427ebf7443Swdenksubdirs: 1437ebf7443Swdenk @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir || exit 1 ; done 1447ebf7443Swdenk 1457ebf7443Swdenkdepend dep: 1467ebf7443Swdenk @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done 1477ebf7443Swdenk 1487ebf7443Swdenktags: 1497ebf7443Swdenk ctags -w `find $(SUBDIRS) include \ 1507ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 1517ebf7443Swdenk 1527ebf7443Swdenketags: 1537ebf7443Swdenk etags -a `find $(SUBDIRS) include \ 1547ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 1557ebf7443Swdenk 1567ebf7443SwdenkSystem.map: u-boot 1577ebf7443Swdenk @$(NM) $< | \ 1587ebf7443Swdenk grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 1597ebf7443Swdenk sort > System.map 1607ebf7443Swdenk 1617ebf7443Swdenk######################################################################### 1627ebf7443Swdenkelse 1637ebf7443Swdenkall install u-boot u-boot.srec depend dep: 1647ebf7443Swdenk @echo "System not configured - see README" >&2 1657ebf7443Swdenk @ exit 1 1667ebf7443Swdenkendif 1677ebf7443Swdenk 1687ebf7443Swdenk######################################################################### 1697ebf7443Swdenk 1707ebf7443Swdenkunconfig: 1717ebf7443Swdenk rm -f include/config.h include/config.mk 1727ebf7443Swdenk 1737ebf7443Swdenk#======================================================================== 1747ebf7443Swdenk# PowerPC 1757ebf7443Swdenk#======================================================================== 1760db5bca8Swdenk 1770db5bca8Swdenk######################################################################### 1780db5bca8Swdenk## MPC5xx Systems 1790db5bca8Swdenk######################################################################### 1800db5bca8Swdenk 1810db5bca8Swdenkcmi_mpc5xx_config: unconfig 1820db5bca8Swdenk @./mkconfig $(@:_config=) ppc mpc5xx cmi 1830db5bca8Swdenk 1847ebf7443Swdenk######################################################################### 1857ebf7443Swdenk## MPC8xx Systems 1867ebf7443Swdenk######################################################################### 1877ebf7443Swdenk 1887ebf7443SwdenkADS860_config: unconfig 1897ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 1907ebf7443Swdenk 1917ebf7443SwdenkAMX860_config : unconfig 1927ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel 1937ebf7443Swdenk 1947ebf7443Swdenkc2mon_config: unconfig 1957ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx c2mon 1967ebf7443Swdenk 1977ebf7443SwdenkCCM_config: unconfig 1987ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens 1997ebf7443Swdenk 2007ebf7443Swdenkcogent_mpc8xx_config: unconfig 2017ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx cogent 2027ebf7443Swdenk 2033bac3513SwdenkELPT860_config: unconfig 2043bac3513Swdenk @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX 2053bac3513Swdenk 2067ebf7443SwdenkESTEEM192E_config: unconfig 2077ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx esteem192e 2087ebf7443Swdenk 2097ebf7443SwdenkETX094_config : unconfig 2107ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx etx094 2117ebf7443Swdenk 2127ebf7443SwdenkFADS823_config \ 2137ebf7443SwdenkFADS850SAR_config \ 2147ebf7443SwdenkFADS860T_config: unconfig 2157ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 2167ebf7443Swdenk 2177ebf7443SwdenkFLAGADM_config: unconfig 2187ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx flagadm 2197ebf7443Swdenk 2207aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 2217aa78614Swdenk 2227aa78614SwdenkGEN860T_SC_config \ 2237ebf7443SwdenkGEN860T_config: unconfig 2247aa78614Swdenk @ >include/config.h 2257aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 2267aa78614Swdenk { echo "#define CONFIG_SC" >>include/config.h ; \ 2277aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 2287aa78614Swdenk } 2297aa78614Swdenk @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 2307ebf7443Swdenk 2317ebf7443SwdenkGENIETV_config: unconfig 2327ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx genietv 2337ebf7443Swdenk 2347ebf7443SwdenkGTH_config: unconfig 2357ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx gth 2367ebf7443Swdenk 2377ebf7443Swdenkhermes_config : unconfig 2387ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx hermes 2397ebf7443Swdenk 2407ebf7443SwdenkIAD210_config: unconfig 2417ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens 2427ebf7443Swdenk 2437ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 2447ebf7443Swdenk 2457ebf7443SwdenkICU862_100MHz_config \ 2467ebf7443SwdenkICU862_config: unconfig 2477ebf7443Swdenk @ >include/config.h 2487ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 2497ebf7443Swdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 2507ebf7443Swdenk echo "... with 100MHz system clock" ; \ 2517ebf7443Swdenk } 2527ebf7443Swdenk @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 2537ebf7443Swdenk 2547ebf7443SwdenkIP860_config : unconfig 2557ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx ip860 2567ebf7443Swdenk 2577ebf7443SwdenkIVML24_256_config \ 2587ebf7443SwdenkIVML24_128_config \ 2597ebf7443SwdenkIVML24_config: unconfig 2607ebf7443Swdenk @ >include/config.h 2617ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 2627ebf7443Swdenk { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ 2637ebf7443Swdenk } 2647ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 2657ebf7443Swdenk { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ 2667ebf7443Swdenk } 2677ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 2687ebf7443Swdenk { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ 2697ebf7443Swdenk } 2707ebf7443Swdenk @./mkconfig -a IVML24 ppc mpc8xx ivm 2717ebf7443Swdenk 2727ebf7443SwdenkIVMS8_256_config \ 2737ebf7443SwdenkIVMS8_128_config \ 2747ebf7443SwdenkIVMS8_config: unconfig 2757ebf7443Swdenk @ >include/config.h 2767ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 2777ebf7443Swdenk { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ 2787ebf7443Swdenk } 2797ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 2807ebf7443Swdenk { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ 2817ebf7443Swdenk } 2827ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 2837ebf7443Swdenk { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ 2847ebf7443Swdenk } 2857ebf7443Swdenk @./mkconfig -a IVMS8 ppc mpc8xx ivm 2867ebf7443Swdenk 28756f94be3SwdenkKUP4K_config : unconfig 28856f94be3Swdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4k 28956f94be3Swdenk 2907ebf7443SwdenkLANTEC_config : unconfig 2917ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lantec 2927ebf7443Swdenk 2937ebf7443Swdenklwmon_config: unconfig 2947ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lwmon 2957ebf7443Swdenk 2967ebf7443SwdenkMBX_config \ 2977ebf7443SwdenkMBX860T_config: unconfig 2987ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx 2997ebf7443Swdenk 3007ebf7443SwdenkMHPC_config: unconfig 3017ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec 3027ebf7443Swdenk 3037ebf7443SwdenkMVS1_config : unconfig 3047ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mvs1 3057ebf7443Swdenk 306993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 307993cad93Swdenk 308993cad93SwdenkNETVIA_V2_config \ 3097ebf7443SwdenkNETVIA_config: unconfig 310993cad93Swdenk @ >include/config.h 311993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 312993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ 313993cad93Swdenk echo "... Version 1" ; \ 314993cad93Swdenk } 315993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 316993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ 317993cad93Swdenk echo "... Version 2" ; \ 318993cad93Swdenk } 319993cad93Swdenk @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 3207ebf7443Swdenk 3217ebf7443SwdenkNX823_config: unconfig 3227ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nx823 3237ebf7443Swdenk 3247ebf7443Swdenkpcu_e_config: unconfig 3257ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens 3267ebf7443Swdenk 3277ebf7443SwdenkR360MPI_config: unconfig 3287ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx r360mpi 3297ebf7443Swdenk 330682011ffSwdenkRBC823_config: unconfig 331682011ffSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rbc823 332682011ffSwdenk 3337ebf7443SwdenkRPXClassic_config: unconfig 3347ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic 3357ebf7443Swdenk 3367ebf7443SwdenkRPXlite_config: unconfig 3377ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXlite 3387ebf7443Swdenk 33973a8b27cSwdenkrmu_config: unconfig 34073a8b27cSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rmu 34173a8b27cSwdenk 3427ebf7443SwdenkRRvision_config: unconfig 3437ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RRvision 3447ebf7443Swdenk 3457ebf7443SwdenkRRvision_LCD_config: unconfig 3467ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 3477ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 3487ebf7443Swdenk @./mkconfig -a RRvision ppc mpc8xx RRvision 3497ebf7443Swdenk 3507ebf7443SwdenkSM850_config : unconfig 3517ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 3527ebf7443Swdenk 3537ebf7443SwdenkSPD823TS_config: unconfig 3547ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx spd8xx 3557ebf7443Swdenk 356dc7c9a1aSwdenksvm_sc8xx_config: unconfig 357dc7c9a1aSwdenk @ >include/config.h 358dc7c9a1aSwdenk @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx 359dc7c9a1aSwdenk 3607ebf7443SwdenkSXNI855T_config: unconfig 3617ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx sixnet 3627ebf7443Swdenk 363db2f721fSwdenk# EMK MPC8xx based modules 364db2f721fSwdenkTOP860_config: unconfig 365db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx top860 emk 366db2f721fSwdenk 3677ebf7443Swdenk# Play some tricks for configuration selection 36873a8b27cSwdenk# All boards can come with 50 MHz (default), 66MHz, 80MHz or 100 MHz clock, 3697ebf7443Swdenk# but only 855 and 860 boards may come with FEC 3707ebf7443Swdenk# and 823 boards may have LCD support 37173a8b27cSwdenkxtract_8xx = $(subst _66MHz,,$(subst _80MHz,,$(subst _100MHz,,$(subst _LCD,,$(subst _config,,$1))))) 3727ebf7443Swdenk 3737ebf7443SwdenkFPS850L_config \ 374384ae025SwdenkFPS860L_config \ 375f12e568cSwdenkNSCU_config \ 3767ebf7443SwdenkTQM823L_config \ 3777ebf7443SwdenkTQM823L_66MHz_config \ 3787ebf7443SwdenkTQM823L_80MHz_config \ 3797ebf7443SwdenkTQM823L_LCD_config \ 3807ebf7443SwdenkTQM823L_LCD_66MHz_config \ 3817ebf7443SwdenkTQM823L_LCD_80MHz_config \ 3827ebf7443SwdenkTQM850L_config \ 3837ebf7443SwdenkTQM850L_66MHz_config \ 3847ebf7443SwdenkTQM850L_80MHz_config \ 3857ebf7443SwdenkTQM855L_config \ 3867ebf7443SwdenkTQM855L_66MHz_config \ 3877ebf7443SwdenkTQM855L_80MHz_config \ 3887ebf7443SwdenkTQM860L_config \ 3897ebf7443SwdenkTQM860L_66MHz_config \ 3907ebf7443SwdenkTQM860L_80MHz_config \ 391d126bfbdSwdenkTQM862L_config \ 392d126bfbdSwdenkTQM862L_66MHz_config \ 39373a8b27cSwdenkTQM862L_80MHz_config \ 394f12e568cSwdenkTQM855M_config \ 395f12e568cSwdenkTQM855M_66MHz_config \ 396f12e568cSwdenkTQM855M_80MHz_config \ 397f12e568cSwdenkTQM860M_config \ 398f12e568cSwdenkTQM860M_66MHz_config \ 399f12e568cSwdenkTQM860M_80MHz_config \ 400f12e568cSwdenkTQM862M_config \ 401f12e568cSwdenkTQM862M_66MHz_config \ 402f12e568cSwdenkTQM862M_80MHz_config \ 40371f95118SwdenkTQM862M_100MHz_config: unconfig 4047ebf7443Swdenk @ >include/config.h 4057ebf7443Swdenk @[ -z "$(findstring _66MHz,$@)" ] || \ 4067ebf7443Swdenk { echo "#define CONFIG_66MHz" >>include/config.h ; \ 4077ebf7443Swdenk echo "... with 66MHz system clock" ; \ 4087ebf7443Swdenk } 4097ebf7443Swdenk @[ -z "$(findstring _80MHz,$@)" ] || \ 4107ebf7443Swdenk { echo "#define CONFIG_80MHz" >>include/config.h ; \ 4117ebf7443Swdenk echo "... with 80MHz system clock" ; \ 4127ebf7443Swdenk } 41373a8b27cSwdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 41473a8b27cSwdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 41573a8b27cSwdenk echo "... with 100MHz system clock" ; \ 41673a8b27cSwdenk } 4177ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 4187ebf7443Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 4197ebf7443Swdenk echo "#define CONFIG_NEC_NL6648BC20" >>include/config.h ; \ 4207ebf7443Swdenk echo "... with LCD display" ; \ 4217ebf7443Swdenk } 4227ebf7443Swdenk @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 4237ebf7443Swdenk 4247ebf7443SwdenkTTTech_config: unconfig 4257ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 4267ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 4277ebf7443Swdenk @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 4287ebf7443Swdenk 429608c9146Swdenkv37_config: unconfig 430608c9146Swdenk @echo "#define CONFIG_LCD" >include/config.h 431608c9146Swdenk @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h 432608c9146Swdenk @./mkconfig $(@:_config=) ppc mpc8xx v37 433608c9146Swdenk 4347ebf7443Swdenk######################################################################### 4357ebf7443Swdenk## PPC4xx Systems 4367ebf7443Swdenk######################################################################### 4377ebf7443Swdenk 4387ebf7443SwdenkADCIOP_config: unconfig 4397ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx adciop esd 4407ebf7443Swdenk 4417ebf7443SwdenkAR405_config: unconfig 4427ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd 4437ebf7443Swdenk 444549826eaSstroeseASH405_config: unconfig 445549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd 446549826eaSstroese 447549826eaSstroeseBUBINGA405EP_config:unconfig 448549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx bubinga405ep 449549826eaSstroese 4507ebf7443SwdenkCANBT_config: unconfig 4517ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx canbt esd 4527ebf7443Swdenk 4537ebf7443SwdenkCPCI405_config \ 454549826eaSstroeseCPCI4052_config \ 455549826eaSstroeseCPCI405AB_config: unconfig 4567ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd 4577ebf7443Swdenk @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk 4587ebf7443Swdenk 4597ebf7443SwdenkCPCI440_config: unconfig 4607ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd 4617ebf7443Swdenk 4627ebf7443SwdenkCPCIISER4_config: unconfig 4637ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd 4647ebf7443Swdenk 4657ebf7443SwdenkCRAYL1_config:unconfig 4667ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx L1 cray 4677ebf7443Swdenk 4687ebf7443SwdenkDASA_SIM_config: unconfig 4697ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd 4707ebf7443Swdenk 4717ebf7443SwdenkDU405_config: unconfig 4727ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx du405 esd 4737ebf7443Swdenk 4747ebf7443SwdenkEBONY_config:unconfig 4757ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ebony 4767ebf7443Swdenk 4777ebf7443SwdenkERIC_config:unconfig 4787ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx eric 4797ebf7443Swdenk 480d1cbe85bSwdenkEXBITGEN_config:unconfig 481d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc ppc4xx exbitgen 482d1cbe85bSwdenk 4837ebf7443SwdenkMIP405_config:unconfig 4847ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl 4857ebf7443Swdenk 486f3e0de60SwdenkMIP405T_config:unconfig 487f3e0de60Swdenk @echo "#define CONFIG_MIP405T" >include/config.h 488f3e0de60Swdenk @echo "Enable subset config for MIP405T" 489f3e0de60Swdenk @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl 490f3e0de60Swdenk 4917ebf7443SwdenkML2_config:unconfig 4927ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml2 4937ebf7443Swdenk 4947ebf7443SwdenkOCRTC_config \ 4957ebf7443SwdenkORSG_config: unconfig 4967ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd 4977ebf7443Swdenk 4987ebf7443SwdenkPCI405_config: unconfig 4997ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd 5007ebf7443Swdenk 5017ebf7443SwdenkPIP405_config:unconfig 5027ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl 5037ebf7443Swdenk 504549826eaSstroesePMC405_config: unconfig 505549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd 506549826eaSstroese 5077ebf7443SwdenkW7OLMC_config \ 5087ebf7443SwdenkW7OLMG_config: unconfig 5097ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx w7o 5107ebf7443Swdenk 5117ebf7443SwdenkWALNUT405_config:unconfig 5127ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx walnut405 5137ebf7443Swdenk 5147ebf7443Swdenk######################################################################### 5157ebf7443Swdenk## MPC824x Systems 5167ebf7443Swdenk######################################################################### 5173bac3513Swdenkxtract_82xx = $(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))) 5183bac3513Swdenk 5190332990bSwdenkA3000_config: unconfig 5200332990bSwdenk @./mkconfig $(@:_config=) ppc mpc824x a3000 5210332990bSwdenk 5227ebf7443SwdenkBMW_config: unconfig 5237ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x bmw 5247ebf7443Swdenk 5253bac3513SwdenkCPC45_config \ 5263bac3513SwdenkCPC45_ROMBOOT_config: unconfig 5273bac3513Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 5283bac3513Swdenk @cd ./include ; \ 5293bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 5303bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 5313bac3513Swdenk echo "... booting from 8-bit flash" ; \ 5323bac3513Swdenk else \ 5333bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 5343bac3513Swdenk echo "... booting from 64-bit flash" ; \ 5353bac3513Swdenk fi; \ 5363bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 5373bac3513Swdenk 5387ebf7443SwdenkCU824_config: unconfig 5397ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x cu824 5407ebf7443Swdenk 5417ebf7443SwdenkMOUSSE_config: unconfig 5427ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x mousse 5437ebf7443Swdenk 5447ebf7443SwdenkMUSENKI_config: unconfig 5457ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x musenki 5467ebf7443Swdenk 5477ebf7443SwdenkOXC_config: unconfig 5487ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x oxc 5497ebf7443Swdenk 5507ebf7443SwdenkPN62_config: unconfig 5517ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x pn62 5527ebf7443Swdenk 5537ebf7443SwdenkSandpoint8240_config: unconfig 5547ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 5557ebf7443Swdenk 5567ebf7443SwdenkSandpoint8245_config: unconfig 5577ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 5587ebf7443Swdenk 559d1cbe85bSwdenkSL8245_config: unconfig 560d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc mpc824x sl8245 561d1cbe85bSwdenk 5627ebf7443Swdenkutx8245_config: unconfig 5637ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x utx8245 5647ebf7443Swdenk 5657ebf7443Swdenk######################################################################### 5667ebf7443Swdenk## MPC8260 Systems 5677ebf7443Swdenk######################################################################### 5687ebf7443Swdenk 5697ebf7443Swdenkcogent_mpc8260_config: unconfig 5707ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 cogent 5717ebf7443Swdenk 5727ebf7443SwdenkCPU86_config \ 5737ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 5747ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 5757ebf7443Swdenk @cd ./include ; \ 5767ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 5777ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 5787ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 5797ebf7443Swdenk else \ 5807ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 5817ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 5827ebf7443Swdenk fi; \ 5837ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 5847ebf7443Swdenk 5857ebf7443Swdenkep8260_config: unconfig 5867ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ep8260 5877ebf7443Swdenk 5887ebf7443Swdenkgw8260_config: unconfig 5897ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 gw8260 5907ebf7443Swdenk 5917ebf7443Swdenkhymod_config: unconfig 5927ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 hymod 5937ebf7443Swdenk 5947ebf7443SwdenkIPHASE4539_config: unconfig 5957ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 5967ebf7443Swdenk 5977ebf7443SwdenkMPC8260ADS_config: unconfig 5987ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8260ads 5997ebf7443Swdenk 600db2f721fSwdenkMPC8266ADS_config: unconfig 601db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads 602db2f721fSwdenk 60310f67017SwdenkPM825_config \ 60410f67017SwdenkPM825_ROMBOOT_config: unconfig 60510f67017Swdenk @echo "#define CONFIG_PCI" >include/config.h 60610f67017Swdenk @./mkconfig -a PM826 ppc mpc8260 pm826 60710f67017Swdenk @cd ./include ; \ 60810f67017Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 60910f67017Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 61010f67017Swdenk echo "... booting from 8-bit flash" ; \ 61110f67017Swdenk else \ 61210f67017Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 61310f67017Swdenk echo "... booting from 64-bit flash" ; \ 61410f67017Swdenk fi; \ 61510f67017Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; \ 61610f67017Swdenk 6177ebf7443SwdenkPM826_config \ 6187ebf7443SwdenkPM826_ROMBOOT_config: unconfig 6197ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 pm826 6207ebf7443Swdenk @cd ./include ; \ 6217ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 6227ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 6237ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 6247ebf7443Swdenk else \ 6257ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 6267ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 6277ebf7443Swdenk fi; \ 6287ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; \ 6297ebf7443Swdenk 6307ebf7443Swdenkppmc8260_config: unconfig 6317ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 6327ebf7443Swdenk 6337ebf7443SwdenkRPXsuper_config: unconfig 6347ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper 6357ebf7443Swdenk 6367ebf7443Swdenkrsdproto_config: unconfig 6377ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rsdproto 6387ebf7443Swdenk 6397ebf7443Swdenksacsng_config: unconfig 6407ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sacsng 6417ebf7443Swdenk 6427ebf7443Swdenksbc8260_config: unconfig 6437ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 6447ebf7443Swdenk 6457ebf7443SwdenkSCM_config: unconfig 6467ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens 6477ebf7443Swdenk 6487aa78614SwdenkTQM8255_config \ 6497ebf7443SwdenkTQM8260_config \ 6507ebf7443SwdenkTQM8260_L2_config \ 6514532cb69SwdenkTQM8255_266MHz_config \ 6527ebf7443SwdenkTQM8260_266MHz_config \ 6537ebf7443SwdenkTQM8260_L2_266MHz_config \ 6547aa78614SwdenkTQM8255_300MHz_config \ 6557ebf7443SwdenkTQM8260_300MHz_config: unconfig 6567ebf7443Swdenk @ >include/config.h 6577ebf7443Swdenk @if [ "$(findstring _L2_,$@)" ] ; then \ 6587ebf7443Swdenk echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ 6597ebf7443Swdenk echo "... with L2 Cache support (60x Bus Mode)" ; \ 6607ebf7443Swdenk else \ 6617ebf7443Swdenk echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ 6627ebf7443Swdenk echo "... without L2 Cache support" ; \ 6637ebf7443Swdenk fi 6647ebf7443Swdenk @[ -z "$(findstring _266MHz,$@)" ] || \ 6657ebf7443Swdenk { echo "#define CONFIG_266MHz" >>include/config.h ; \ 6667ebf7443Swdenk echo "... with 266MHz system clock" ; \ 6677ebf7443Swdenk } 6687ebf7443Swdenk @[ -z "$(findstring _300MHz,$@)" ] || \ 6697ebf7443Swdenk { echo "#define CONFIG_300MHz" >>include/config.h ; \ 6707ebf7443Swdenk echo "... with 300MHz system clock" ; \ 6717ebf7443Swdenk } 6724532cb69Swdenk @[ -z "$(findstring TQM8255_,$@)" ] || \ 6734532cb69Swdenk { echo "#define CONFIG_MPC8255" >>include/config.h ; } 6744532cb69Swdenk @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 6757ebf7443Swdenk 6767aa78614Swdenkatc_config: unconfig 6777aa78614Swdenk @./mkconfig $(@:_config=) ppc mpc8260 atc 6787aa78614Swdenk 6797ebf7443Swdenk######################################################################### 6807ebf7443Swdenk## 74xx/7xx Systems 6817ebf7443Swdenk######################################################################### 6827ebf7443Swdenk 683c7de829cSwdenkAmigaOneG3SE_config: unconfig 684c7de829cSwdenk @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 685c7de829cSwdenk 6867ebf7443SwdenkEVB64260_config \ 6877ebf7443SwdenkEVB64260_750CX_config: unconfig 6887ebf7443Swdenk @./mkconfig EVB64260 ppc 74xx_7xx evb64260 6897ebf7443Swdenk 6907ebf7443SwdenkZUMA_config: unconfig 6917ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 6927ebf7443Swdenk 6937ebf7443SwdenkPCIPPC2_config \ 6947ebf7443SwdenkPCIPPC6_config: unconfig 6957ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 6967ebf7443Swdenk 6977ebf7443SwdenkBAB7xx_config: unconfig 6987ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec 6997ebf7443Swdenk 7007ebf7443SwdenkELPPC_config: unconfig 7017ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec 7027ebf7443Swdenk 7037ebf7443Swdenk#======================================================================== 7047ebf7443Swdenk# ARM 7057ebf7443Swdenk#======================================================================== 7067ebf7443Swdenk######################################################################### 7077ebf7443Swdenk## StrongARM Systems 7087ebf7443Swdenk######################################################################### 7097ebf7443Swdenk 710dc7c9a1aSwdenkat91rm9200dk_config : unconfig 711dc7c9a1aSwdenk @./mkconfig $(@:_config=) arm at91rm9200 at91rm9200dk 712dc7c9a1aSwdenk 7137ebf7443Swdenklart_config : unconfig 7147ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 lart 7157ebf7443Swdenk 7167ebf7443Swdenkdnp1110_config : unconfig 7177ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 dnp1110 7187ebf7443Swdenk 7197ebf7443Swdenkshannon_config : unconfig 7207ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 shannon 7217ebf7443Swdenk 7227ebf7443Swdenk######################################################################### 723*2e5983d2Swdenk## ARM92xT Systems 7247ebf7443Swdenk######################################################################### 7257ebf7443Swdenk 72643d9616cSwdenkxtract_trab = $(subst _big_flash,,$(subst _config,,$1)) 72743d9616cSwdenk 728*2e5983d2Swdenkomap1510inn_config : unconfig 729*2e5983d2Swdenk @./mkconfig $(@:_config=) arm arm925t omap1510inn 730*2e5983d2Swdenk 7317ebf7443Swdenksmdk2400_config : unconfig 7327ebf7443Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2400 7337ebf7443Swdenk 7347ebf7443Swdenksmdk2410_config : unconfig 7357ebf7443Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2410 7367ebf7443Swdenk 73743d9616cSwdenktrab_config \ 73843d9616cSwdenktrab_big_flash_config: unconfig 73943d9616cSwdenk @ >include/config.h 74043d9616cSwdenk @[ -z "$(findstring _big_flash,$@)" ] || \ 74143d9616cSwdenk { echo "#define CONFIG_BIG_FLASH" >>include/config.h ; \ 74243d9616cSwdenk echo "... with big flash support" ; \ 74343d9616cSwdenk } 74443d9616cSwdenk @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab 7457ebf7443Swdenk 7461cb8e980SwdenkVCMA9_config : unconfig 7471cb8e980Swdenk @./mkconfig $(@:_config=) arm arm920t vcma9 mpl 7481cb8e980Swdenk 7497ebf7443Swdenk######################################################################### 7507ebf7443Swdenk## ARM720T Systems 7517ebf7443Swdenk######################################################################### 7527ebf7443Swdenk 7537ebf7443Swdenkimpa7_config : unconfig 7547ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t impa7 7557ebf7443Swdenk 7567ebf7443Swdenkep7312_config : unconfig 7577ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t ep7312 7587ebf7443Swdenk 7597ebf7443Swdenk######################################################################### 76043d9616cSwdenk## XScale Systems 7617ebf7443Swdenk######################################################################### 7627ebf7443Swdenk 7637ebf7443Swdenkcradle_config : unconfig 7644c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa cradle 7657ebf7443Swdenk 7667ebf7443Swdenkcsb226_config : unconfig 7674c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa csb226 7687ebf7443Swdenk 76943d9616cSwdenkinnokom_config : unconfig 7704c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa innokom 77143d9616cSwdenk 77243d9616cSwdenklubbock_config : unconfig 7734c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa lubbock 77443d9616cSwdenk 77552f52c14Swdenklogodl_config : unconfig 77652f52c14Swdenk @./mkconfig $(@:_config=) arm pxa logodl 77752f52c14Swdenk 7783e38691eSwdenkwepep250_config : unconfig 7794c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa wepep250 7803e38691eSwdenk 7812262cfeeSwdenk#======================================================================== 7822262cfeeSwdenk# i386 7832262cfeeSwdenk#======================================================================== 7842262cfeeSwdenk######################################################################### 7852262cfeeSwdenk## AMD SC520 CDP 7862262cfeeSwdenk######################################################################### 7872262cfeeSwdenksc520_cdp_config : unconfig 7882262cfeeSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_cdp 7892262cfeeSwdenk 7907a8e9bedSwdenksc520_spunk_config : unconfig 7917a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 7927a8e9bedSwdenk 7937a8e9bedSwdenksc520_spunk_rel_config : unconfig 7947a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 7957a8e9bedSwdenk 79643d9616cSwdenk#======================================================================== 79743d9616cSwdenk# MIPS 79843d9616cSwdenk#======================================================================== 7997ebf7443Swdenk######################################################################### 80043d9616cSwdenk## MIPS32 4Kc 80143d9616cSwdenk######################################################################### 80243d9616cSwdenk 80343d9616cSwdenkincaip_config : unconfig 80443d9616cSwdenk @./mkconfig $(@:_config=) mips mips incaip 80543d9616cSwdenk 8063e38691eSwdenkpurple_config : unconfig 8073e38691eSwdenk @./mkconfig $(@:_config=) mips mips purple 80843d9616cSwdenk 8093e38691eSwdenk######################################################################### 8103e38691eSwdenk######################################################################### 8117ebf7443Swdenk 8127ebf7443Swdenkclean: 8137ebf7443Swdenk find . -type f \ 8147ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 8157ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 8167ebf7443Swdenk | xargs rm -f 81785ec0bccSwdenk rm -f examples/hello_world examples/timer \ 8183e38691eSwdenk examples/eepro100_eeprom examples/sched \ 8197a8e9bedSwdenk examples/mem_to_mem_idma2intr examples/82559_eeprom 8207a8e9bedSwdenk 8217ebf7443Swdenk rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr 8227ebf7443Swdenk rm -f tools/easylogo/easylogo tools/bmp_logo 8237ebf7443Swdenk rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend 824228f29acSwdenk rm -f tools/env/fw_printenv tools/env/fw_setenv 8257f70e853Swdenk rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image 8267ebf7443Swdenk 8277ebf7443Swdenkclobber: clean 8287ebf7443Swdenk find . -type f \ 8297ebf7443Swdenk \( -name .depend -o -name '*.srec' -o -name '*.bin' \) \ 8307ebf7443Swdenk -print \ 8317ebf7443Swdenk | xargs rm -f 8327ebf7443Swdenk rm -f $(OBJS) *.bak tags TAGS 8337ebf7443Swdenk rm -fr *.*~ 834d126bfbdSwdenk rm -f u-boot u-boot.bin u-boot.srec u-boot.map System.map 835228f29acSwdenk rm -f tools/crc32.c tools/environment.c tools/env/crc32.c 8363e38691eSwdenk rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c 837b783edaeSwdenk rm -f include/asm/proc include/asm/arch include/asm 8387ebf7443Swdenk 8397ebf7443Swdenkmrproper \ 8407ebf7443Swdenkdistclean: clobber unconfig 8417ebf7443Swdenk 8427ebf7443Swdenkbackup: 8437ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 8447ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 8457ebf7443Swdenk 8467ebf7443Swdenk######################################################################### 847