2 # (C) Copyright 2000, 2001, 2002
5 # See file CREDITS for list of people who contributed to this
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of
11 # the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24 HOSTARCH := $(shell uname -m | \
32 HOSTOS := $(shell uname -s | tr A-Z a-z | \
33 sed -e 's/\(cygwin\).*/cygwin/')
37 # Deal with colliding definitions from tcsh etc.
40 #########################################################################
42 TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
45 ifeq (include/config.mk,$(wildcard include/config.mk))
46 # load ARCH, BOARD, and CPU configuration
47 include include/config.mk
48 export ARCH CPU BOARD VENDOR
49 # load other configuration
50 include $(TOPDIR)/config.mk
53 ifeq ($(HOSTARCH),ppc)
57 CROSS_COMPILE = ppc_8xx-
60 CROSS_COMPILE = arm-linux-
63 ifeq ($(HOSTARCH),i386)
66 CROSS_COMPILE = i386-linux-
70 CROSS_COMPILE = mips_4KC-
77 # The "tools" are needed early, so put this first
94 #########################################################################
95 # U-Boot objects....order is important (i.e. start must be first)
97 OBJS = cpu/$(CPU)/start.o
99 OBJS += cpu/$(CPU)/start16.o
100 OBJS += cpu/$(CPU)/reset.o
103 OBJS += cpu/$(CPU)/resetvec.o
106 LIBS = board/$(BOARDDIR)/lib$(BOARD).a
107 LIBS += cpu/$(CPU)/lib$(CPU).a
108 LIBS += lib_$(ARCH)/lib$(ARCH).a
109 LIBS += fs/jffs2/libjffs2.a fs/fdos/libfdos.a fs/fat/libfat.a
111 LIBS += disk/libdisk.a
114 LIBS += drivers/libdrivers.a
115 LIBS += post/libpost.a post/cpu/libcpu.a
116 LIBS += common/libcommon.a
117 LIBS += lib_generic/libgeneric.a
119 #########################################################################
121 all: u-boot.srec u-boot.bin System.map
124 -cp u-boot.bin /tftpboot/u-boot.bin
125 -cp u-boot.bin /net/denx/tftpboot/u-boot.bin
128 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
131 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
134 $(OBJDUMP) -d $< > $@
136 u-boot: depend subdirs $(OBJS) $(LIBS) $(LDSCRIPT)
137 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
138 $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
139 --start-group $(LIBS) --end-group \
140 -Map u-boot.map -o u-boot
143 @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir || exit 1 ; done
146 @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done
149 ctags -w `find $(SUBDIRS) include \
150 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
153 etags -a `find $(SUBDIRS) include \
154 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
158 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
161 #########################################################################
163 all install u-boot u-boot.srec depend dep:
164 @echo "System not configured - see README" >&2
168 #########################################################################
171 rm -f include/config.h include/config.mk
173 #========================================================================
175 #========================================================================
177 #########################################################################
179 #########################################################################
181 cmi_mpc5xx_config: unconfig
182 @./mkconfig $(@:_config=) ppc mpc5xx cmi
184 #########################################################################
186 #########################################################################
188 ADS860_config: unconfig
189 @./mkconfig $(@:_config=) ppc mpc8xx fads
191 AMX860_config : unconfig
192 @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel
194 c2mon_config: unconfig
195 @./mkconfig $(@:_config=) ppc mpc8xx c2mon
198 @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens
200 cogent_mpc8xx_config: unconfig
201 @./mkconfig $(@:_config=) ppc mpc8xx cogent
203 ELPT860_config: unconfig
204 @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX
206 ESTEEM192E_config: unconfig
207 @./mkconfig $(@:_config=) ppc mpc8xx esteem192e
209 ETX094_config : unconfig
210 @./mkconfig $(@:_config=) ppc mpc8xx etx094
214 FADS860T_config: unconfig
215 @./mkconfig $(@:_config=) ppc mpc8xx fads
217 FLAGADM_config: unconfig
218 @./mkconfig $(@:_config=) ppc mpc8xx flagadm
220 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
223 GEN860T_config: unconfig
225 @[ -z "$(findstring _SC,$@)" ] || \
226 { echo "#define CONFIG_SC" >>include/config.h ; \
227 echo "With reduced H/W feature set (SC)..." ; \
229 @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
231 GENIETV_config: unconfig
232 @./mkconfig $(@:_config=) ppc mpc8xx genietv
235 @./mkconfig $(@:_config=) ppc mpc8xx gth
237 hermes_config : unconfig
238 @./mkconfig $(@:_config=) ppc mpc8xx hermes
240 IAD210_config: unconfig
241 @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens
243 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
245 ICU862_100MHz_config \
246 ICU862_config: unconfig
248 @[ -z "$(findstring _100MHz,$@)" ] || \
249 { echo "#define CONFIG_100MHz" >>include/config.h ; \
250 echo "... with 100MHz system clock" ; \
252 @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
254 IP860_config : unconfig
255 @./mkconfig $(@:_config=) ppc mpc8xx ip860
259 IVML24_config: unconfig
261 @[ -z "$(findstring IVML24_config,$@)" ] || \
262 { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \
264 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
265 { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \
267 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
268 { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \
270 @./mkconfig -a IVML24 ppc mpc8xx ivm
274 IVMS8_config: unconfig
276 @[ -z "$(findstring IVMS8_config,$@)" ] || \
277 { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \
279 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
280 { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \
282 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
283 { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \
285 @./mkconfig -a IVMS8 ppc mpc8xx ivm
287 KUP4K_config : unconfig
288 @./mkconfig $(@:_config=) ppc mpc8xx kup4k
290 LANTEC_config : unconfig
291 @./mkconfig $(@:_config=) ppc mpc8xx lantec
293 lwmon_config: unconfig
294 @./mkconfig $(@:_config=) ppc mpc8xx lwmon
297 MBX860T_config: unconfig
298 @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx
300 MHPC_config: unconfig
301 @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec
303 MVS1_config : unconfig
304 @./mkconfig $(@:_config=) ppc mpc8xx mvs1
306 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
309 NETVIA_config: unconfig
311 @[ -z "$(findstring NETVIA_config,$@)" ] || \
312 { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \
313 echo "... Version 1" ; \
315 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
316 { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \
317 echo "... Version 2" ; \
319 @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
321 NX823_config: unconfig
322 @./mkconfig $(@:_config=) ppc mpc8xx nx823
324 pcu_e_config: unconfig
325 @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens
327 R360MPI_config: unconfig
328 @./mkconfig $(@:_config=) ppc mpc8xx r360mpi
330 RBC823_config: unconfig
331 @./mkconfig $(@:_config=) ppc mpc8xx rbc823
333 RPXClassic_config: unconfig
334 @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic
336 RPXlite_config: unconfig
337 @./mkconfig $(@:_config=) ppc mpc8xx RPXlite
340 @./mkconfig $(@:_config=) ppc mpc8xx rmu
342 RRvision_config: unconfig
343 @./mkconfig $(@:_config=) ppc mpc8xx RRvision
345 RRvision_LCD_config: unconfig
346 @echo "#define CONFIG_LCD" >include/config.h
347 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h
348 @./mkconfig -a RRvision ppc mpc8xx RRvision
350 SM850_config : unconfig
351 @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx
353 SPD823TS_config: unconfig
354 @./mkconfig $(@:_config=) ppc mpc8xx spd8xx
356 svm_sc8xx_config: unconfig
358 @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx
360 SXNI855T_config: unconfig
361 @./mkconfig $(@:_config=) ppc mpc8xx sixnet
363 # EMK MPC8xx based modules
364 TOP860_config: unconfig
365 @./mkconfig $(@:_config=) ppc mpc8xx top860 emk
367 # Play some tricks for configuration selection
368 # All boards can come with 50 MHz (default), 66MHz, 80MHz or 100 MHz clock,
369 # but only 855 and 860 boards may come with FEC
370 # and 823 boards may have LCD support
371 xtract_8xx = $(subst _66MHz,,$(subst _80MHz,,$(subst _100MHz,,$(subst _LCD,,$(subst _config,,$1)))))
377 TQM823L_66MHz_config \
378 TQM823L_80MHz_config \
380 TQM823L_LCD_66MHz_config \
381 TQM823L_LCD_80MHz_config \
383 TQM850L_66MHz_config \
384 TQM850L_80MHz_config \
386 TQM855L_66MHz_config \
387 TQM855L_80MHz_config \
389 TQM860L_66MHz_config \
390 TQM860L_80MHz_config \
392 TQM862L_66MHz_config \
393 TQM862L_80MHz_config \
395 TQM855M_66MHz_config \
396 TQM855M_80MHz_config \
398 TQM860M_66MHz_config \
399 TQM860M_80MHz_config \
401 TQM862M_66MHz_config \
402 TQM862M_80MHz_config \
403 TQM862M_100MHz_config: unconfig
405 @[ -z "$(findstring _66MHz,$@)" ] || \
406 { echo "#define CONFIG_66MHz" >>include/config.h ; \
407 echo "... with 66MHz system clock" ; \
409 @[ -z "$(findstring _80MHz,$@)" ] || \
410 { echo "#define CONFIG_80MHz" >>include/config.h ; \
411 echo "... with 80MHz system clock" ; \
413 @[ -z "$(findstring _100MHz,$@)" ] || \
414 { echo "#define CONFIG_100MHz" >>include/config.h ; \
415 echo "... with 100MHz system clock" ; \
417 @[ -z "$(findstring _LCD,$@)" ] || \
418 { echo "#define CONFIG_LCD" >>include/config.h ; \
419 echo "#define CONFIG_NEC_NL6648BC20" >>include/config.h ; \
420 echo "... with LCD display" ; \
422 @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
424 TTTech_config: unconfig
425 @echo "#define CONFIG_LCD" >include/config.h
426 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h
427 @./mkconfig -a TQM823L ppc mpc8xx tqm8xx
430 @echo "#define CONFIG_LCD" >include/config.h
431 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h
432 @./mkconfig $(@:_config=) ppc mpc8xx v37
434 #########################################################################
436 #########################################################################
438 ADCIOP_config: unconfig
439 @./mkconfig $(@:_config=) ppc ppc4xx adciop esd
441 AR405_config: unconfig
442 @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd
444 ASH405_config: unconfig
445 @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd
447 BUBINGA405EP_config:unconfig
448 @./mkconfig $(@:_config=) ppc ppc4xx bubinga405ep
450 CANBT_config: unconfig
451 @./mkconfig $(@:_config=) ppc ppc4xx canbt esd
455 CPCI405AB_config: unconfig
456 @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd
457 @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk
459 CPCI440_config: unconfig
460 @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd
462 CPCIISER4_config: unconfig
463 @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd
465 CRAYL1_config:unconfig
466 @./mkconfig $(@:_config=) ppc ppc4xx L1 cray
468 DASA_SIM_config: unconfig
469 @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd
471 DU405_config: unconfig
472 @./mkconfig $(@:_config=) ppc ppc4xx du405 esd
474 EBONY_config:unconfig
475 @./mkconfig $(@:_config=) ppc ppc4xx ebony
478 @./mkconfig $(@:_config=) ppc ppc4xx eric
480 EXBITGEN_config:unconfig
481 @./mkconfig $(@:_config=) ppc ppc4xx exbitgen
483 MIP405_config:unconfig
484 @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl
486 MIP405T_config:unconfig
487 @echo "#define CONFIG_MIP405T" >include/config.h
488 @echo "Enable subset config for MIP405T"
489 @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl
492 @./mkconfig $(@:_config=) ppc ppc4xx ml2
495 ORSG_config: unconfig
496 @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd
498 PCI405_config: unconfig
499 @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd
501 PIP405_config:unconfig
502 @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl
504 PMC405_config: unconfig
505 @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd
508 W7OLMG_config: unconfig
509 @./mkconfig $(@:_config=) ppc ppc4xx w7o
511 WALNUT405_config:unconfig
512 @./mkconfig $(@:_config=) ppc ppc4xx walnut405
514 #########################################################################
516 #########################################################################
517 xtract_82xx = $(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))
519 A3000_config: unconfig
520 @./mkconfig $(@:_config=) ppc mpc824x a3000
523 @./mkconfig $(@:_config=) ppc mpc824x bmw
526 CPC45_ROMBOOT_config: unconfig
527 @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45
529 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
530 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
531 echo "... booting from 8-bit flash" ; \
533 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
534 echo "... booting from 64-bit flash" ; \
536 echo "export CONFIG_BOOT_ROM" >> config.mk;
538 CU824_config: unconfig
539 @./mkconfig $(@:_config=) ppc mpc824x cu824
541 MOUSSE_config: unconfig
542 @./mkconfig $(@:_config=) ppc mpc824x mousse
544 MUSENKI_config: unconfig
545 @./mkconfig $(@:_config=) ppc mpc824x musenki
548 @./mkconfig $(@:_config=) ppc mpc824x oxc
550 PN62_config: unconfig
551 @./mkconfig $(@:_config=) ppc mpc824x pn62
553 Sandpoint8240_config: unconfig
554 @./mkconfig $(@:_config=) ppc mpc824x sandpoint
556 Sandpoint8245_config: unconfig
557 @./mkconfig $(@:_config=) ppc mpc824x sandpoint
559 SL8245_config: unconfig
560 @./mkconfig $(@:_config=) ppc mpc824x sl8245
562 utx8245_config: unconfig
563 @./mkconfig $(@:_config=) ppc mpc824x utx8245
565 #########################################################################
567 #########################################################################
569 cogent_mpc8260_config: unconfig
570 @./mkconfig $(@:_config=) ppc mpc8260 cogent
573 CPU86_ROMBOOT_config: unconfig
574 @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86
576 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
577 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
578 echo "... booting from 8-bit flash" ; \
580 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
581 echo "... booting from 64-bit flash" ; \
583 echo "export CONFIG_BOOT_ROM" >> config.mk;
585 ep8260_config: unconfig
586 @./mkconfig $(@:_config=) ppc mpc8260 ep8260
588 gw8260_config: unconfig
589 @./mkconfig $(@:_config=) ppc mpc8260 gw8260
591 hymod_config: unconfig
592 @./mkconfig $(@:_config=) ppc mpc8260 hymod
594 IPHASE4539_config: unconfig
595 @./mkconfig $(@:_config=) ppc mpc8260 iphase4539
597 MPC8260ADS_config: unconfig
598 @./mkconfig $(@:_config=) ppc mpc8260 mpc8260ads
600 MPC8266ADS_config: unconfig
601 @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads
604 PM825_ROMBOOT_config: unconfig
605 @echo "#define CONFIG_PCI" >include/config.h
606 @./mkconfig -a PM826 ppc mpc8260 pm826
608 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
609 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
610 echo "... booting from 8-bit flash" ; \
612 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
613 echo "... booting from 64-bit flash" ; \
615 echo "export CONFIG_BOOT_ROM" >> config.mk; \
618 PM826_ROMBOOT_config: unconfig
619 @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 pm826
621 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
622 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
623 echo "... booting from 8-bit flash" ; \
625 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
626 echo "... booting from 64-bit flash" ; \
628 echo "export CONFIG_BOOT_ROM" >> config.mk; \
630 ppmc8260_config: unconfig
631 @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260
633 RPXsuper_config: unconfig
634 @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper
636 rsdproto_config: unconfig
637 @./mkconfig $(@:_config=) ppc mpc8260 rsdproto
639 sacsng_config: unconfig
640 @./mkconfig $(@:_config=) ppc mpc8260 sacsng
642 sbc8260_config: unconfig
643 @./mkconfig $(@:_config=) ppc mpc8260 sbc8260
646 @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens
651 TQM8255_266MHz_config \
652 TQM8260_266MHz_config \
653 TQM8260_L2_266MHz_config \
654 TQM8255_300MHz_config \
655 TQM8260_300MHz_config: unconfig
657 @if [ "$(findstring _L2_,$@)" ] ; then \
658 echo "#define CONFIG_L2_CACHE" >>include/config.h ; \
659 echo "... with L2 Cache support (60x Bus Mode)" ; \
661 echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \
662 echo "... without L2 Cache support" ; \
664 @[ -z "$(findstring _266MHz,$@)" ] || \
665 { echo "#define CONFIG_266MHz" >>include/config.h ; \
666 echo "... with 266MHz system clock" ; \
668 @[ -z "$(findstring _300MHz,$@)" ] || \
669 { echo "#define CONFIG_300MHz" >>include/config.h ; \
670 echo "... with 300MHz system clock" ; \
672 @[ -z "$(findstring TQM8255_,$@)" ] || \
673 { echo "#define CONFIG_MPC8255" >>include/config.h ; }
674 @./mkconfig -a TQM8260 ppc mpc8260 tqm8260
677 @./mkconfig $(@:_config=) ppc mpc8260 atc
679 #########################################################################
681 #########################################################################
683 AmigaOneG3SE_config: unconfig
684 @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
687 EVB64260_750CX_config: unconfig
688 @./mkconfig EVB64260 ppc 74xx_7xx evb64260
690 ZUMA_config: unconfig
691 @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260
694 PCIPPC6_config: unconfig
695 @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2
697 BAB7xx_config: unconfig
698 @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec
700 ELPPC_config: unconfig
701 @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec
703 #========================================================================
705 #========================================================================
706 #########################################################################
708 #########################################################################
710 at91rm9200dk_config : unconfig
711 @./mkconfig $(@:_config=) arm at91rm9200 at91rm9200dk
713 lart_config : unconfig
714 @./mkconfig $(@:_config=) arm sa1100 lart
716 dnp1110_config : unconfig
717 @./mkconfig $(@:_config=) arm sa1100 dnp1110
719 shannon_config : unconfig
720 @./mkconfig $(@:_config=) arm sa1100 shannon
722 #########################################################################
724 #########################################################################
726 xtract_trab = $(subst _big_flash,,$(subst _config,,$1))
728 omap1510inn_config : unconfig
729 @./mkconfig $(@:_config=) arm arm925t omap1510inn
731 smdk2400_config : unconfig
732 @./mkconfig $(@:_config=) arm arm920t smdk2400
734 smdk2410_config : unconfig
735 @./mkconfig $(@:_config=) arm arm920t smdk2410
738 trab_big_flash_config: unconfig
740 @[ -z "$(findstring _big_flash,$@)" ] || \
741 { echo "#define CONFIG_BIG_FLASH" >>include/config.h ; \
742 echo "... with big flash support" ; \
744 @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab
746 VCMA9_config : unconfig
747 @./mkconfig $(@:_config=) arm arm920t vcma9 mpl
749 #########################################################################
751 #########################################################################
753 impa7_config : unconfig
754 @./mkconfig $(@:_config=) arm arm720t impa7
756 ep7312_config : unconfig
757 @./mkconfig $(@:_config=) arm arm720t ep7312
759 #########################################################################
761 #########################################################################
763 cradle_config : unconfig
764 @./mkconfig $(@:_config=) arm pxa cradle
766 csb226_config : unconfig
767 @./mkconfig $(@:_config=) arm pxa csb226
769 innokom_config : unconfig
770 @./mkconfig $(@:_config=) arm pxa innokom
772 lubbock_config : unconfig
773 @./mkconfig $(@:_config=) arm pxa lubbock
775 logodl_config : unconfig
776 @./mkconfig $(@:_config=) arm pxa logodl
778 wepep250_config : unconfig
779 @./mkconfig $(@:_config=) arm pxa wepep250
781 #========================================================================
783 #========================================================================
784 #########################################################################
786 #########################################################################
787 sc520_cdp_config : unconfig
788 @./mkconfig $(@:_config=) i386 i386 sc520_cdp
790 sc520_spunk_config : unconfig
791 @./mkconfig $(@:_config=) i386 i386 sc520_spunk
793 sc520_spunk_rel_config : unconfig
794 @./mkconfig $(@:_config=) i386 i386 sc520_spunk
796 #========================================================================
798 #========================================================================
799 #########################################################################
801 #########################################################################
803 incaip_config : unconfig
804 @./mkconfig $(@:_config=) mips mips incaip
806 purple_config : unconfig
807 @./mkconfig $(@:_config=) mips mips purple
809 #########################################################################
810 #########################################################################
814 \( -name 'core' -o -name '*.bak' -o -name '*~' \
815 -o -name '*.o' -o -name '*.a' \) -print \
817 rm -f examples/hello_world examples/timer \
818 examples/eepro100_eeprom examples/sched \
819 examples/mem_to_mem_idma2intr examples/82559_eeprom
821 rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr
822 rm -f tools/easylogo/easylogo tools/bmp_logo
823 rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
824 rm -f tools/env/fw_printenv tools/env/fw_setenv
825 rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
829 \( -name .depend -o -name '*.srec' -o -name '*.bin' \) \
832 rm -f $(OBJS) *.bak tags TAGS
834 rm -f u-boot u-boot.bin u-boot.srec u-boot.map System.map
835 rm -f tools/crc32.c tools/environment.c tools/env/crc32.c
836 rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c
837 rm -f include/asm/proc include/asm/arch include/asm
840 distclean: clobber unconfig
843 F=`basename $(TOPDIR)` ; cd .. ; \
844 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
846 #########################################################################