2 # (C) Copyright 2000, 2001, 2002
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
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 $(LD) $(LDFLAGS) $(OBJS) \
138 --start-group $(LIBS) --end-group \
139 -Map u-boot.map -o u-boot
142 @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir || exit 1 ; done
145 @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done
148 ctags -w `find $(SUBDIRS) include \
149 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
152 etags -a `find $(SUBDIRS) include \
153 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
157 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
160 #########################################################################
162 all install u-boot u-boot.srec depend dep:
163 @echo "System not configured - see README" >&2
167 #########################################################################
170 rm -f include/config.h include/config.mk
172 #========================================================================
174 #========================================================================
176 #########################################################################
178 #########################################################################
180 cmi_mpc5xx_config: unconfig
181 @./mkconfig $(@:_config=) ppc mpc5xx cmi
183 #########################################################################
185 #########################################################################
187 ADS860_config: unconfig
188 @./mkconfig $(@:_config=) ppc mpc8xx fads
190 AMX860_config : unconfig
191 @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel
193 c2mon_config: unconfig
194 @./mkconfig $(@:_config=) ppc mpc8xx c2mon
197 @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens
199 cogent_mpc8xx_config: unconfig
200 @./mkconfig $(@:_config=) ppc mpc8xx cogent
202 ELPT860_config: unconfig
203 @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX
205 ESTEEM192E_config: unconfig
206 @./mkconfig $(@:_config=) ppc mpc8xx esteem192e
208 ETX094_config : unconfig
209 @./mkconfig $(@:_config=) ppc mpc8xx etx094
213 FADS860T_config: unconfig
214 @./mkconfig $(@:_config=) ppc mpc8xx fads
216 FLAGADM_config: unconfig
217 @./mkconfig $(@:_config=) ppc mpc8xx flagadm
219 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
222 GEN860T_config: unconfig
224 @[ -z "$(findstring _SC,$@)" ] || \
225 { echo "#define CONFIG_SC" >>include/config.h ; \
226 echo "With reduced H/W feature set (SC)..." ; \
228 @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
230 GENIETV_config: unconfig
231 @./mkconfig $(@:_config=) ppc mpc8xx genietv
234 @./mkconfig $(@:_config=) ppc mpc8xx gth
236 hermes_config : unconfig
237 @./mkconfig $(@:_config=) ppc mpc8xx hermes
239 IAD210_config: unconfig
240 @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens
242 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
244 ICU862_100MHz_config \
245 ICU862_config: unconfig
247 @[ -z "$(findstring _100MHz,$@)" ] || \
248 { echo "#define CONFIG_100MHz" >>include/config.h ; \
249 echo "... with 100MHz system clock" ; \
251 @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
253 IP860_config : unconfig
254 @./mkconfig $(@:_config=) ppc mpc8xx ip860
258 IVML24_config: unconfig
260 @[ -z "$(findstring IVML24_config,$@)" ] || \
261 { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \
263 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
264 { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \
266 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
267 { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \
269 @./mkconfig -a IVML24 ppc mpc8xx ivm
273 IVMS8_config: unconfig
275 @[ -z "$(findstring IVMS8_config,$@)" ] || \
276 { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \
278 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
279 { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \
281 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
282 { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \
284 @./mkconfig -a IVMS8 ppc mpc8xx ivm
286 KUP4K_config : unconfig
287 @./mkconfig $(@:_config=) ppc mpc8xx kup4k
289 LANTEC_config : unconfig
290 @./mkconfig $(@:_config=) ppc mpc8xx lantec
292 lwmon_config: unconfig
293 @./mkconfig $(@:_config=) ppc mpc8xx lwmon
296 MBX860T_config: unconfig
297 @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx
299 MHPC_config: unconfig
300 @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec
302 MVS1_config : unconfig
303 @./mkconfig $(@:_config=) ppc mpc8xx mvs1
305 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
308 NETVIA_config: unconfig
310 @[ -z "$(findstring NETVIA_config,$@)" ] || \
311 { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \
312 echo "... Version 1" ; \
314 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
315 { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \
316 echo "... Version 2" ; \
318 @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
320 NX823_config: unconfig
321 @./mkconfig $(@:_config=) ppc mpc8xx nx823
323 pcu_e_config: unconfig
324 @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens
326 R360MPI_config: unconfig
327 @./mkconfig $(@:_config=) ppc mpc8xx r360mpi
329 RBC823_config: unconfig
330 @./mkconfig $(@:_config=) ppc mpc8xx rbc823
332 RPXClassic_config: unconfig
333 @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic
335 RPXlite_config: unconfig
336 @./mkconfig $(@:_config=) ppc mpc8xx RPXlite
339 @./mkconfig $(@:_config=) ppc mpc8xx rmu
341 RRvision_config: unconfig
342 @./mkconfig $(@:_config=) ppc mpc8xx RRvision
344 RRvision_LCD_config: unconfig
345 @echo "#define CONFIG_LCD" >include/config.h
346 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h
347 @./mkconfig -a RRvision ppc mpc8xx RRvision
349 SM850_config : unconfig
350 @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx
352 SPD823TS_config: unconfig
353 @./mkconfig $(@:_config=) ppc mpc8xx spd8xx
355 svm_sc8xx_config: unconfig
357 @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx
359 SXNI855T_config: unconfig
360 @./mkconfig $(@:_config=) ppc mpc8xx sixnet
362 # EMK MPC8xx based modules
363 TOP860_config: unconfig
364 @./mkconfig $(@:_config=) ppc mpc8xx top860 emk
366 # Play some tricks for configuration selection
367 # All boards can come with 50 MHz (default), 66MHz, 80MHz or 100 MHz clock,
368 # but only 855 and 860 boards may come with FEC
369 # and 823 boards may have LCD support
370 xtract_8xx = $(subst _66MHz,,$(subst _80MHz,,$(subst _100MHz,,$(subst _LCD,,$(subst _config,,$1)))))
375 TQM823L_66MHz_config \
376 TQM823L_80MHz_config \
378 TQM823L_LCD_66MHz_config \
379 TQM823L_LCD_80MHz_config \
381 TQM850L_66MHz_config \
382 TQM850L_80MHz_config \
384 TQM855L_66MHz_config \
385 TQM855L_80MHz_config \
387 TQM860L_66MHz_config \
388 TQM860L_80MHz_config \
390 TQM862L_66MHz_config \
391 TQM862L_80MHz_config \
392 TQM862M_100MHz_config: unconfig
394 @[ -z "$(findstring _66MHz,$@)" ] || \
395 { echo "#define CONFIG_66MHz" >>include/config.h ; \
396 echo "... with 66MHz system clock" ; \
398 @[ -z "$(findstring _80MHz,$@)" ] || \
399 { echo "#define CONFIG_80MHz" >>include/config.h ; \
400 echo "... with 80MHz system clock" ; \
402 @[ -z "$(findstring _100MHz,$@)" ] || \
403 { echo "#define CONFIG_100MHz" >>include/config.h ; \
404 echo "... with 100MHz system clock" ; \
406 @[ -z "$(findstring _LCD,$@)" ] || \
407 { echo "#define CONFIG_LCD" >>include/config.h ; \
408 echo "#define CONFIG_NEC_NL6648BC20" >>include/config.h ; \
409 echo "... with LCD display" ; \
411 @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
413 TTTech_config: unconfig
414 @echo "#define CONFIG_LCD" >include/config.h
415 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h
416 @./mkconfig -a TQM823L ppc mpc8xx tqm8xx
419 @echo "#define CONFIG_LCD" >include/config.h
420 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h
421 @./mkconfig $(@:_config=) ppc mpc8xx v37
423 #########################################################################
425 #########################################################################
427 ADCIOP_config: unconfig
428 @./mkconfig $(@:_config=) ppc ppc4xx adciop esd
430 AR405_config: unconfig
431 @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd
433 ASH405_config: unconfig
434 @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd
436 BUBINGA405EP_config:unconfig
437 @./mkconfig $(@:_config=) ppc ppc4xx bubinga405ep
439 CANBT_config: unconfig
440 @./mkconfig $(@:_config=) ppc ppc4xx canbt esd
444 CPCI405AB_config: unconfig
445 @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd
446 @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk
448 CPCI440_config: unconfig
449 @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd
451 CPCIISER4_config: unconfig
452 @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd
454 CRAYL1_config:unconfig
455 @./mkconfig $(@:_config=) ppc ppc4xx L1 cray
457 DASA_SIM_config: unconfig
458 @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd
460 DU405_config: unconfig
461 @./mkconfig $(@:_config=) ppc ppc4xx du405 esd
463 EBONY_config:unconfig
464 @./mkconfig $(@:_config=) ppc ppc4xx ebony
467 @./mkconfig $(@:_config=) ppc ppc4xx eric
469 MIP405_config:unconfig
470 @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl
472 MIP405T_config:unconfig
473 @echo "#define CONFIG_MIP405T" >include/config.h
474 @echo "Enable subset config for MIP405T"
475 @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl
478 @./mkconfig $(@:_config=) ppc ppc4xx ml2
481 ORSG_config: unconfig
482 @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd
484 PCI405_config: unconfig
485 @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd
487 PIP405_config:unconfig
488 @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl
490 PMC405_config: unconfig
491 @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd
494 W7OLMG_config: unconfig
495 @./mkconfig $(@:_config=) ppc ppc4xx w7o
497 WALNUT405_config:unconfig
498 @./mkconfig $(@:_config=) ppc ppc4xx walnut405
500 #########################################################################
502 #########################################################################
503 xtract_82xx = $(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))
505 A3000_config: unconfig
506 @./mkconfig $(@:_config=) ppc mpc824x a3000
509 @./mkconfig $(@:_config=) ppc mpc824x bmw
512 CPC45_ROMBOOT_config: unconfig
513 @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45
515 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
516 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
517 echo "... booting from 8-bit flash" ; \
519 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
520 echo "... booting from 64-bit flash" ; \
522 echo "export CONFIG_BOOT_ROM" >> config.mk;
524 CU824_config: unconfig
525 @./mkconfig $(@:_config=) ppc mpc824x cu824
527 MOUSSE_config: unconfig
528 @./mkconfig $(@:_config=) ppc mpc824x mousse
530 MUSENKI_config: unconfig
531 @./mkconfig $(@:_config=) ppc mpc824x musenki
534 @./mkconfig $(@:_config=) ppc mpc824x oxc
536 PN62_config: unconfig
537 @./mkconfig $(@:_config=) ppc mpc824x pn62
539 Sandpoint8240_config: unconfig
540 @./mkconfig $(@:_config=) ppc mpc824x sandpoint
542 Sandpoint8245_config: unconfig
543 @./mkconfig $(@:_config=) ppc mpc824x sandpoint
545 utx8245_config: unconfig
546 @./mkconfig $(@:_config=) ppc mpc824x utx8245
548 #########################################################################
550 #########################################################################
552 cogent_mpc8260_config: unconfig
553 @./mkconfig $(@:_config=) ppc mpc8260 cogent
556 CPU86_ROMBOOT_config: unconfig
557 @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86
559 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
560 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
561 echo "... booting from 8-bit flash" ; \
563 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
564 echo "... booting from 64-bit flash" ; \
566 echo "export CONFIG_BOOT_ROM" >> config.mk;
568 ep8260_config: unconfig
569 @./mkconfig $(@:_config=) ppc mpc8260 ep8260
571 gw8260_config: unconfig
572 @./mkconfig $(@:_config=) ppc mpc8260 gw8260
574 hymod_config: unconfig
575 @./mkconfig $(@:_config=) ppc mpc8260 hymod
577 IPHASE4539_config: unconfig
578 @./mkconfig $(@:_config=) ppc mpc8260 iphase4539
580 MPC8260ADS_config: unconfig
581 @./mkconfig $(@:_config=) ppc mpc8260 mpc8260ads
583 MPC8266ADS_config: unconfig
584 @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads
587 PM825_ROMBOOT_config: unconfig
588 @echo "#define CONFIG_PCI" >include/config.h
589 @./mkconfig -a PM826 ppc mpc8260 pm826
591 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
592 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
593 echo "... booting from 8-bit flash" ; \
595 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
596 echo "... booting from 64-bit flash" ; \
598 echo "export CONFIG_BOOT_ROM" >> config.mk; \
601 PM826_ROMBOOT_config: unconfig
602 @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 pm826
604 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
605 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
606 echo "... booting from 8-bit flash" ; \
608 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
609 echo "... booting from 64-bit flash" ; \
611 echo "export CONFIG_BOOT_ROM" >> config.mk; \
613 ppmc8260_config: unconfig
614 @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260
616 RPXsuper_config: unconfig
617 @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper
619 rsdproto_config: unconfig
620 @./mkconfig $(@:_config=) ppc mpc8260 rsdproto
622 sacsng_config: unconfig
623 @./mkconfig $(@:_config=) ppc mpc8260 sacsng
625 sbc8260_config: unconfig
626 @./mkconfig $(@:_config=) ppc mpc8260 sbc8260
629 @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens
634 TQM8255_266MHz_config \
635 TQM8260_266MHz_config \
636 TQM8260_L2_266MHz_config \
637 TQM8255_300MHz_config \
638 TQM8260_300MHz_config: unconfig
640 @if [ "$(findstring _L2_,$@)" ] ; then \
641 echo "#define CONFIG_L2_CACHE" >>include/config.h ; \
642 echo "... with L2 Cache support (60x Bus Mode)" ; \
644 echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \
645 echo "... without L2 Cache support" ; \
647 @[ -z "$(findstring _266MHz,$@)" ] || \
648 { echo "#define CONFIG_266MHz" >>include/config.h ; \
649 echo "... with 266MHz system clock" ; \
651 @[ -z "$(findstring _300MHz,$@)" ] || \
652 { echo "#define CONFIG_300MHz" >>include/config.h ; \
653 echo "... with 300MHz system clock" ; \
655 @[ -z "$(findstring TQM8255_,$@)" ] || \
656 { echo "#define CONFIG_MPC8255" >>include/config.h ; }
657 @./mkconfig -a TQM8260 ppc mpc8260 tqm8260
660 @./mkconfig $(@:_config=) ppc mpc8260 atc
662 #########################################################################
664 #########################################################################
666 AmigaOneG3SE_config: unconfig
667 @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
670 EVB64260_750CX_config: unconfig
671 @./mkconfig EVB64260 ppc 74xx_7xx evb64260
673 ZUMA_config: unconfig
674 @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260
677 PCIPPC6_config: unconfig
678 @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2
680 BAB7xx_config: unconfig
681 @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec
683 ELPPC_config: unconfig
684 @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec
686 #========================================================================
688 #========================================================================
689 #########################################################################
691 #########################################################################
693 at91rm9200dk_config : unconfig
694 @./mkconfig $(@:_config=) arm at91rm9200 at91rm9200dk
696 lart_config : unconfig
697 @./mkconfig $(@:_config=) arm sa1100 lart
699 dnp1110_config : unconfig
700 @./mkconfig $(@:_config=) arm sa1100 dnp1110
702 shannon_config : unconfig
703 @./mkconfig $(@:_config=) arm sa1100 shannon
705 #########################################################################
707 #########################################################################
709 xtract_trab = $(subst _big_flash,,$(subst _config,,$1))
711 smdk2400_config : unconfig
712 @./mkconfig $(@:_config=) arm arm920t smdk2400
714 smdk2410_config : unconfig
715 @./mkconfig $(@:_config=) arm arm920t smdk2410
718 trab_big_flash_config: unconfig
720 @[ -z "$(findstring _big_flash,$@)" ] || \
721 { echo "#define CONFIG_BIG_FLASH" >>include/config.h ; \
722 echo "... with big flash support" ; \
724 @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab
726 VCMA9_config : unconfig
727 @./mkconfig $(@:_config=) arm arm920t vcma9 mpl
729 #########################################################################
731 #########################################################################
733 impa7_config : unconfig
734 @./mkconfig $(@:_config=) arm arm720t impa7
736 ep7312_config : unconfig
737 @./mkconfig $(@:_config=) arm arm720t ep7312
739 #########################################################################
741 #########################################################################
743 cradle_config : unconfig
744 @./mkconfig $(@:_config=) arm pxa cradle
746 csb226_config : unconfig
747 @./mkconfig $(@:_config=) arm pxa csb226
749 innokom_config : unconfig
750 @./mkconfig $(@:_config=) arm pxa innokom
752 lubbock_config : unconfig
753 @./mkconfig $(@:_config=) arm pxa lubbock
755 logodl_config : unconfig
756 @./mkconfig $(@:_config=) arm pxa logodl
758 wepep250_config : unconfig
759 @./mkconfig $(@:_config=) arm pxa wepep250
761 #========================================================================
763 #========================================================================
764 #########################################################################
766 #########################################################################
767 sc520_cdp_config : unconfig
768 @./mkconfig $(@:_config=) i386 i386 sc520_cdp
770 sc520_spunk_config : unconfig
771 @./mkconfig $(@:_config=) i386 i386 sc520_spunk
773 sc520_spunk_rel_config : unconfig
774 @./mkconfig $(@:_config=) i386 i386 sc520_spunk
776 #========================================================================
778 #========================================================================
779 #########################################################################
781 #########################################################################
783 incaip_config : unconfig
784 @./mkconfig $(@:_config=) mips mips incaip
786 purple_config : unconfig
787 @./mkconfig $(@:_config=) mips mips purple
789 #########################################################################
790 #########################################################################
794 \( -name 'core' -o -name '*.bak' -o -name '*~' \
795 -o -name '*.o' -o -name '*.a' \) -print \
797 rm -f examples/hello_world examples/timer \
798 examples/eepro100_eeprom examples/sched \
799 examples/mem_to_mem_idma2intr examples/82559_eeprom
801 rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr
802 rm -f tools/easylogo/easylogo tools/bmp_logo
803 rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
804 rm -f tools/env/fw_printenv tools/env/fw_setenv
805 rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
809 \( -name .depend -o -name '*.srec' -o -name '*.bin' \) \
812 rm -f $(OBJS) *.bak tags TAGS
814 rm -f u-boot u-boot.bin u-boot.srec u-boot.map System.map
815 rm -f tools/crc32.c tools/environment.c tools/env/crc32.c
816 rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c
817 rm -f include/asm/proc include/asm/arch include/asm
820 distclean: clobber unconfig
823 F=`basename $(TOPDIR)` ; cd .. ; \
824 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
826 #########################################################################