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 TQM834x_config: unconfig
1619 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1621 MPC8349EMDS_config: unconfig
1622 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
1624 MPC8360EMDS_config \
1625 MPC8360EMDS_HOST_33_config \
1626 MPC8360EMDS_HOST_66_config \
1627 MPC8360EMDS_SLAVE_config: unconfig
1628 @echo "" >include/config.h ; \
1629 if [ "$(findstring _HOST_,$@)" ] ; then \
1630 echo -n "... PCI HOST " ; \
1631 echo "#define CONFIG_PCI" >>include/config.h ; \
1633 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1634 echo "...PCI SLAVE 66M" ; \
1635 echo "#define CONFIG_PCI" >>include/config.h ; \
1636 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1638 if [ "$(findstring _33_,$@)" ] ; then \
1639 echo -n "...33M ..." ; \
1640 echo "#define PCI_33M" >>include/config.h ; \
1642 if [ "$(findstring _66_,$@)" ] ; then \
1643 echo -n "...66M..." ; \
1644 echo "#define PCI_66M" >>include/config.h ; \
1646 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1648 MPC8349ITX_config: unconfig
1649 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349itx
1651 sbc8349_config: unconfig
1652 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1654 MPC832XEMDS_config \
1655 MPC832XEMDS_HOST_33_config \
1656 MPC832XEMDS_HOST_66_config \
1657 MPC832XEMDS_SLAVE_config: unconfig
1658 @echo "" >include/config.h ; \
1659 if [ "$(findstring _HOST_,$@)" ] ; then \
1660 echo -n "... PCI HOST " ; \
1661 echo "#define CONFIG_PCI" >>include/config.h ; \
1663 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1664 echo "...PCI SLAVE 66M" ; \
1665 echo "#define CONFIG_PCI" >>include/config.h ; \
1666 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1668 if [ "$(findstring _33_,$@)" ] ; then \
1669 echo -n "...33M ..." ; \
1670 echo "#define PCI_33M" >>include/config.h ; \
1672 if [ "$(findstring _66_,$@)" ] ; then \
1673 echo -n "...66M..." ; \
1674 echo "#define PCI_66M" >>include/config.h ; \
1676 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
1678 #########################################################################
1680 #########################################################################
1682 MPC8540ADS_config: unconfig
1683 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
1685 MPC8540EVAL_config \
1686 MPC8540EVAL_33_config \
1687 MPC8540EVAL_66_config \
1688 MPC8540EVAL_33_slave_config \
1689 MPC8540EVAL_66_slave_config: unconfig
1690 @mkdir -p $(obj)include
1691 @echo "" >$(obj)include/config.h ; \
1692 if [ "$(findstring _33_,$@)" ] ; then \
1693 echo -n "... 33 MHz PCI" ; \
1695 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1696 echo -n "... 66 MHz PCI" ; \
1698 if [ "$(findstring _slave_,$@)" ] ; then \
1699 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
1704 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1706 MPC8560ADS_config: unconfig
1707 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
1709 MPC8541CDS_config: unconfig
1710 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
1712 MPC8548CDS_config: unconfig
1713 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
1715 MPC8555CDS_config: unconfig
1716 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
1718 PM854_config: unconfig
1719 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
1721 PM856_config: unconfig
1722 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
1726 sbc8540_66_config: unconfig
1727 @mkdir -p $(obj)include
1728 @if [ "$(findstring _66_,$@)" ] ; then \
1729 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1730 echo "... 66 MHz PCI" ; \
1732 >$(obj)include/config.h ; \
1733 echo "... 33 MHz PCI" ; \
1735 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
1739 sbc8560_66_config: unconfig
1740 @mkdir -p $(obj)include
1741 @if [ "$(findstring _66_,$@)" ] ; then \
1742 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1743 echo "... 66 MHz PCI" ; \
1745 >$(obj)include/config.h ; \
1746 echo "... 33 MHz PCI" ; \
1748 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
1750 stxgp3_config: unconfig
1751 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
1756 TQM8560_config: unconfig
1757 @mkdir -p $(obj)include
1758 @CTYPE=$(subst TQM,,$(@:_config=)); \
1759 >$(obj)include/config.h ; \
1760 echo "... TQM"$${CTYPE}; \
1761 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1762 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1763 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1764 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1765 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1766 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
1768 #########################################################################
1770 #########################################################################
1772 MPC8641HPCN_config: unconfig
1773 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1776 #########################################################################
1778 #########################################################################
1780 AmigaOneG3SE_config: unconfig
1781 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
1783 BAB7xx_config: unconfig
1784 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
1786 CPCI750_config: unconfig
1787 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
1789 DB64360_config: unconfig
1790 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
1792 DB64460_config: unconfig
1793 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
1795 ELPPC_config: unconfig
1796 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
1799 EVB64260_750CX_config: unconfig
1800 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
1802 P3G4_config: unconfig
1803 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1806 p3m7448_config: unconfig
1807 @mkdir -p $(obj)include
1808 @if [ "$(findstring 750_,$@)" ] ; then \
1809 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1811 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1813 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1816 PCIPPC6_config: unconfig
1817 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
1819 ZUMA_config: unconfig
1820 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1822 ppmc7xx_config: unconfig
1823 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
1825 #========================================================================
1827 #========================================================================
1828 #########################################################################
1829 ## StrongARM Systems
1830 #########################################################################
1832 assabet_config : unconfig
1833 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
1835 dnp1110_config : unconfig
1836 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
1838 gcplus_config : unconfig
1839 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
1841 lart_config : unconfig
1842 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
1844 shannon_config : unconfig
1845 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
1847 #########################################################################
1849 #########################################################################
1851 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
1853 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
1855 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1857 at91rm9200dk_config : unconfig
1858 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
1860 cmc_pu2_config : unconfig
1861 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
1863 csb637_config : unconfig
1864 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
1866 mp2usb_config : unconfig
1867 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
1870 ########################################################################
1871 ## ARM Integrator boards - see doc/README-integrator for more info.
1872 integratorap_config \
1881 ap946es_config: unconfig
1882 @board/integratorap/split_by_variant.sh $@
1884 integratorcp_config \
1893 cp1026_config: unconfig
1894 @board/integratorcp/split_by_variant.sh $@
1896 kb9202_config : unconfig
1897 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
1900 lpd7a404_config: unconfig
1901 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
1903 mx1ads_config : unconfig
1904 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
1906 mx1fs2_config : unconfig
1907 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
1910 netstar_config: unconfig
1911 @mkdir -p $(obj)include
1912 @if [ "$(findstring _32_,$@)" ] ; then \
1913 echo "... 32MB SDRAM" ; \
1914 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
1916 echo "... 64MB SDRAM" ; \
1917 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
1919 @$(MKCONFIG) -a netstar arm arm925t netstar
1921 omap1510inn_config : unconfig
1922 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
1924 omap5912osk_config : unconfig
1925 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1927 omap1610inn_config \
1928 omap1610inn_cs0boot_config \
1929 omap1610inn_cs3boot_config \
1930 omap1610inn_cs_autoboot_config \
1932 omap1610h2_cs0boot_config \
1933 omap1610h2_cs3boot_config \
1934 omap1610h2_cs_autoboot_config: unconfig
1935 @mkdir -p $(obj)include
1936 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1937 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
1938 echo "... configured for CS0 boot"; \
1939 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
1940 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
1941 echo "... configured for CS_AUTO boot"; \
1943 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
1944 echo "... configured for CS3 boot"; \
1946 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
1949 omap730p2_cs0boot_config \
1950 omap730p2_cs3boot_config : unconfig
1951 @mkdir -p $(obj)include
1952 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1953 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
1954 echo "... configured for CS0 boot"; \
1956 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
1957 echo "... configured for CS3 boot"; \
1959 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
1961 sbc2410x_config: unconfig
1962 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
1964 scb9328_config : unconfig
1965 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
1967 smdk2400_config : unconfig
1968 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
1970 smdk2410_config : unconfig
1971 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
1973 SX1_config : unconfig
1974 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
1976 # TRAB default configuration: 8 MB Flash, 32 MB RAM
1978 trab_bigram_config \
1979 trab_bigflash_config \
1980 trab_old_config: unconfig
1981 @mkdir -p $(obj)include
1982 @mkdir -p $(obj)board/trab
1983 @ >$(obj)include/config.h
1984 @[ -z "$(findstring _bigram,$@)" ] || \
1985 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
1986 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
1987 echo "... with 8 MB Flash, 32 MB RAM" ; \
1989 @[ -z "$(findstring _bigflash,$@)" ] || \
1990 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
1991 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
1992 echo "... with 16 MB Flash, 16 MB RAM" ; \
1993 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
1995 @[ -z "$(findstring _old,$@)" ] || \
1996 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
1997 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
1998 echo "... with 8 MB Flash, 16 MB RAM" ; \
1999 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2001 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2003 VCMA9_config : unconfig
2004 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2006 #========================================================================
2007 # ARM supplied Versatile development boards
2008 #========================================================================
2010 versatileab_config \
2011 versatilepb_config : unconfig
2012 @board/versatile/split_by_variant.sh $@
2014 voiceblue_smallflash_config \
2015 voiceblue_config: unconfig
2016 @mkdir -p $(obj)include
2017 @mkdir -p $(obj)board/voiceblue
2018 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2019 echo "... boot from lower flash bank" ; \
2020 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2021 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2023 echo "... boot from upper flash bank" ; \
2024 >$(obj)include/config.h ; \
2025 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2027 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2029 cm4008_config : unconfig
2030 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2032 cm41xx_config : unconfig
2033 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2035 gth2_config : unconfig
2036 @mkdir -p $(obj)include
2037 @ >$(obj)include/config.h
2038 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2039 @$(MKCONFIG) -a gth2 mips mips gth2
2041 #########################################################################
2043 #########################################################################
2045 B2_config : unconfig
2046 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2048 #########################################################################
2050 #########################################################################
2052 armadillo_config: unconfig
2053 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2055 ep7312_config : unconfig
2056 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2058 impa7_config : unconfig
2059 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2061 modnet50_config : unconfig
2062 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2064 evb4510_config : unconfig
2065 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2067 lpc2292sodimm_config: unconfig
2068 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2070 #########################################################################
2072 #########################################################################
2074 adsvix_config : unconfig
2075 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2077 cerf250_config : unconfig
2078 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2080 cradle_config : unconfig
2081 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2083 csb226_config : unconfig
2084 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2087 @$(MKCONFIG) $(@:_config=) arm pxa delta
2089 innokom_config : unconfig
2090 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2092 ixdp425_config : unconfig
2093 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2095 ixdpg425_config : unconfig
2096 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2098 lubbock_config : unconfig
2099 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2101 pleb2_config : unconfig
2102 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2104 logodl_config : unconfig
2105 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2108 scpu_config: unconfig
2109 @if [ "$(findstring scpu_,$@)" ] ; then \
2110 echo "#define CONFIG_SCPU" >>include/config.h ; \
2111 echo "... on SCPU board variant" ; \
2113 >include/config.h ; \
2115 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2117 pxa255_idp_config: unconfig
2118 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2120 wepep250_config : unconfig
2121 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2123 xaeniax_config : unconfig
2124 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2126 xm250_config : unconfig
2127 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2129 xsengine_config : unconfig
2130 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2133 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2135 #########################################################################
2137 #########################################################################
2138 omap2420h4_config : unconfig
2139 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2141 #========================================================================
2143 #========================================================================
2144 #########################################################################
2146 #########################################################################
2147 sc520_cdp_config : unconfig
2148 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2150 sc520_spunk_config : unconfig
2151 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2153 sc520_spunk_rel_config : unconfig
2154 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2156 #========================================================================
2158 #========================================================================
2159 #########################################################################
2161 #########################################################################
2163 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2165 incaip_100MHz_config \
2166 incaip_133MHz_config \
2167 incaip_150MHz_config \
2168 incaip_config: unconfig
2169 @mkdir -p $(obj)include
2170 @ >$(obj)include/config.h
2171 @[ -z "$(findstring _100MHz,$@)" ] || \
2172 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2173 echo "... with 100MHz system clock" ; \
2175 @[ -z "$(findstring _133MHz,$@)" ] || \
2176 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2177 echo "... with 133MHz system clock" ; \
2179 @[ -z "$(findstring _150MHz,$@)" ] || \
2180 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2181 echo "... with 150MHz system clock" ; \
2183 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2185 tb0229_config: unconfig
2186 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2188 #########################################################################
2190 #########################################################################
2191 dbau1000_config : unconfig
2192 @mkdir -p $(obj)include
2193 @ >$(obj)include/config.h
2194 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2195 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2197 dbau1100_config : unconfig
2198 @mkdir -p $(obj)include
2199 @ >$(obj)include/config.h
2200 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2201 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2203 dbau1500_config : unconfig
2204 @mkdir -p $(obj)include
2205 @ >$(obj)include/config.h
2206 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2207 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2209 dbau1550_config : unconfig
2210 @mkdir -p $(obj)include
2211 @ >$(obj)include/config.h
2212 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2213 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2215 dbau1550_el_config : unconfig
2216 @mkdir -p $(obj)include
2217 @ >$(obj)include/config.h
2218 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2219 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2221 pb1000_config : unconfig
2222 @mkdir -p $(obj)include
2223 @ >$(obj)include/config.h
2224 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2225 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2227 #########################################################################
2229 #########################################################################
2231 purple_config : unconfig
2232 @$(MKCONFIG) $(@:_config=) mips mips purple
2234 #========================================================================
2236 #========================================================================
2237 #########################################################################
2239 #########################################################################
2241 DK1C20_safe_32_config \
2242 DK1C20_standard_32_config \
2243 DK1C20_config: unconfig
2244 @mkdir -p $(obj)include
2245 @ >$(obj)include/config.h
2246 @[ -z "$(findstring _safe_32,$@)" ] || \
2247 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2248 echo "... NIOS 'safe_32' configuration" ; \
2250 @[ -z "$(findstring _standard_32,$@)" ] || \
2251 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2252 echo "... NIOS 'standard_32' configuration" ; \
2254 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2255 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2256 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2258 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2260 DK1S10_safe_32_config \
2261 DK1S10_standard_32_config \
2262 DK1S10_mtx_ldk_20_config \
2263 DK1S10_config: unconfig
2264 @mkdir -p $(obj)include
2265 @ >$(obj)include/config.h
2266 @[ -z "$(findstring _safe_32,$@)" ] || \
2267 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2268 echo "... NIOS 'safe_32' configuration" ; \
2270 @[ -z "$(findstring _standard_32,$@)" ] || \
2271 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2272 echo "... NIOS 'standard_32' configuration" ; \
2274 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2275 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2276 echo "... NIOS 'mtx_ldk_20' configuration" ; \
2278 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2279 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2280 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2282 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2284 ADNPESC1_DNPEVA2_base_32_config \
2285 ADNPESC1_base_32_config \
2286 ADNPESC1_config: unconfig
2287 @mkdir -p $(obj)include
2288 @ >$(obj)include/config.h
2289 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2290 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2291 echo "... DNP/EVA2 configuration" ; \
2293 @[ -z "$(findstring _base_32,$@)" ] || \
2294 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2295 echo "... NIOS 'base_32' configuration" ; \
2297 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2298 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2299 echo "... NIOS 'base_32' configuration (DEFAULT)" ; \
2301 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2303 #########################################################################
2305 #########################################################################
2307 EP1C20_config : unconfig
2308 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2310 EP1S10_config : unconfig
2311 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2313 EP1S40_config : unconfig
2314 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2316 PK1C20_config : unconfig
2317 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2319 PCI5441_config : unconfig
2320 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2322 #========================================================================
2324 #========================================================================
2325 #########################################################################
2327 #########################################################################
2328 suzaku_config: unconfig
2329 @mkdir -p $(obj)include
2330 @ >$(obj)include/config.h
2331 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2332 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2334 #########################################################################
2336 #########################################################################
2337 ezkit533_config : unconfig
2338 @$(MKCONFIG) $(@:_config=) blackfin bf533 ezkit533
2340 stamp_config : unconfig
2341 @$(MKCONFIG) $(@:_config=) blackfin bf533 stamp
2343 dspstamp_config : unconfig
2344 @$(MKCONFIG) $(@:_config=) blackfin bf533 dsp_stamp
2346 #========================================================================
2348 #========================================================================
2349 #########################################################################
2351 #########################################################################
2353 atstk1002_config : unconfig
2354 @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
2356 #########################################################################
2357 #########################################################################
2358 #########################################################################
2361 find $(OBJTREE) -type f \
2362 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2363 -o -name '*.o' -o -name '*.a' \) -print \
2365 rm -f $(obj)examples/hello_world $(obj)examples/timer \
2366 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2367 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2368 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2369 $(obj)examples/test_burst
2370 rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2371 $(obj)tools/gen_eth_addr
2372 rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2373 rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2374 rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2375 rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2376 rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2377 rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2378 rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2379 rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2380 rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2381 rm -f $(obj)include/bmp_logo.h
2382 rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2385 find $(OBJTREE) -type f \( -name .depend \
2386 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2389 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
2391 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2392 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
2393 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2394 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2395 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2397 ifeq ($(OBJTREE),$(SRCTREE))
2399 distclean: clobber unconfig
2402 distclean: clobber unconfig
2407 F=`basename $(TOPDIR)` ; cd .. ; \
2408 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2410 #########################################################################