2 # (C) Copyright 2000-2006
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 Foundatio; 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,
28 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
29 VERSION_FILE = $(obj)include/version_autogenerated.h
31 HOSTARCH := $(shell uname -m | \
39 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
40 sed -e 's/\(cygwin\).*/cygwin/')
42 export HOSTARCH HOSTOS
44 # Deal with colliding definitions from tcsh etc.
47 #########################################################################
49 # U-boot build supports producing a object files to the separate external
50 # directory. Two use cases are supported:
52 # 1) Add O= to the make command line
53 # 'make O=/tmp/build all'
55 # 2) Set environement variable BUILD_DIR to point to the desired location
56 # 'export BUILD_DIR=/tmp/build'
59 # The second approach can also be used with a MAKEALL script
60 # 'export BUILD_DIR=/tmp/build'
63 # Command line 'O=' setting overrides BUILD_DIR environent variable.
65 # When none of the above methods is used the local build is performed and
66 # the object files are placed in the source directory.
70 ifeq ("$(origin O)", "command line")
76 saved-output := $(BUILD_DIR)
78 # Attempt to create a output directory.
79 $(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR})
81 # Verify if it was successful.
82 BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd)
83 $(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist))
84 endif # ifneq ($(BUILD_DIR),)
86 OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))
90 export TOPDIR SRCTREE OBJTREE
92 MKCONFIG := $(SRCTREE)/mkconfig
95 ifneq ($(OBJTREE),$(SRCTREE))
100 # $(obj) and (src) are defined in config.mk but here in main Makefile
101 # we also need them before config.mk is included which is the case for
102 # some targets like unconfig, clean, clobber, distclean, etc.
103 ifneq ($(OBJTREE),$(SRCTREE))
112 #########################################################################
114 ifeq ($(OBJTREE)/include/config.mk,$(wildcard $(OBJTREE)/include/config.mk))
116 # load ARCH, BOARD, and CPU configuration
117 include $(OBJTREE)/include/config.mk
118 export ARCH CPU BOARD VENDOR SOC
121 ifeq ($(HOSTARCH),ppc)
125 CROSS_COMPILE = powerpc-linux-
128 CROSS_COMPILE = arm-linux-
131 ifeq ($(HOSTARCH),i386)
134 CROSS_COMPILE = i386-linux-
138 CROSS_COMPILE = mips_4KC-
141 CROSS_COMPILE = nios-elf-
144 CROSS_COMPILE = nios2-elf-
147 CROSS_COMPILE = m68k-elf-
149 ifeq ($(ARCH),microblaze)
152 ifeq ($(ARCH),blackfin)
153 CROSS_COMPILE = bfin-elf-
156 CROSS_COMPILE = avr32-
163 # load other configuration
164 include $(TOPDIR)/config.mk
166 #########################################################################
167 # U-Boot objects....order is important (i.e. start must be first)
169 OBJS = cpu/$(CPU)/start.o
171 OBJS += cpu/$(CPU)/start16.o
172 OBJS += cpu/$(CPU)/reset.o
175 OBJS += cpu/$(CPU)/resetvec.o
177 ifeq ($(CPU),mpc85xx)
178 OBJS += cpu/$(CPU)/resetvec.o
180 ifeq ($(CPU),mpc86xx)
181 OBJS += cpu/$(CPU)/resetvec.o
184 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
185 OBJS += cpu/$(CPU)/cplbhdlr.o cpu/$(CPU)/cplbmgr.o cpu/$(CPU)/flush.o
188 OBJS := $(addprefix $(obj),$(OBJS))
190 LIBS = lib_generic/libgeneric.a
191 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
192 LIBS += cpu/$(CPU)/lib$(CPU).a
194 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
196 LIBS += lib_$(ARCH)/lib$(ARCH).a
197 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
198 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
200 LIBS += disk/libdisk.a
203 LIBS += drivers/libdrivers.a
204 LIBS += drivers/nand/libnand.a
205 LIBS += drivers/nand_legacy/libnand_legacy.a
206 ifeq ($(CPU),mpc83xx)
207 LIBS += drivers/qe/qe.a
209 LIBS += drivers/sk98lin/libsk98lin.a
210 LIBS += post/libpost.a post/cpu/libcpu.a
211 LIBS += common/libcommon.a
214 LIBS := $(addprefix $(obj),$(LIBS))
218 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
220 # The "tools" are needed early, so put this first
221 # Don't include stuff already done in $(LIBS)
228 ifeq ($(CONFIG_NAND_U_BOOT),y)
230 U_BOOT_NAND = $(obj)u-boot-nand.bin
233 __OBJS := $(subst $(obj),,$(OBJS))
234 __LIBS := $(subst $(obj),,$(LIBS))
236 #########################################################################
237 #########################################################################
239 ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
243 $(obj)u-boot.hex: $(obj)u-boot
244 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
246 $(obj)u-boot.srec: $(obj)u-boot
247 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
249 $(obj)u-boot.bin: $(obj)u-boot
250 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
252 $(obj)u-boot.img: $(obj)u-boot.bin
253 ./tools/mkimage -A $(ARCH) -T firmware -C none \
254 -a $(TEXT_BASE) -e 0 \
255 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
256 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
259 $(obj)u-boot.dis: $(obj)u-boot
260 $(OBJDUMP) -d $< > $@
262 $(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
263 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
264 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
265 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
266 -Map u-boot.map -o u-boot
269 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
272 $(MAKE) -C $(dir $(subst $(obj),,$@))
278 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
280 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
281 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
284 @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
285 echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
286 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
287 $(TOPDIR)) >> $(VERSION_FILE); \
288 echo "\"" >> $(VERSION_FILE)
291 $(MAKE) -C tools/gdb all || exit 1
294 $(MAKE) -C tools/updater all || exit 1
297 $(MAKE) -C tools/env all || exit 1
300 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
303 ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
304 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
305 fs/cramfs fs/fat fs/fdos fs/jffs2 \
306 net disk rtc dtt drivers drivers/sk98lin common \
307 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
310 etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
311 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
312 fs/cramfs fs/fat fs/fdos fs/jffs2 \
313 net disk rtc dtt drivers drivers/sk98lin common \
314 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
316 $(obj)System.map: $(obj)u-boot
318 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
319 sort > $(obj)System.map
321 #########################################################################
323 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
324 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
325 $(SUBDIRS) version gdbtools updater env depend \
326 dep tags ctags etags $(obj)System.map:
327 @echo "System not configured - see README" >&2
333 git log --no-merges U-Boot-1_1_5.. | \
334 unexpand -a | sed -e 's/\s\s*$$//' > $@
336 #########################################################################
339 @rm -f $(obj)include/config.h $(obj)include/config.mk \
340 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp
342 #========================================================================
344 #========================================================================
346 #########################################################################
348 #########################################################################
350 canmb_config: unconfig
351 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
353 cmi_mpc5xx_config: unconfig
354 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
356 PATI_config: unconfig
357 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
359 #########################################################################
361 #########################################################################
364 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
366 BC3450_config: unconfig
367 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
369 cpci5200_config: unconfig
370 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
372 hmi1001_config: unconfig
373 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
376 Lite5200_LOWBOOT_config \
377 Lite5200_LOWBOOT08_config \
378 icecube_5200_config \
379 icecube_5200_LOWBOOT_config \
380 icecube_5200_LOWBOOT08_config \
381 icecube_5200_DDR_config \
382 icecube_5200_DDR_LOWBOOT_config \
383 icecube_5200_DDR_LOWBOOT08_config \
384 icecube_5100_config: unconfig
385 @mkdir -p $(obj)include
386 @mkdir -p $(obj)board/icecube
387 @ >$(obj)include/config.h
388 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
389 { if [ "$(findstring DDR,$@)" ] ; \
390 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
391 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
393 echo "... with LOWBOOT configuration" ; \
395 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
396 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
397 echo "... with 8 MB flash only" ; \
398 echo "... with LOWBOOT configuration" ; \
400 @[ -z "$(findstring DDR,$@)" ] || \
401 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
402 echo "... DDR memory revision" ; \
404 @[ -z "$(findstring 5200,$@)" ] || \
405 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
406 echo "... with MPC5200 processor" ; \
408 @[ -z "$(findstring 5100,$@)" ] || \
409 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
410 echo "... with MGT5100 processor" ; \
412 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
414 v38b_config: unconfig
415 @./mkconfig -a v38b ppc mpc5xxx v38b
417 inka4x0_config: unconfig
418 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
421 lite5200b_LOWBOOT_config: unconfig
422 @mkdir -p $(obj)include
423 @mkdir -p $(obj)board/icecube
424 @ >$(obj)include/config.h
425 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
426 @ echo "... DDR memory revision"
427 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
428 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
429 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
430 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
431 echo "... with LOWBOOT configuration" ; \
433 @ echo "... with MPC5200B processor"
434 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
437 mcc200_SDRAM_config \
438 mcc200_highboot_config \
439 mcc200_COM12_config \
440 mcc200_COM12_SDRAM_config \
441 mcc200_COM12_highboot_config \
442 mcc200_COM12_highboot_SDRAM_config \
443 mcc200_highboot_SDRAM_config \
446 prs200_highboot_config \
447 prs200_highboot_DDR_config: unconfig
448 @mkdir -p $(obj)include
449 @mkdir -p $(obj)board/mcc200
450 @ >$(obj)include/config.h
451 @[ -n "$(findstring highboot,$@)" ] || \
452 { echo "... with lowboot configuration" ; \
454 @[ -z "$(findstring highboot,$@)" ] || \
455 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
456 echo "... with highboot configuration" ; \
458 @[ -n "$(findstring _SDRAM,$@)" ] || \
459 { if [ -n "$(findstring mcc200,$@)" ]; \
461 echo "... with DDR" ; \
463 if [ -n "$(findstring _DDR,$@)" ];\
465 echo "... with DDR" ; \
467 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
468 echo "... with SDRAM" ; \
472 @[ -z "$(findstring _SDRAM,$@)" ] || \
473 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
474 echo "... with SDRAM" ; \
476 @[ -z "$(findstring COM12,$@)" ] || \
477 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
478 echo "... with console on COM12" ; \
480 @[ -z "$(findstring prs200,$@)" ] || \
481 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
483 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
485 mecp5200_config: unconfig
486 @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd
489 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
491 pf5200_config: unconfig
492 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
496 PM520_ROMBOOT_config \
497 PM520_ROMBOOT_DDR_config: unconfig
498 @mkdir -p $(obj)include
499 @ >$(obj)include/config.h
500 @[ -z "$(findstring DDR,$@)" ] || \
501 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
502 echo "... DDR memory revision" ; \
504 @[ -z "$(findstring ROMBOOT,$@)" ] || \
505 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
506 echo "... booting from 8-bit flash" ; \
508 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
510 smmaco4_config: unconfig
511 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
513 spieval_config: unconfig
514 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
517 TB5200_config: unconfig
518 @mkdir -p $(obj)include
519 @[ -z "$(findstring _B,$@)" ] || \
520 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
521 echo "... with MPC5200B processor" ; \
523 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
527 TOP5200_config: unconfig
528 @mkdir -p $(obj)include
529 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
530 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
534 Total5200_lowboot_config \
535 Total5200_Rev2_config \
536 Total5200_Rev2_lowboot_config: unconfig
537 @mkdir -p $(obj)include
538 @mkdir -p $(obj)board/total5200
539 @ >$(obj)include/config.h
540 @[ -z "$(findstring 5100,$@)" ] || \
541 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
542 echo "... with MGT5100 processor" ; \
544 @[ -z "$(findstring 5200,$@)" ] || \
545 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
546 echo "... with MPC5200 processor" ; \
548 @[ -n "$(findstring Rev,$@)" ] || \
549 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
550 echo "... revision 1 board" ; \
552 @[ -z "$(findstring Rev2_,$@)" ] || \
553 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
554 echo "... revision 2 board" ; \
556 @[ -z "$(findstring lowboot_,$@)" ] || \
557 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
558 echo "... with lowboot configuration" ; \
560 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
563 cam5200_niosflash_config \
567 TQM5200S_HIGHBOOT_config \
569 TQM5200_B_HIGHBOOT_config \
571 TQM5200_STK100_config: unconfig
572 @mkdir -p $(obj)include
573 @mkdir -p $(obj)board/tqm5200
574 @ >$(obj)include/config.h
575 @[ -z "$(findstring cam5200,$@)" ] || \
576 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
577 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
578 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
579 echo "... TQM5200S on Cam5200" ; \
581 @[ -z "$(findstring niosflash,$@)" ] || \
582 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
583 echo "... with NIOS flash driver" ; \
585 @[ -z "$(findstring fo300,$@)" ] || \
586 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
587 echo "... TQM5200 on FO300" ; \
589 @[ -z "$(findstring MiniFAP,$@)" ] || \
590 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
591 echo "... TQM5200_AC on MiniFAP" ; \
593 @[ -z "$(findstring STK100,$@)" ] || \
594 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
595 echo "... on a STK52XX.100 base board" ; \
597 @[ -z "$(findstring TQM5200_B,$@)" ] || \
598 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
600 @[ -z "$(findstring TQM5200S,$@)" ] || \
601 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
602 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
604 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
605 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
607 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
608 uc101_config: unconfig
609 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
610 motionpro_config: unconfig
611 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
614 #########################################################################
616 #########################################################################
622 @mkdir -p $(obj)include
623 $(if $(findstring AdderII,$@), \
624 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
625 @$(MKCONFIG) -a Adder ppc mpc8xx adder
632 FADS860T_config: unconfig
633 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
635 AMX860_config : unconfig
636 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
638 c2mon_config: unconfig
639 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
642 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
644 cogent_mpc8xx_config: unconfig
645 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
647 ELPT860_config: unconfig
648 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
650 EP88x_config: unconfig
651 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
653 ESTEEM192E_config: unconfig
654 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
656 ETX094_config : unconfig
657 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
659 FLAGADM_config: unconfig
660 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
662 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
665 GEN860T_config: unconfig
666 @mkdir -p $(obj)include
667 @ >$(obj)include/config.h
668 @[ -z "$(findstring _SC,$@)" ] || \
669 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
670 echo "With reduced H/W feature set (SC)..." ; \
672 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
674 GENIETV_config: unconfig
675 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
678 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
680 hermes_config : unconfig
681 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
683 HMI10_config : unconfig
684 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
686 IAD210_config: unconfig
687 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
689 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
691 ICU862_100MHz_config \
692 ICU862_config: unconfig
693 @mkdir -p $(obj)include
694 @ >$(obj)include/config.h
695 @[ -z "$(findstring _100MHz,$@)" ] || \
696 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
697 echo "... with 100MHz system clock" ; \
699 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
701 IP860_config : unconfig
702 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
706 IVML24_config: unconfig
707 @mkdir -p $(obj)include
708 @ >$(obj)include/config.h
709 @[ -z "$(findstring IVML24_config,$@)" ] || \
710 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
712 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
713 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
715 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
716 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
718 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
722 IVMS8_config: unconfig
723 @mkdir -p $(obj)include
724 @ >$(obj)include/config.h
725 @[ -z "$(findstring IVMS8_config,$@)" ] || \
726 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
728 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
729 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
731 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
732 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
734 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
736 KUP4K_config : unconfig
737 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
739 KUP4X_config : unconfig
740 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
742 LANTEC_config : unconfig
743 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
745 lwmon_config: unconfig
746 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
749 MBX860T_config: unconfig
750 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
752 MHPC_config: unconfig
753 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
755 MVS1_config : unconfig
756 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
758 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
761 NETVIA_config: unconfig
762 @mkdir -p $(obj)include
763 @ >$(obj)include/config.h
764 @[ -z "$(findstring NETVIA_config,$@)" ] || \
765 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
766 echo "... Version 1" ; \
768 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
769 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
770 echo "... Version 2" ; \
772 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
774 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
777 NETPHONE_config: unconfig
778 @mkdir -p $(obj)include
779 @ >$(obj)include/config.h
780 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
781 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
783 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
784 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
786 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
788 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
790 NETTA_ISDN_6412_SWAPHOOK_config \
791 NETTA_ISDN_SWAPHOOK_config \
792 NETTA_6412_SWAPHOOK_config \
793 NETTA_SWAPHOOK_config \
794 NETTA_ISDN_6412_config \
797 NETTA_config: unconfig
798 @mkdir -p $(obj)include
799 @ >$(obj)include/config.h
800 @[ -z "$(findstring ISDN_,$@)" ] || \
801 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
803 @[ -n "$(findstring ISDN_,$@)" ] || \
804 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
806 @[ -z "$(findstring 6412_,$@)" ] || \
807 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
809 @[ -n "$(findstring 6412_,$@)" ] || \
810 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
812 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
813 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
815 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
816 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
818 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
820 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
823 NETTA2_config: unconfig
824 @mkdir -p $(obj)include
825 @ >$(obj)include/config.h
826 @[ -z "$(findstring NETTA2_config,$@)" ] || \
827 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
829 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
830 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
832 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
836 CP850_config: unconfig
837 @mkdir -p $(obj)include
838 @ >$(obj)include/config.h
839 @[ -z "$(findstring CP850,$@)" ] || \
840 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
841 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
843 @[ -z "$(findstring Rev1,$@)" ] || \
844 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
846 @[ -z "$(findstring Rev2,$@)" ] || \
847 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
849 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
851 NX823_config: unconfig
852 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
854 pcu_e_config: unconfig
855 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
857 QS850_config: unconfig
858 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
860 QS823_config: unconfig
861 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
863 QS860T_config: unconfig
864 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
866 quantum_config: unconfig
867 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
869 R360MPI_config: unconfig
870 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
872 RBC823_config: unconfig
873 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
875 RPXClassic_config: unconfig
876 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
878 RPXlite_config: unconfig
879 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
881 RPXlite_DW_64_config \
882 RPXlite_DW_LCD_config \
883 RPXlite_DW_64_LCD_config \
884 RPXlite_DW_NVRAM_config \
885 RPXlite_DW_NVRAM_64_config \
886 RPXlite_DW_NVRAM_LCD_config \
887 RPXlite_DW_NVRAM_64_LCD_config \
888 RPXlite_DW_config: unconfig
889 @mkdir -p $(obj)include
890 @ >$(obj)include/config.h
891 @[ -z "$(findstring _64,$@)" ] || \
892 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
893 echo "... with 64MHz system clock ..."; \
895 @[ -z "$(findstring _LCD,$@)" ] || \
896 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
897 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
898 echo "... with LCD display ..."; \
900 @[ -z "$(findstring _NVRAM,$@)" ] || \
901 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
902 echo "... with ENV in NVRAM ..."; \
904 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
907 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
909 RRvision_config: unconfig
910 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
912 RRvision_LCD_config: unconfig
913 @mkdir -p $(obj)include
914 @echo "#define CONFIG_LCD" >$(obj)include/config.h
915 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
916 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
918 SM850_config : unconfig
919 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
922 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
924 SPD823TS_config: unconfig
925 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
927 stxxtc_config: unconfig
928 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
930 svm_sc8xx_config: unconfig
931 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
933 SXNI855T_config: unconfig
934 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
936 # EMK MPC8xx based modules
937 TOP860_config: unconfig
938 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
940 # Play some tricks for configuration selection
941 # Only 855 and 860 boards may come with FEC
942 # and only 823 boards may have LCD support
943 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
961 virtlab2_config: unconfig
962 @mkdir -p $(obj)include
963 @ >$(obj)include/config.h
964 @[ -z "$(findstring _LCD,$@)" ] || \
965 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
966 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
967 echo "... with LCD display" ; \
969 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
971 TTTech_config: unconfig
972 @mkdir -p $(obj)include
973 @echo "#define CONFIG_LCD" >$(obj)include/config.h
974 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
975 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
977 uc100_config : unconfig
978 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
981 @mkdir -p $(obj)include
982 @echo "#define CONFIG_LCD" >$(obj)include/config.h
983 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
984 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
987 @mkdir -p $(obj)include
988 @echo "#define CONFIG_LCD" >$(obj)include/config.h
989 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
990 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
992 #########################################################################
994 #########################################################################
995 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
997 ADCIOP_config: unconfig
998 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1000 alpr_config: unconfig
1001 @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
1003 AP1000_config:unconfig
1004 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1006 APC405_config: unconfig
1007 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1009 AR405_config: unconfig
1010 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1012 ASH405_config: unconfig
1013 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1015 bamboo_config: unconfig
1016 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1018 bubinga_config: unconfig
1019 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1021 CANBT_config: unconfig
1022 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1025 CATcenter_25_config \
1026 CATcenter_33_config: unconfig
1027 @mkdir -p $(obj)include
1028 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1029 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1030 @[ -z "$(findstring _25,$@)" ] || \
1031 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1032 echo "SysClk = 25MHz" ; \
1034 @[ -z "$(findstring _33,$@)" ] || \
1035 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1036 echo "SysClk = 33MHz" ; \
1038 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1040 CPCI2DP_config: unconfig
1041 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1046 CPCI405AB_config: unconfig
1047 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1048 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1050 CPCI440_config: unconfig
1051 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd
1053 CPCIISER4_config: unconfig
1054 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1056 CRAYL1_config: unconfig
1057 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1059 csb272_config: unconfig
1060 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1062 csb472_config: unconfig
1063 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1065 DASA_SIM_config: unconfig
1066 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1068 DP405_config: unconfig
1069 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1071 DU405_config: unconfig
1072 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1074 ebony_config: unconfig
1075 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1077 ERIC_config: unconfig
1078 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1080 EXBITGEN_config: unconfig
1081 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1083 G2000_config: unconfig
1084 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1086 HH405_config: unconfig
1087 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1089 HUB405_config: unconfig
1090 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1092 JSE_config: unconfig
1093 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1095 KAREF_config: unconfig
1096 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1098 katmai_config: unconfig
1099 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1101 luan_config: unconfig
1102 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1104 METROBOX_config: unconfig
1105 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1107 MIP405_config: unconfig
1108 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1110 MIP405T_config: unconfig
1111 @mkdir -p $(obj)include
1112 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1113 @echo "Enable subset config for MIP405T"
1114 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1116 ML2_config: unconfig
1117 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1119 ml300_config: unconfig
1120 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1122 ocotea_config: unconfig
1123 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1126 ORSG_config: unconfig
1127 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1129 p3p440_config: unconfig
1130 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1132 PCI405_config: unconfig
1133 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1135 pcs440ep_config: unconfig
1136 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1138 PIP405_config: unconfig
1139 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1141 PLU405_config: unconfig
1142 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1144 PMC405_config: unconfig
1145 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1147 PPChameleonEVB_config \
1148 PPChameleonEVB_BA_25_config \
1149 PPChameleonEVB_ME_25_config \
1150 PPChameleonEVB_HI_25_config \
1151 PPChameleonEVB_BA_33_config \
1152 PPChameleonEVB_ME_33_config \
1153 PPChameleonEVB_HI_33_config: unconfig
1154 @mkdir -p $(obj)include
1155 @ >$(obj)include/config.h
1156 @[ -z "$(findstring EVB_BA,$@)" ] || \
1157 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1158 echo "... BASIC model" ; \
1160 @[ -z "$(findstring EVB_ME,$@)" ] || \
1161 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1162 echo "... MEDIUM model" ; \
1164 @[ -z "$(findstring EVB_HI,$@)" ] || \
1165 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1166 echo "... HIGH-END model" ; \
1168 @[ -z "$(findstring _25,$@)" ] || \
1169 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1170 echo "SysClk = 25MHz" ; \
1172 @[ -z "$(findstring _33,$@)" ] || \
1173 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1174 echo "SysClk = 33MHz" ; \
1176 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1178 rainier_config: unconfig
1179 @mkdir -p $(obj)include
1180 @echo "#define CONFIG_RAINIER" > $(obj)include/config.h
1181 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1183 rainier_nand_config: unconfig
1184 @mkdir -p $(obj)include
1185 @mkdir -p $(obj)nand_spl
1186 @mkdir -p $(obj)board/amcc/sequoia
1187 @echo "#define CONFIG_RAINIER" > $(obj)include/config.h
1188 @echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h
1189 @echo "Compile NAND boot image for sequoia"
1190 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1191 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1192 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1194 sbc405_config: unconfig
1195 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1197 sequoia_config: unconfig
1198 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sequoia amcc
1200 sequoia_nand_config: unconfig
1201 @mkdir -p $(obj)include
1202 @mkdir -p $(obj)nand_spl
1203 @mkdir -p $(obj)board/amcc/sequoia
1204 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1205 @echo "Compile NAND boot image for sequoia"
1206 @$(MKCONFIG) -a sequoia ppc ppc4xx sequoia amcc
1207 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1208 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1211 @./mkconfig $(@:_config=) ppc ppc4xx sc3
1213 sycamore_config: unconfig
1214 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1216 taishan_config: unconfig
1217 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1219 VOH405_config: unconfig
1220 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1222 VOM405_config: unconfig
1223 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1225 CMS700_config: unconfig
1226 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1229 W7OLMG_config: unconfig
1230 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1232 walnut_config: unconfig
1233 @$(MKCONFIG) $(@:_config=) ppc ppc4xx walnut amcc
1235 WUH405_config: unconfig
1236 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1238 XPEDITE1K_config: unconfig
1239 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1241 yosemite_config: unconfig
1242 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yosemite amcc
1244 yellowstone_config: unconfig
1245 @mkdir -p $(obj)include
1246 @echo "#define CONFIG_YELLOWSTONE" > $(obj)include/config.h
1247 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1249 yucca_config: unconfig
1250 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1252 #########################################################################
1254 #########################################################################
1257 Yukon8220_config: unconfig
1258 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1260 sorcery_config: unconfig
1261 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1263 #########################################################################
1265 #########################################################################
1266 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1268 A3000_config: unconfig
1269 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1271 barco_config: unconfig
1272 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1274 BMW_config: unconfig
1275 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1278 CPC45_ROMBOOT_config: unconfig
1279 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1280 @cd $(obj)include ; \
1281 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1282 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1283 echo "... booting from 8-bit flash" ; \
1285 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1286 echo "... booting from 64-bit flash" ; \
1288 echo "export CONFIG_BOOT_ROM" >> config.mk;
1290 CU824_config: unconfig
1291 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1293 debris_config: unconfig
1294 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1296 eXalion_config: unconfig
1297 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1299 HIDDEN_DRAGON_config: unconfig
1300 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1302 kvme080_config: unconfig
1303 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1305 MOUSSE_config: unconfig
1306 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1308 MUSENKI_config: unconfig
1309 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1311 MVBLUE_config: unconfig
1312 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1314 OXC_config: unconfig
1315 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1317 PN62_config: unconfig
1318 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1320 Sandpoint8240_config: unconfig
1321 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1323 Sandpoint8245_config: unconfig
1324 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1326 sbc8240_config: unconfig
1327 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1329 SL8245_config: unconfig
1330 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1332 utx8245_config: unconfig
1333 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1335 #########################################################################
1337 #########################################################################
1339 atc_config: unconfig
1340 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1342 cogent_mpc8260_config: unconfig
1343 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1346 CPU86_ROMBOOT_config: unconfig
1347 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1348 @cd $(obj)include ; \
1349 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1350 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1351 echo "... booting from 8-bit flash" ; \
1353 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1354 echo "... booting from 64-bit flash" ; \
1356 echo "export CONFIG_BOOT_ROM" >> config.mk;
1359 CPU87_ROMBOOT_config: unconfig
1360 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1361 @cd $(obj)include ; \
1362 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1363 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1364 echo "... booting from 8-bit flash" ; \
1366 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1367 echo "... booting from 64-bit flash" ; \
1369 echo "export CONFIG_BOOT_ROM" >> config.mk;
1372 ep8248E_config : unconfig
1373 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1375 ep8260_config: unconfig
1376 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1378 ep82xxm_config: unconfig
1379 @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
1381 gw8260_config: unconfig
1382 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1384 hymod_config: unconfig
1385 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1387 IDS8247_config: unconfig
1388 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1390 IPHASE4539_config: unconfig
1391 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1394 ISPAN_REVB_config: unconfig
1395 @mkdir -p $(obj)include
1396 @if [ "$(findstring _REVB_,$@)" ] ; then \
1397 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1399 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1402 MPC8260ADS_lowboot_config \
1403 MPC8260ADS_33MHz_config \
1404 MPC8260ADS_33MHz_lowboot_config \
1405 MPC8260ADS_40MHz_config \
1406 MPC8260ADS_40MHz_lowboot_config \
1408 MPC8272ADS_lowboot_config \
1410 PQ2FADS_lowboot_config \
1412 PQ2FADS-VR_lowboot_config \
1414 PQ2FADS-ZU_lowboot_config \
1415 PQ2FADS-ZU_66MHz_config \
1416 PQ2FADS-ZU_66MHz_lowboot_config \
1418 @mkdir -p $(obj)include
1419 @mkdir -p $(obj)board/mpc8260ads
1420 $(if $(findstring PQ2FADS,$@), \
1421 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1422 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1423 $(if $(findstring MHz,$@), \
1424 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1425 $(if $(findstring VR,$@), \
1426 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1427 @[ -z "$(findstring lowboot_,$@)" ] || \
1428 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1429 echo "... with lowboot configuration" ; \
1431 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1433 MPC8266ADS_config: unconfig
1434 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1436 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1438 PM825_ROMBOOT_config \
1439 PM825_BIGFLASH_config \
1440 PM825_ROMBOOT_BIGFLASH_config \
1442 PM826_ROMBOOT_config \
1443 PM826_BIGFLASH_config \
1444 PM826_ROMBOOT_BIGFLASH_config: unconfig
1445 @mkdir -p $(obj)include
1446 @mkdir -p $(obj)board/pm826
1447 @if [ "$(findstring PM825_,$@)" ] ; then \
1448 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1450 >$(obj)include/config.h ; \
1452 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1453 echo "... booting from 8-bit flash" ; \
1454 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1455 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1456 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1457 echo "... with 32 MB Flash" ; \
1458 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1461 echo "... booting from 64-bit flash" ; \
1462 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1463 echo "... with 32 MB Flash" ; \
1464 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1465 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1467 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1470 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1474 PM828_ROMBOOT_config \
1475 PM828_ROMBOOT_PCI_config: unconfig
1476 @mkdir -p $(obj)include
1477 @mkdir -p $(obj)board/pm826
1478 @if [ "$(findstring _PCI_,$@)" ] ; then \
1479 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1480 echo "... with PCI enabled" ; \
1482 >$(obj)include/config.h ; \
1484 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1485 echo "... booting from 8-bit flash" ; \
1486 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1487 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1489 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1491 ppmc8260_config: unconfig
1492 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1494 Rattler8248_config \
1495 Rattler_config: unconfig
1496 @mkdir -p $(obj)include
1497 $(if $(findstring 8248,$@), \
1498 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1499 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1501 RPXsuper_config: unconfig
1502 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1504 rsdproto_config: unconfig
1505 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1507 sacsng_config: unconfig
1508 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1510 sbc8260_config: unconfig
1511 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1513 SCM_config: unconfig
1514 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1526 TQM8265_AA_config: unconfig
1527 @mkdir -p $(obj)include
1529 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1530 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1531 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1532 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1533 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1534 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1535 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1536 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1537 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1538 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1539 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1541 >$(obj)include/config.h ; \
1542 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1543 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1545 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1546 echo "... with $${CFREQ}MHz system clock" ; \
1547 if [ "$${CACHE}" == "yes" ] ; then \
1548 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1549 echo "... with L2 Cache support" ; \
1551 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1552 echo "... without L2 Cache support" ; \
1554 if [ "$${BMODE}" == "60x" ] ; then \
1555 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1556 echo "... with 60x Bus Mode" ; \
1558 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1559 echo "... without 60x Bus Mode" ; \
1561 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1563 TQM8272_config: unconfig
1564 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1566 VoVPN-GW_66MHz_config \
1567 VoVPN-GW_100MHz_config: unconfig
1568 @mkdir -p $(obj)include
1569 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1570 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1572 ZPC1900_config: unconfig
1573 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1575 #########################################################################
1577 #########################################################################
1579 cobra5272_config : unconfig
1580 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1582 EB+MCF-EV123_config : unconfig
1583 @mkdir -p $(obj)include
1584 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1585 @ >$(obj)include/config.h
1586 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1587 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1589 EB+MCF-EV123_internal_config : unconfig
1590 @mkdir -p $(obj)include
1591 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1592 @ >$(obj)include/config.h
1593 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1594 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1596 idmr_config : unconfig
1597 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1599 M5271EVB_config : unconfig
1600 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1602 M5272C3_config : unconfig
1603 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1605 M5282EVB_config : unconfig
1606 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1608 TASREG_config : unconfig
1609 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1611 r5200_config : unconfig
1612 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1614 #########################################################################
1616 #########################################################################
1618 MPC832XEMDS_config \
1619 MPC832XEMDS_HOST_33_config \
1620 MPC832XEMDS_HOST_66_config \
1621 MPC832XEMDS_SLAVE_config: unconfig
1622 @echo "" >include/config.h ; \
1623 if [ "$(findstring _HOST_,$@)" ] ; then \
1624 echo -n "... PCI HOST " ; \
1625 echo "#define CONFIG_PCI" >>include/config.h ; \
1627 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1628 echo "...PCI SLAVE 66M" ; \
1629 echo "#define CONFIG_PCI" >>include/config.h ; \
1630 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1632 if [ "$(findstring _33_,$@)" ] ; then \
1633 echo -n "...33M ..." ; \
1634 echo "#define PCI_33M" >>include/config.h ; \
1636 if [ "$(findstring _66_,$@)" ] ; then \
1637 echo -n "...66M..." ; \
1638 echo "#define PCI_66M" >>include/config.h ; \
1640 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
1642 MPC8349EMDS_config: unconfig
1643 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
1646 MPC8349ITX_LOWBOOT_config \
1647 MPC8349ITXGP_config: unconfig
1648 @mkdir -p $(obj)include
1649 @mkdir -p $(obj)board/mpc8349itx
1650 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1651 @if [ "$(findstring GP,$@)" ] ; then \
1652 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1654 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1655 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1657 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx
1659 MPC8360EMDS_config \
1660 MPC8360EMDS_HOST_33_config \
1661 MPC8360EMDS_HOST_66_config \
1662 MPC8360EMDS_SLAVE_config: unconfig
1663 @echo "" >include/config.h ; \
1664 if [ "$(findstring _HOST_,$@)" ] ; then \
1665 echo -n "... PCI HOST " ; \
1666 echo "#define CONFIG_PCI" >>include/config.h ; \
1668 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1669 echo "...PCI SLAVE 66M" ; \
1670 echo "#define CONFIG_PCI" >>include/config.h ; \
1671 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1673 if [ "$(findstring _33_,$@)" ] ; then \
1674 echo -n "...33M ..." ; \
1675 echo "#define PCI_33M" >>include/config.h ; \
1677 if [ "$(findstring _66_,$@)" ] ; then \
1678 echo -n "...66M..." ; \
1679 echo "#define PCI_66M" >>include/config.h ; \
1681 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1683 sbc8349_config: unconfig
1684 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1686 TQM834x_config: unconfig
1687 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1690 #########################################################################
1692 #########################################################################
1694 MPC8540ADS_config: unconfig
1695 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
1697 MPC8540EVAL_config \
1698 MPC8540EVAL_33_config \
1699 MPC8540EVAL_66_config \
1700 MPC8540EVAL_33_slave_config \
1701 MPC8540EVAL_66_slave_config: unconfig
1702 @mkdir -p $(obj)include
1703 @echo "" >$(obj)include/config.h ; \
1704 if [ "$(findstring _33_,$@)" ] ; then \
1705 echo -n "... 33 MHz PCI" ; \
1707 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1708 echo -n "... 66 MHz PCI" ; \
1710 if [ "$(findstring _slave_,$@)" ] ; then \
1711 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
1716 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1718 MPC8560ADS_config: unconfig
1719 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
1721 MPC8541CDS_config: unconfig
1722 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
1724 MPC8548CDS_config: unconfig
1725 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
1727 MPC8555CDS_config: unconfig
1728 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
1730 PM854_config: unconfig
1731 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
1733 PM856_config: unconfig
1734 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
1738 sbc8540_66_config: unconfig
1739 @mkdir -p $(obj)include
1740 @if [ "$(findstring _66_,$@)" ] ; then \
1741 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1742 echo "... 66 MHz PCI" ; \
1744 >$(obj)include/config.h ; \
1745 echo "... 33 MHz PCI" ; \
1747 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
1751 sbc8560_66_config: unconfig
1752 @mkdir -p $(obj)include
1753 @if [ "$(findstring _66_,$@)" ] ; then \
1754 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1755 echo "... 66 MHz PCI" ; \
1757 >$(obj)include/config.h ; \
1758 echo "... 33 MHz PCI" ; \
1760 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
1762 stxgp3_config: unconfig
1763 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
1768 TQM8560_config: unconfig
1769 @mkdir -p $(obj)include
1770 @CTYPE=$(subst TQM,,$(@:_config=)); \
1771 >$(obj)include/config.h ; \
1772 echo "... TQM"$${CTYPE}; \
1773 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1774 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1775 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1776 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1777 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1778 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
1780 #########################################################################
1782 #########################################################################
1784 MPC8641HPCN_config: unconfig
1785 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1788 #########################################################################
1790 #########################################################################
1792 AmigaOneG3SE_config: unconfig
1793 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
1795 BAB7xx_config: unconfig
1796 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
1798 CPCI750_config: unconfig
1799 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
1801 DB64360_config: unconfig
1802 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
1804 DB64460_config: unconfig
1805 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
1807 ELPPC_config: unconfig
1808 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
1811 EVB64260_750CX_config: unconfig
1812 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
1814 P3G4_config: unconfig
1815 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1818 p3m7448_config: unconfig
1819 @mkdir -p $(obj)include
1820 @if [ "$(findstring 750_,$@)" ] ; then \
1821 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1823 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1825 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1828 PCIPPC6_config: unconfig
1829 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
1831 ZUMA_config: unconfig
1832 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1834 ppmc7xx_config: unconfig
1835 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
1837 #========================================================================
1839 #========================================================================
1840 #########################################################################
1841 ## StrongARM Systems
1842 #########################################################################
1844 assabet_config : unconfig
1845 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
1847 dnp1110_config : unconfig
1848 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
1850 gcplus_config : unconfig
1851 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
1853 lart_config : unconfig
1854 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
1856 shannon_config : unconfig
1857 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
1859 #########################################################################
1861 #########################################################################
1863 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
1865 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
1867 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1869 at91rm9200dk_config : unconfig
1870 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
1872 cmc_pu2_config : unconfig
1873 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
1875 csb637_config : unconfig
1876 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
1878 mp2usb_config : unconfig
1879 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
1882 ########################################################################
1883 ## ARM Integrator boards - see doc/README-integrator for more info.
1884 integratorap_config \
1893 ap946es_config: unconfig
1894 @board/integratorap/split_by_variant.sh $@
1896 integratorcp_config \
1905 cp1026_config: unconfig
1906 @board/integratorcp/split_by_variant.sh $@
1908 kb9202_config : unconfig
1909 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
1912 lpd7a404_config: unconfig
1913 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
1915 mx1ads_config : unconfig
1916 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
1918 mx1fs2_config : unconfig
1919 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
1922 netstar_config: unconfig
1923 @mkdir -p $(obj)include
1924 @if [ "$(findstring _32_,$@)" ] ; then \
1925 echo "... 32MB SDRAM" ; \
1926 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
1928 echo "... 64MB SDRAM" ; \
1929 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
1931 @$(MKCONFIG) -a netstar arm arm925t netstar
1933 omap1510inn_config : unconfig
1934 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
1936 omap5912osk_config : unconfig
1937 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1939 omap1610inn_config \
1940 omap1610inn_cs0boot_config \
1941 omap1610inn_cs3boot_config \
1942 omap1610inn_cs_autoboot_config \
1944 omap1610h2_cs0boot_config \
1945 omap1610h2_cs3boot_config \
1946 omap1610h2_cs_autoboot_config: unconfig
1947 @mkdir -p $(obj)include
1948 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1949 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
1950 echo "... configured for CS0 boot"; \
1951 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
1952 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
1953 echo "... configured for CS_AUTO boot"; \
1955 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
1956 echo "... configured for CS3 boot"; \
1958 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
1961 omap730p2_cs0boot_config \
1962 omap730p2_cs3boot_config : unconfig
1963 @mkdir -p $(obj)include
1964 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1965 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
1966 echo "... configured for CS0 boot"; \
1968 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
1969 echo "... configured for CS3 boot"; \
1971 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
1973 sbc2410x_config: unconfig
1974 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
1976 scb9328_config : unconfig
1977 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
1979 smdk2400_config : unconfig
1980 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
1982 smdk2410_config : unconfig
1983 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
1985 SX1_config : unconfig
1986 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
1988 # TRAB default configuration: 8 MB Flash, 32 MB RAM
1990 trab_bigram_config \
1991 trab_bigflash_config \
1992 trab_old_config: unconfig
1993 @mkdir -p $(obj)include
1994 @mkdir -p $(obj)board/trab
1995 @ >$(obj)include/config.h
1996 @[ -z "$(findstring _bigram,$@)" ] || \
1997 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
1998 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
1999 echo "... with 8 MB Flash, 32 MB RAM" ; \
2001 @[ -z "$(findstring _bigflash,$@)" ] || \
2002 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2003 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2004 echo "... with 16 MB Flash, 16 MB RAM" ; \
2005 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2007 @[ -z "$(findstring _old,$@)" ] || \
2008 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2009 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2010 echo "... with 8 MB Flash, 16 MB RAM" ; \
2011 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2013 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2015 VCMA9_config : unconfig
2016 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2018 #========================================================================
2019 # ARM supplied Versatile development boards
2020 #========================================================================
2022 versatileab_config \
2023 versatilepb_config : unconfig
2024 @board/versatile/split_by_variant.sh $@
2026 voiceblue_smallflash_config \
2027 voiceblue_config: unconfig
2028 @mkdir -p $(obj)include
2029 @mkdir -p $(obj)board/voiceblue
2030 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2031 echo "... boot from lower flash bank" ; \
2032 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2033 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2035 echo "... boot from upper flash bank" ; \
2036 >$(obj)include/config.h ; \
2037 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2039 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2041 cm4008_config : unconfig
2042 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2044 cm41xx_config : unconfig
2045 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2047 gth2_config : unconfig
2048 @mkdir -p $(obj)include
2049 @ >$(obj)include/config.h
2050 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2051 @$(MKCONFIG) -a gth2 mips mips gth2
2053 #########################################################################
2055 #########################################################################
2057 B2_config : unconfig
2058 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2060 #########################################################################
2062 #########################################################################
2064 armadillo_config: unconfig
2065 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2067 ep7312_config : unconfig
2068 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2070 impa7_config : unconfig
2071 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2073 modnet50_config : unconfig
2074 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2076 evb4510_config : unconfig
2077 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2079 lpc2292sodimm_config: unconfig
2080 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2082 #########################################################################
2084 #########################################################################
2086 adsvix_config : unconfig
2087 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2089 cerf250_config : unconfig
2090 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2092 cradle_config : unconfig
2093 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2095 csb226_config : unconfig
2096 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2099 @$(MKCONFIG) $(@:_config=) arm pxa delta
2101 innokom_config : unconfig
2102 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2104 ixdp425_config : unconfig
2105 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2107 ixdpg425_config : unconfig
2108 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2110 lubbock_config : unconfig
2111 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2113 pleb2_config : unconfig
2114 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2116 logodl_config : unconfig
2117 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2120 scpu_config: unconfig
2121 @if [ "$(findstring scpu_,$@)" ] ; then \
2122 echo "#define CONFIG_SCPU" >>include/config.h ; \
2123 echo "... on SCPU board variant" ; \
2125 >include/config.h ; \
2127 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2129 pxa255_idp_config: unconfig
2130 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2132 wepep250_config : unconfig
2133 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2135 xaeniax_config : unconfig
2136 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2138 xm250_config : unconfig
2139 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2141 xsengine_config : unconfig
2142 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2145 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2147 #########################################################################
2149 #########################################################################
2150 omap2420h4_config : unconfig
2151 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2153 #========================================================================
2155 #========================================================================
2156 #########################################################################
2158 #########################################################################
2159 sc520_cdp_config : unconfig
2160 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2162 sc520_spunk_config : unconfig
2163 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2165 sc520_spunk_rel_config : unconfig
2166 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2168 #========================================================================
2170 #========================================================================
2171 #########################################################################
2173 #########################################################################
2175 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2177 incaip_100MHz_config \
2178 incaip_133MHz_config \
2179 incaip_150MHz_config \
2180 incaip_config: unconfig
2181 @mkdir -p $(obj)include
2182 @ >$(obj)include/config.h
2183 @[ -z "$(findstring _100MHz,$@)" ] || \
2184 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2185 echo "... with 100MHz system clock" ; \
2187 @[ -z "$(findstring _133MHz,$@)" ] || \
2188 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2189 echo "... with 133MHz system clock" ; \
2191 @[ -z "$(findstring _150MHz,$@)" ] || \
2192 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2193 echo "... with 150MHz system clock" ; \
2195 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2197 tb0229_config: unconfig
2198 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2200 #########################################################################
2202 #########################################################################
2203 dbau1000_config : unconfig
2204 @mkdir -p $(obj)include
2205 @ >$(obj)include/config.h
2206 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2207 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2209 dbau1100_config : unconfig
2210 @mkdir -p $(obj)include
2211 @ >$(obj)include/config.h
2212 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2213 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2215 dbau1500_config : unconfig
2216 @mkdir -p $(obj)include
2217 @ >$(obj)include/config.h
2218 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2219 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2221 dbau1550_config : unconfig
2222 @mkdir -p $(obj)include
2223 @ >$(obj)include/config.h
2224 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2225 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2227 dbau1550_el_config : unconfig
2228 @mkdir -p $(obj)include
2229 @ >$(obj)include/config.h
2230 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2231 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2233 pb1000_config : unconfig
2234 @mkdir -p $(obj)include
2235 @ >$(obj)include/config.h
2236 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2237 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2239 #########################################################################
2241 #########################################################################
2243 purple_config : unconfig
2244 @$(MKCONFIG) $(@:_config=) mips mips purple
2246 #========================================================================
2248 #========================================================================
2249 #########################################################################
2251 #########################################################################
2253 DK1C20_safe_32_config \
2254 DK1C20_standard_32_config \
2255 DK1C20_config: unconfig
2256 @mkdir -p $(obj)include
2257 @ >$(obj)include/config.h
2258 @[ -z "$(findstring _safe_32,$@)" ] || \
2259 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2260 echo "... NIOS 'safe_32' configuration" ; \
2262 @[ -z "$(findstring _standard_32,$@)" ] || \
2263 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2264 echo "... NIOS 'standard_32' configuration" ; \
2266 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2267 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2268 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2270 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2272 DK1S10_safe_32_config \
2273 DK1S10_standard_32_config \
2274 DK1S10_mtx_ldk_20_config \
2275 DK1S10_config: unconfig
2276 @mkdir -p $(obj)include
2277 @ >$(obj)include/config.h
2278 @[ -z "$(findstring _safe_32,$@)" ] || \
2279 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2280 echo "... NIOS 'safe_32' configuration" ; \
2282 @[ -z "$(findstring _standard_32,$@)" ] || \
2283 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2284 echo "... NIOS 'standard_32' configuration" ; \
2286 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2287 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2288 echo "... NIOS 'mtx_ldk_20' configuration" ; \
2290 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2291 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2292 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2294 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2296 ADNPESC1_DNPEVA2_base_32_config \
2297 ADNPESC1_base_32_config \
2298 ADNPESC1_config: unconfig
2299 @mkdir -p $(obj)include
2300 @ >$(obj)include/config.h
2301 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2302 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2303 echo "... DNP/EVA2 configuration" ; \
2305 @[ -z "$(findstring _base_32,$@)" ] || \
2306 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2307 echo "... NIOS 'base_32' configuration" ; \
2309 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2310 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2311 echo "... NIOS 'base_32' configuration (DEFAULT)" ; \
2313 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2315 #########################################################################
2317 #########################################################################
2319 EP1C20_config : unconfig
2320 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2322 EP1S10_config : unconfig
2323 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2325 EP1S40_config : unconfig
2326 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2328 PK1C20_config : unconfig
2329 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2331 PCI5441_config : unconfig
2332 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2334 #========================================================================
2336 #========================================================================
2337 #########################################################################
2339 #########################################################################
2340 suzaku_config: unconfig
2341 @mkdir -p $(obj)include
2342 @ >$(obj)include/config.h
2343 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2344 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2346 #########################################################################
2348 #########################################################################
2349 ezkit533_config : unconfig
2350 @$(MKCONFIG) $(@:_config=) blackfin bf533 ezkit533
2352 stamp_config : unconfig
2353 @$(MKCONFIG) $(@:_config=) blackfin bf533 stamp
2355 dspstamp_config : unconfig
2356 @$(MKCONFIG) $(@:_config=) blackfin bf533 dsp_stamp
2358 #========================================================================
2360 #========================================================================
2361 #########################################################################
2363 #########################################################################
2365 atstk1002_config : unconfig
2366 @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
2368 #########################################################################
2369 #########################################################################
2370 #########################################################################
2373 find $(OBJTREE) -type f \
2374 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2375 -o -name '*.o' -o -name '*.a' \) -print \
2377 rm -f $(obj)examples/hello_world $(obj)examples/timer \
2378 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2379 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2380 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2381 $(obj)examples/test_burst
2382 rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2383 $(obj)tools/gen_eth_addr
2384 rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2385 rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2386 rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2387 rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2388 rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2389 rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2390 rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2391 rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2392 rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2393 rm -f $(obj)include/bmp_logo.h
2394 rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2397 find $(OBJTREE) -type f \( -name .depend \
2398 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2401 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
2403 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2404 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
2405 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2406 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2407 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2409 ifeq ($(OBJTREE),$(SRCTREE))
2411 distclean: clobber unconfig
2414 distclean: clobber unconfig
2419 F=`basename $(TOPDIR)` ; cd .. ; \
2420 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2422 #########################################################################