2 # (C) Copyright 2000-2006
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),$(ARCH))
125 CROSS_COMPILE = powerpc-linux-
128 CROSS_COMPILE = arm-linux-
131 CROSS_COMPILE = i386-linux-
134 CROSS_COMPILE = mips_4KC-
137 CROSS_COMPILE = nios-elf-
140 CROSS_COMPILE = nios2-elf-
143 CROSS_COMPILE = m68k-elf-
145 ifeq ($(ARCH),microblaze)
148 ifeq ($(ARCH),blackfin)
149 CROSS_COMPILE = bfin-elf-
152 CROSS_COMPILE = avr32-
159 # load other configuration
160 include $(TOPDIR)/config.mk
162 #########################################################################
163 # U-Boot objects....order is important (i.e. start must be first)
165 OBJS = cpu/$(CPU)/start.o
167 OBJS += cpu/$(CPU)/start16.o
168 OBJS += cpu/$(CPU)/reset.o
171 OBJS += cpu/$(CPU)/resetvec.o
173 ifeq ($(CPU),mpc85xx)
174 OBJS += cpu/$(CPU)/resetvec.o
176 ifeq ($(CPU),mpc86xx)
177 OBJS += cpu/$(CPU)/resetvec.o
180 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
181 OBJS += cpu/$(CPU)/cplbhdlr.o cpu/$(CPU)/cplbmgr.o cpu/$(CPU)/flush.o
184 OBJS := $(addprefix $(obj),$(OBJS))
186 LIBS = lib_generic/libgeneric.a
187 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
188 LIBS += cpu/$(CPU)/lib$(CPU).a
190 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
192 LIBS += lib_$(ARCH)/lib$(ARCH).a
193 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
194 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
196 LIBS += disk/libdisk.a
199 LIBS += drivers/libdrivers.a
200 LIBS += drivers/nand/libnand.a
201 LIBS += drivers/nand_legacy/libnand_legacy.a
202 ifeq ($(CPU),mpc83xx)
203 LIBS += drivers/qe/qe.a
205 LIBS += drivers/sk98lin/libsk98lin.a
206 LIBS += post/libpost.a post/drivers/libpostdrivers.a
207 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
208 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
209 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
210 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
211 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
212 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
213 LIBS += common/libcommon.a
216 LIBS := $(addprefix $(obj),$(LIBS))
220 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
222 # The "tools" are needed early, so put this first
223 # Don't include stuff already done in $(LIBS)
229 ifeq ($(CONFIG_NAND_U_BOOT),y)
231 U_BOOT_NAND = $(obj)u-boot-nand.bin
234 __OBJS := $(subst $(obj),,$(OBJS))
235 __LIBS := $(subst $(obj),,$(LIBS))
237 #########################################################################
238 #########################################################################
240 ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
244 $(obj)u-boot.hex: $(obj)u-boot
245 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
247 $(obj)u-boot.srec: $(obj)u-boot
248 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
250 $(obj)u-boot.bin: $(obj)u-boot
251 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
253 $(obj)u-boot.img: $(obj)u-boot.bin
254 ./tools/mkimage -A $(ARCH) -T firmware -C none \
255 -a $(TEXT_BASE) -e 0 \
256 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
257 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
260 $(obj)u-boot.dis: $(obj)u-boot
261 $(OBJDUMP) -d $< > $@
263 $(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
264 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
265 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
266 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
267 -Map u-boot.map -o u-boot
270 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
273 $(MAKE) -C $(dir $(subst $(obj),,$@))
279 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
281 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
282 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
285 @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
286 echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
287 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
288 $(TOPDIR)) >> $(VERSION_FILE); \
289 echo "\"" >> $(VERSION_FILE)
292 $(MAKE) -C tools/gdb all || exit 1
295 $(MAKE) -C tools/updater all || exit 1
298 $(MAKE) -C tools/env all || exit 1
301 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
304 ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
305 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
306 fs/cramfs fs/fat fs/fdos fs/jffs2 \
307 net disk rtc dtt drivers drivers/sk98lin common \
308 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
311 etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
312 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
313 fs/cramfs fs/fat fs/fdos fs/jffs2 \
314 net disk rtc dtt drivers drivers/sk98lin common \
315 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
317 $(obj)System.map: $(obj)u-boot
319 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
320 sort > $(obj)System.map
322 #########################################################################
324 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
325 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
326 $(SUBDIRS) version gdbtools updater env depend \
327 dep tags ctags etags $(obj)System.map:
328 @echo "System not configured - see README" >&2
334 git log --no-merges U-Boot-1_1_5.. | \
335 unexpand -a | sed -e 's/\s\s*$$//' > $@
337 #########################################################################
340 @rm -f $(obj)include/config.h $(obj)include/config.mk \
341 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp
343 #========================================================================
345 #========================================================================
347 #########################################################################
349 #########################################################################
351 canmb_config: unconfig
352 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
354 cmi_mpc5xx_config: unconfig
355 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
357 PATI_config: unconfig
358 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
360 #########################################################################
362 #########################################################################
365 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
367 BC3450_config: unconfig
368 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
370 cpci5200_config: unconfig
371 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
373 hmi1001_config: unconfig
374 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
377 Lite5200_LOWBOOT_config \
378 Lite5200_LOWBOOT08_config \
379 icecube_5200_config \
380 icecube_5200_LOWBOOT_config \
381 icecube_5200_LOWBOOT08_config \
382 icecube_5200_DDR_config \
383 icecube_5200_DDR_LOWBOOT_config \
384 icecube_5200_DDR_LOWBOOT08_config \
385 icecube_5100_config: unconfig
386 @mkdir -p $(obj)include
387 @mkdir -p $(obj)board/icecube
388 @ >$(obj)include/config.h
389 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
390 { if [ "$(findstring DDR,$@)" ] ; \
391 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
392 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
394 echo "... with LOWBOOT configuration" ; \
396 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
397 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
398 echo "... with 8 MB flash only" ; \
399 echo "... with LOWBOOT configuration" ; \
401 @[ -z "$(findstring DDR,$@)" ] || \
402 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
403 echo "... DDR memory revision" ; \
405 @[ -z "$(findstring 5200,$@)" ] || \
406 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
407 echo "... with MPC5200 processor" ; \
409 @[ -z "$(findstring 5100,$@)" ] || \
410 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
411 echo "... with MGT5100 processor" ; \
413 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
415 v38b_config: unconfig
416 @./mkconfig -a v38b ppc mpc5xxx v38b
418 inka4x0_config: unconfig
419 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
422 lite5200b_LOWBOOT_config: unconfig
423 @mkdir -p $(obj)include
424 @mkdir -p $(obj)board/icecube
425 @ >$(obj)include/config.h
426 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
427 @ echo "... DDR memory revision"
428 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
429 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
430 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
431 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
432 echo "... with LOWBOOT configuration" ; \
434 @ echo "... with MPC5200B processor"
435 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
438 mcc200_SDRAM_config \
439 mcc200_highboot_config \
440 mcc200_COM12_config \
441 mcc200_COM12_SDRAM_config \
442 mcc200_COM12_highboot_config \
443 mcc200_COM12_highboot_SDRAM_config \
444 mcc200_highboot_SDRAM_config \
447 prs200_highboot_config \
448 prs200_highboot_DDR_config: unconfig
449 @mkdir -p $(obj)include
450 @mkdir -p $(obj)board/mcc200
451 @ >$(obj)include/config.h
452 @[ -n "$(findstring highboot,$@)" ] || \
453 { echo "... with lowboot configuration" ; \
455 @[ -z "$(findstring highboot,$@)" ] || \
456 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
457 echo "... with highboot configuration" ; \
459 @[ -n "$(findstring _SDRAM,$@)" ] || \
460 { if [ -n "$(findstring mcc200,$@)" ]; \
462 echo "... with DDR" ; \
464 if [ -n "$(findstring _DDR,$@)" ];\
466 echo "... with DDR" ; \
468 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
469 echo "... with SDRAM" ; \
473 @[ -z "$(findstring _SDRAM,$@)" ] || \
474 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
475 echo "... with SDRAM" ; \
477 @[ -z "$(findstring COM12,$@)" ] || \
478 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
479 echo "... with console on COM12" ; \
481 @[ -z "$(findstring prs200,$@)" ] || \
482 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
484 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
486 mecp5200_config: unconfig
487 @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd
490 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
492 pf5200_config: unconfig
493 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
497 PM520_ROMBOOT_config \
498 PM520_ROMBOOT_DDR_config: unconfig
499 @mkdir -p $(obj)include
500 @ >$(obj)include/config.h
501 @[ -z "$(findstring DDR,$@)" ] || \
502 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
503 echo "... DDR memory revision" ; \
505 @[ -z "$(findstring ROMBOOT,$@)" ] || \
506 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
507 echo "... booting from 8-bit flash" ; \
509 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
511 smmaco4_config: unconfig
512 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
514 spieval_config: unconfig
515 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
518 TB5200_config: unconfig
519 @mkdir -p $(obj)include
520 @[ -z "$(findstring _B,$@)" ] || \
521 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
522 echo "... with MPC5200B processor" ; \
524 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
528 TOP5200_config: unconfig
529 @mkdir -p $(obj)include
530 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
531 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
535 Total5200_lowboot_config \
536 Total5200_Rev2_config \
537 Total5200_Rev2_lowboot_config: unconfig
538 @mkdir -p $(obj)include
539 @mkdir -p $(obj)board/total5200
540 @ >$(obj)include/config.h
541 @[ -z "$(findstring 5100,$@)" ] || \
542 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
543 echo "... with MGT5100 processor" ; \
545 @[ -z "$(findstring 5200,$@)" ] || \
546 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
547 echo "... with MPC5200 processor" ; \
549 @[ -n "$(findstring Rev,$@)" ] || \
550 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
551 echo "... revision 1 board" ; \
553 @[ -z "$(findstring Rev2_,$@)" ] || \
554 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
555 echo "... revision 2 board" ; \
557 @[ -z "$(findstring lowboot_,$@)" ] || \
558 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
559 echo "... with lowboot configuration" ; \
561 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
564 cam5200_niosflash_config \
568 TQM5200S_HIGHBOOT_config \
570 TQM5200_B_HIGHBOOT_config \
572 TQM5200_STK100_config: unconfig
573 @mkdir -p $(obj)include
574 @mkdir -p $(obj)board/tqm5200
575 @ >$(obj)include/config.h
576 @[ -z "$(findstring cam5200,$@)" ] || \
577 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
578 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
579 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
580 echo "... TQM5200S on Cam5200" ; \
582 @[ -z "$(findstring niosflash,$@)" ] || \
583 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
584 echo "... with NIOS flash driver" ; \
586 @[ -z "$(findstring fo300,$@)" ] || \
587 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
588 echo "... TQM5200 on FO300" ; \
590 @[ -z "$(findstring MiniFAP,$@)" ] || \
591 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
592 echo "... TQM5200_AC on MiniFAP" ; \
594 @[ -z "$(findstring STK100,$@)" ] || \
595 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
596 echo "... on a STK52XX.100 base board" ; \
598 @[ -z "$(findstring TQM5200_B,$@)" ] || \
599 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
601 @[ -z "$(findstring TQM5200S,$@)" ] || \
602 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
603 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
605 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
606 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
608 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
609 uc101_config: unconfig
610 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
611 motionpro_config: unconfig
612 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
615 #########################################################################
617 #########################################################################
623 @mkdir -p $(obj)include
624 $(if $(findstring AdderII,$@), \
625 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
626 @$(MKCONFIG) -a Adder ppc mpc8xx adder
633 FADS860T_config: unconfig
634 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
636 AMX860_config : unconfig
637 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
639 c2mon_config: unconfig
640 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
643 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
645 cogent_mpc8xx_config: unconfig
646 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
648 ELPT860_config: unconfig
649 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
651 EP88x_config: unconfig
652 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
654 ESTEEM192E_config: unconfig
655 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
657 ETX094_config : unconfig
658 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
660 FLAGADM_config: unconfig
661 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
663 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
666 GEN860T_config: unconfig
667 @mkdir -p $(obj)include
668 @ >$(obj)include/config.h
669 @[ -z "$(findstring _SC,$@)" ] || \
670 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
671 echo "With reduced H/W feature set (SC)..." ; \
673 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
675 GENIETV_config: unconfig
676 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
679 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
681 hermes_config : unconfig
682 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
684 HMI10_config : unconfig
685 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
687 IAD210_config: unconfig
688 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
690 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
692 ICU862_100MHz_config \
693 ICU862_config: unconfig
694 @mkdir -p $(obj)include
695 @ >$(obj)include/config.h
696 @[ -z "$(findstring _100MHz,$@)" ] || \
697 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
698 echo "... with 100MHz system clock" ; \
700 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
702 IP860_config : unconfig
703 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
707 IVML24_config: unconfig
708 @mkdir -p $(obj)include
709 @ >$(obj)include/config.h
710 @[ -z "$(findstring IVML24_config,$@)" ] || \
711 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
713 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
714 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
716 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
717 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
719 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
723 IVMS8_config: unconfig
724 @mkdir -p $(obj)include
725 @ >$(obj)include/config.h
726 @[ -z "$(findstring IVMS8_config,$@)" ] || \
727 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
729 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
730 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
732 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
733 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
735 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
737 KUP4K_config : unconfig
738 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
740 KUP4X_config : unconfig
741 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
743 LANTEC_config : unconfig
744 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
746 lwmon_config: unconfig
747 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
750 MBX860T_config: unconfig
751 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
753 MHPC_config: unconfig
754 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
756 MVS1_config : unconfig
757 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
759 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
762 NETVIA_config: unconfig
763 @mkdir -p $(obj)include
764 @ >$(obj)include/config.h
765 @[ -z "$(findstring NETVIA_config,$@)" ] || \
766 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
767 echo "... Version 1" ; \
769 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
770 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
771 echo "... Version 2" ; \
773 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
775 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
778 NETPHONE_config: unconfig
779 @mkdir -p $(obj)include
780 @ >$(obj)include/config.h
781 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
782 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
784 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
785 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
787 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
789 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
791 NETTA_ISDN_6412_SWAPHOOK_config \
792 NETTA_ISDN_SWAPHOOK_config \
793 NETTA_6412_SWAPHOOK_config \
794 NETTA_SWAPHOOK_config \
795 NETTA_ISDN_6412_config \
798 NETTA_config: unconfig
799 @mkdir -p $(obj)include
800 @ >$(obj)include/config.h
801 @[ -z "$(findstring ISDN_,$@)" ] || \
802 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
804 @[ -n "$(findstring ISDN_,$@)" ] || \
805 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
807 @[ -z "$(findstring 6412_,$@)" ] || \
808 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
810 @[ -n "$(findstring 6412_,$@)" ] || \
811 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
813 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
814 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
816 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
817 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
819 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
821 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
824 NETTA2_config: unconfig
825 @mkdir -p $(obj)include
826 @ >$(obj)include/config.h
827 @[ -z "$(findstring NETTA2_config,$@)" ] || \
828 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
830 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
831 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
833 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
837 CP850_config: unconfig
838 @mkdir -p $(obj)include
839 @ >$(obj)include/config.h
840 @[ -z "$(findstring CP850,$@)" ] || \
841 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
842 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
844 @[ -z "$(findstring Rev1,$@)" ] || \
845 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
847 @[ -z "$(findstring Rev2,$@)" ] || \
848 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
850 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
852 NX823_config: unconfig
853 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
855 pcu_e_config: unconfig
856 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
858 QS850_config: unconfig
859 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
861 QS823_config: unconfig
862 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
864 QS860T_config: unconfig
865 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
867 quantum_config: unconfig
868 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
870 R360MPI_config: unconfig
871 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
873 RBC823_config: unconfig
874 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
876 RPXClassic_config: unconfig
877 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
879 RPXlite_config: unconfig
880 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
882 RPXlite_DW_64_config \
883 RPXlite_DW_LCD_config \
884 RPXlite_DW_64_LCD_config \
885 RPXlite_DW_NVRAM_config \
886 RPXlite_DW_NVRAM_64_config \
887 RPXlite_DW_NVRAM_LCD_config \
888 RPXlite_DW_NVRAM_64_LCD_config \
889 RPXlite_DW_config: unconfig
890 @mkdir -p $(obj)include
891 @ >$(obj)include/config.h
892 @[ -z "$(findstring _64,$@)" ] || \
893 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
894 echo "... with 64MHz system clock ..."; \
896 @[ -z "$(findstring _LCD,$@)" ] || \
897 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
898 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
899 echo "... with LCD display ..."; \
901 @[ -z "$(findstring _NVRAM,$@)" ] || \
902 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
903 echo "... with ENV in NVRAM ..."; \
905 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
908 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
910 RRvision_config: unconfig
911 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
913 RRvision_LCD_config: unconfig
914 @mkdir -p $(obj)include
915 @echo "#define CONFIG_LCD" >$(obj)include/config.h
916 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
917 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
919 SM850_config : unconfig
920 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
923 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
925 SPD823TS_config: unconfig
926 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
928 stxxtc_config: unconfig
929 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
931 svm_sc8xx_config: unconfig
932 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
934 SXNI855T_config: unconfig
935 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
937 # EMK MPC8xx based modules
938 TOP860_config: unconfig
939 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
941 # Play some tricks for configuration selection
942 # Only 855 and 860 boards may come with FEC
943 # and only 823 boards may have LCD support
944 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
962 virtlab2_config: unconfig
963 @mkdir -p $(obj)include
964 @ >$(obj)include/config.h
965 @[ -z "$(findstring _LCD,$@)" ] || \
966 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
967 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
968 echo "... with LCD display" ; \
970 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
972 TTTech_config: unconfig
973 @mkdir -p $(obj)include
974 @echo "#define CONFIG_LCD" >$(obj)include/config.h
975 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
976 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
978 uc100_config : unconfig
979 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
982 @mkdir -p $(obj)include
983 @echo "#define CONFIG_LCD" >$(obj)include/config.h
984 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
985 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
988 @mkdir -p $(obj)include
989 @echo "#define CONFIG_LCD" >$(obj)include/config.h
990 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
991 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
993 #########################################################################
995 #########################################################################
996 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
998 ADCIOP_config: unconfig
999 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1001 alpr_config: unconfig
1002 @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
1004 AP1000_config:unconfig
1005 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1007 APC405_config: unconfig
1008 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1010 AR405_config: unconfig
1011 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1013 ASH405_config: unconfig
1014 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1016 bamboo_config: unconfig
1017 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1019 bubinga_config: unconfig
1020 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1022 CANBT_config: unconfig
1023 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1026 CATcenter_25_config \
1027 CATcenter_33_config: unconfig
1028 @mkdir -p $(obj)include
1029 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1030 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1031 @[ -z "$(findstring _25,$@)" ] || \
1032 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1033 echo "SysClk = 25MHz" ; \
1035 @[ -z "$(findstring _33,$@)" ] || \
1036 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1037 echo "SysClk = 33MHz" ; \
1039 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1041 CPCI2DP_config: unconfig
1042 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1047 CPCI405AB_config: unconfig
1048 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1049 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1051 CPCI440_config: unconfig
1052 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd
1054 CPCIISER4_config: unconfig
1055 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1057 CRAYL1_config: unconfig
1058 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1060 csb272_config: unconfig
1061 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1063 csb472_config: unconfig
1064 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1066 DASA_SIM_config: unconfig
1067 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1069 DP405_config: unconfig
1070 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1072 DU405_config: unconfig
1073 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1075 ebony_config: unconfig
1076 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1078 ERIC_config: unconfig
1079 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1081 EXBITGEN_config: unconfig
1082 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1084 G2000_config: unconfig
1085 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1087 HH405_config: unconfig
1088 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1090 HUB405_config: unconfig
1091 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1093 JSE_config: unconfig
1094 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1096 KAREF_config: unconfig
1097 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1099 katmai_config: unconfig
1100 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1102 luan_config: unconfig
1103 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1105 METROBOX_config: unconfig
1106 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1108 MIP405_config: unconfig
1109 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1111 MIP405T_config: unconfig
1112 @mkdir -p $(obj)include
1113 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1114 @echo "Enable subset config for MIP405T"
1115 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1117 ML2_config: unconfig
1118 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1120 ml300_config: unconfig
1121 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1123 ocotea_config: unconfig
1124 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1127 ORSG_config: unconfig
1128 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1130 p3p440_config: unconfig
1131 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1133 PCI405_config: unconfig
1134 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1136 pcs440ep_config: unconfig
1137 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1139 PIP405_config: unconfig
1140 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1142 PLU405_config: unconfig
1143 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1145 PMC405_config: unconfig
1146 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1148 PPChameleonEVB_config \
1149 PPChameleonEVB_BA_25_config \
1150 PPChameleonEVB_ME_25_config \
1151 PPChameleonEVB_HI_25_config \
1152 PPChameleonEVB_BA_33_config \
1153 PPChameleonEVB_ME_33_config \
1154 PPChameleonEVB_HI_33_config: unconfig
1155 @mkdir -p $(obj)include
1156 @ >$(obj)include/config.h
1157 @[ -z "$(findstring EVB_BA,$@)" ] || \
1158 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1159 echo "... BASIC model" ; \
1161 @[ -z "$(findstring EVB_ME,$@)" ] || \
1162 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1163 echo "... MEDIUM model" ; \
1165 @[ -z "$(findstring EVB_HI,$@)" ] || \
1166 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1167 echo "... HIGH-END model" ; \
1169 @[ -z "$(findstring _25,$@)" ] || \
1170 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1171 echo "SysClk = 25MHz" ; \
1173 @[ -z "$(findstring _33,$@)" ] || \
1174 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1175 echo "SysClk = 33MHz" ; \
1177 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1179 rainier_config: unconfig
1180 @mkdir -p $(obj)include
1181 @echo "#define CONFIG_RAINIER" > $(obj)include/config.h
1182 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1184 rainier_nand_config: unconfig
1185 @mkdir -p $(obj)include
1186 @mkdir -p $(obj)nand_spl
1187 @mkdir -p $(obj)board/amcc/sequoia
1188 @echo "#define CONFIG_RAINIER" > $(obj)include/config.h
1189 @echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h
1190 @echo "Compile NAND boot image for sequoia"
1191 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1192 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1193 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1195 sbc405_config: unconfig
1196 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1198 sequoia_config: unconfig
1199 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sequoia amcc
1201 sequoia_nand_config: unconfig
1202 @mkdir -p $(obj)include
1203 @mkdir -p $(obj)nand_spl
1204 @mkdir -p $(obj)board/amcc/sequoia
1205 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1206 @echo "Compile NAND boot image for sequoia"
1207 @$(MKCONFIG) -a sequoia ppc ppc4xx sequoia amcc
1208 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1209 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1212 @./mkconfig $(@:_config=) ppc ppc4xx sc3
1214 sycamore_config: unconfig
1215 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1217 taishan_config: unconfig
1218 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1220 VOH405_config: unconfig
1221 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1223 VOM405_config: unconfig
1224 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1226 CMS700_config: unconfig
1227 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1230 W7OLMG_config: unconfig
1231 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1233 walnut_config: unconfig
1234 @$(MKCONFIG) $(@:_config=) ppc ppc4xx walnut amcc
1236 WUH405_config: unconfig
1237 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1239 XPEDITE1K_config: unconfig
1240 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1242 yosemite_config: unconfig
1243 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yosemite amcc
1245 yellowstone_config: unconfig
1246 @mkdir -p $(obj)include
1247 @echo "#define CONFIG_YELLOWSTONE" > $(obj)include/config.h
1248 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1250 yucca_config: unconfig
1251 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1253 #########################################################################
1255 #########################################################################
1258 Yukon8220_config: unconfig
1259 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1261 sorcery_config: unconfig
1262 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1264 #########################################################################
1266 #########################################################################
1267 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1269 A3000_config: unconfig
1270 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1272 barco_config: unconfig
1273 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1275 BMW_config: unconfig
1276 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1279 CPC45_ROMBOOT_config: unconfig
1280 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1281 @cd $(obj)include ; \
1282 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1283 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1284 echo "... booting from 8-bit flash" ; \
1286 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1287 echo "... booting from 64-bit flash" ; \
1289 echo "export CONFIG_BOOT_ROM" >> config.mk;
1291 CU824_config: unconfig
1292 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1294 debris_config: unconfig
1295 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1297 eXalion_config: unconfig
1298 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1300 HIDDEN_DRAGON_config: unconfig
1301 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1303 kvme080_config: unconfig
1304 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1306 MOUSSE_config: unconfig
1307 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1309 MUSENKI_config: unconfig
1310 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1312 MVBLUE_config: unconfig
1313 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1315 OXC_config: unconfig
1316 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1318 PN62_config: unconfig
1319 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1321 Sandpoint8240_config: unconfig
1322 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1324 Sandpoint8245_config: unconfig
1325 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1327 sbc8240_config: unconfig
1328 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1330 SL8245_config: unconfig
1331 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1333 utx8245_config: unconfig
1334 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1336 #########################################################################
1338 #########################################################################
1340 atc_config: unconfig
1341 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1343 cogent_mpc8260_config: unconfig
1344 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1347 CPU86_ROMBOOT_config: unconfig
1348 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1349 @cd $(obj)include ; \
1350 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1351 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1352 echo "... booting from 8-bit flash" ; \
1354 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1355 echo "... booting from 64-bit flash" ; \
1357 echo "export CONFIG_BOOT_ROM" >> config.mk;
1360 CPU87_ROMBOOT_config: unconfig
1361 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1362 @cd $(obj)include ; \
1363 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1364 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1365 echo "... booting from 8-bit flash" ; \
1367 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1368 echo "... booting from 64-bit flash" ; \
1370 echo "export CONFIG_BOOT_ROM" >> config.mk;
1373 ep8248E_config : unconfig
1374 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1376 ep8260_config: unconfig
1377 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1379 ep82xxm_config: unconfig
1380 @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
1382 gw8260_config: unconfig
1383 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1385 hymod_config: unconfig
1386 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1388 IDS8247_config: unconfig
1389 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1391 IPHASE4539_config: unconfig
1392 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1395 ISPAN_REVB_config: unconfig
1396 @mkdir -p $(obj)include
1397 @if [ "$(findstring _REVB_,$@)" ] ; then \
1398 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1400 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1403 MPC8260ADS_lowboot_config \
1404 MPC8260ADS_33MHz_config \
1405 MPC8260ADS_33MHz_lowboot_config \
1406 MPC8260ADS_40MHz_config \
1407 MPC8260ADS_40MHz_lowboot_config \
1409 MPC8272ADS_lowboot_config \
1411 PQ2FADS_lowboot_config \
1413 PQ2FADS-VR_lowboot_config \
1415 PQ2FADS-ZU_lowboot_config \
1416 PQ2FADS-ZU_66MHz_config \
1417 PQ2FADS-ZU_66MHz_lowboot_config \
1419 @mkdir -p $(obj)include
1420 @mkdir -p $(obj)board/mpc8260ads
1421 $(if $(findstring PQ2FADS,$@), \
1422 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1423 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1424 $(if $(findstring MHz,$@), \
1425 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1426 $(if $(findstring VR,$@), \
1427 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1428 @[ -z "$(findstring lowboot_,$@)" ] || \
1429 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1430 echo "... with lowboot configuration" ; \
1432 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1434 MPC8266ADS_config: unconfig
1435 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1437 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1439 PM825_ROMBOOT_config \
1440 PM825_BIGFLASH_config \
1441 PM825_ROMBOOT_BIGFLASH_config \
1443 PM826_ROMBOOT_config \
1444 PM826_BIGFLASH_config \
1445 PM826_ROMBOOT_BIGFLASH_config: unconfig
1446 @mkdir -p $(obj)include
1447 @mkdir -p $(obj)board/pm826
1448 @if [ "$(findstring PM825_,$@)" ] ; then \
1449 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1451 >$(obj)include/config.h ; \
1453 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1454 echo "... booting from 8-bit flash" ; \
1455 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1456 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1457 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1458 echo "... with 32 MB Flash" ; \
1459 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1462 echo "... booting from 64-bit flash" ; \
1463 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1464 echo "... with 32 MB Flash" ; \
1465 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1466 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1468 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1471 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1475 PM828_ROMBOOT_config \
1476 PM828_ROMBOOT_PCI_config: unconfig
1477 @mkdir -p $(obj)include
1478 @mkdir -p $(obj)board/pm826
1479 @if [ "$(findstring _PCI_,$@)" ] ; then \
1480 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1481 echo "... with PCI enabled" ; \
1483 >$(obj)include/config.h ; \
1485 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1486 echo "... booting from 8-bit flash" ; \
1487 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1488 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1490 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1492 ppmc8260_config: unconfig
1493 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1495 Rattler8248_config \
1496 Rattler_config: unconfig
1497 @mkdir -p $(obj)include
1498 $(if $(findstring 8248,$@), \
1499 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1500 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1502 RPXsuper_config: unconfig
1503 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1505 rsdproto_config: unconfig
1506 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1508 sacsng_config: unconfig
1509 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1511 sbc8260_config: unconfig
1512 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1514 SCM_config: unconfig
1515 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1527 TQM8265_AA_config: unconfig
1528 @mkdir -p $(obj)include
1530 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1531 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1532 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1533 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1534 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1535 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1536 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1537 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1538 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1539 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1540 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1542 >$(obj)include/config.h ; \
1543 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1544 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1546 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1547 echo "... with $${CFREQ}MHz system clock" ; \
1548 if [ "$${CACHE}" == "yes" ] ; then \
1549 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1550 echo "... with L2 Cache support" ; \
1552 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1553 echo "... without L2 Cache support" ; \
1555 if [ "$${BMODE}" == "60x" ] ; then \
1556 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1557 echo "... with 60x Bus Mode" ; \
1559 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1560 echo "... without 60x Bus Mode" ; \
1562 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1564 TQM8272_config: unconfig
1565 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1567 VoVPN-GW_66MHz_config \
1568 VoVPN-GW_100MHz_config: unconfig
1569 @mkdir -p $(obj)include
1570 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1571 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1573 ZPC1900_config: unconfig
1574 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1576 #########################################################################
1578 #########################################################################
1580 cobra5272_config : unconfig
1581 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1583 EB+MCF-EV123_config : unconfig
1584 @mkdir -p $(obj)include
1585 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1586 @ >$(obj)include/config.h
1587 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1588 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1590 EB+MCF-EV123_internal_config : unconfig
1591 @mkdir -p $(obj)include
1592 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1593 @ >$(obj)include/config.h
1594 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1595 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1597 idmr_config : unconfig
1598 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1600 M5271EVB_config : unconfig
1601 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1603 M5272C3_config : unconfig
1604 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1606 M5282EVB_config : unconfig
1607 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1609 TASREG_config : unconfig
1610 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1612 r5200_config : unconfig
1613 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1615 #########################################################################
1617 #########################################################################
1619 TQM834x_config: unconfig
1620 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1622 MPC8349EMDS_config: unconfig
1623 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
1625 MPC8360EMDS_config \
1626 MPC8360EMDS_HOST_33_config \
1627 MPC8360EMDS_HOST_66_config \
1628 MPC8360EMDS_SLAVE_config: unconfig
1629 @echo "" >include/config.h ; \
1630 if [ "$(findstring _HOST_,$@)" ] ; then \
1631 echo -n "... PCI HOST " ; \
1632 echo "#define CONFIG_PCI" >>include/config.h ; \
1634 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1635 echo "...PCI SLAVE 66M" ; \
1636 echo "#define CONFIG_PCI" >>include/config.h ; \
1637 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1639 if [ "$(findstring _33_,$@)" ] ; then \
1640 echo -n "...33M ..." ; \
1641 echo "#define PCI_33M" >>include/config.h ; \
1643 if [ "$(findstring _66_,$@)" ] ; then \
1644 echo -n "...66M..." ; \
1645 echo "#define PCI_66M" >>include/config.h ; \
1647 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1649 MPC8349ITX_config: unconfig
1650 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349itx
1652 #########################################################################
1654 #########################################################################
1656 MPC8540ADS_config: unconfig
1657 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
1659 MPC8540EVAL_config \
1660 MPC8540EVAL_33_config \
1661 MPC8540EVAL_66_config \
1662 MPC8540EVAL_33_slave_config \
1663 MPC8540EVAL_66_slave_config: unconfig
1664 @mkdir -p $(obj)include
1665 @echo "" >$(obj)include/config.h ; \
1666 if [ "$(findstring _33_,$@)" ] ; then \
1667 echo -n "... 33 MHz PCI" ; \
1669 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1670 echo -n "... 66 MHz PCI" ; \
1672 if [ "$(findstring _slave_,$@)" ] ; then \
1673 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
1678 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1680 MPC8560ADS_config: unconfig
1681 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
1683 MPC8541CDS_config: unconfig
1684 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
1686 MPC8548CDS_config: unconfig
1687 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
1689 MPC8555CDS_config: unconfig
1690 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
1692 PM854_config: unconfig
1693 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
1695 PM856_config: unconfig
1696 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
1700 sbc8540_66_config: unconfig
1701 @mkdir -p $(obj)include
1702 @if [ "$(findstring _66_,$@)" ] ; then \
1703 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1704 echo "... 66 MHz PCI" ; \
1706 >$(obj)include/config.h ; \
1707 echo "... 33 MHz PCI" ; \
1709 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
1713 sbc8560_66_config: unconfig
1714 @mkdir -p $(obj)include
1715 @if [ "$(findstring _66_,$@)" ] ; then \
1716 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1717 echo "... 66 MHz PCI" ; \
1719 >$(obj)include/config.h ; \
1720 echo "... 33 MHz PCI" ; \
1722 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
1724 stxgp3_config: unconfig
1725 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
1730 TQM8560_config: unconfig
1731 @mkdir -p $(obj)include
1732 @CTYPE=$(subst TQM,,$(@:_config=)); \
1733 >$(obj)include/config.h ; \
1734 echo "... TQM"$${CTYPE}; \
1735 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1736 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1737 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1738 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1739 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1740 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
1742 #########################################################################
1744 #########################################################################
1746 MPC8641HPCN_config: unconfig
1747 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1750 #########################################################################
1752 #########################################################################
1754 AmigaOneG3SE_config: unconfig
1755 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
1757 BAB7xx_config: unconfig
1758 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
1760 CPCI750_config: unconfig
1761 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
1763 DB64360_config: unconfig
1764 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
1766 DB64460_config: unconfig
1767 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
1769 ELPPC_config: unconfig
1770 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
1773 EVB64260_750CX_config: unconfig
1774 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
1776 P3G4_config: unconfig
1777 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1780 p3m7448_config: unconfig
1781 @mkdir -p $(obj)include
1782 @if [ "$(findstring 750_,$@)" ] ; then \
1783 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1785 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1787 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1790 PCIPPC6_config: unconfig
1791 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
1793 ZUMA_config: unconfig
1794 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1796 ppmc7xx_config: unconfig
1797 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
1799 #========================================================================
1801 #========================================================================
1802 #########################################################################
1803 ## StrongARM Systems
1804 #########################################################################
1806 assabet_config : unconfig
1807 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
1809 dnp1110_config : unconfig
1810 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
1812 gcplus_config : unconfig
1813 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
1815 lart_config : unconfig
1816 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
1818 shannon_config : unconfig
1819 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
1821 #########################################################################
1823 #########################################################################
1825 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
1827 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
1829 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1831 at91rm9200dk_config : unconfig
1832 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
1834 cmc_pu2_config : unconfig
1835 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
1837 csb637_config : unconfig
1838 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
1840 mp2usb_config : unconfig
1841 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
1844 ########################################################################
1845 ## ARM Integrator boards - see doc/README-integrator for more info.
1846 integratorap_config \
1855 ap946es_config: unconfig
1856 @board/integratorap/split_by_variant.sh $@
1858 integratorcp_config \
1867 cp1026_config: unconfig
1868 @board/integratorcp/split_by_variant.sh $@
1870 kb9202_config : unconfig
1871 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
1874 lpd7a404_config: unconfig
1875 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
1877 mx1ads_config : unconfig
1878 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
1880 mx1fs2_config : unconfig
1881 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
1884 netstar_config: unconfig
1885 @mkdir -p $(obj)include
1886 @if [ "$(findstring _32_,$@)" ] ; then \
1887 echo "... 32MB SDRAM" ; \
1888 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
1890 echo "... 64MB SDRAM" ; \
1891 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
1893 @$(MKCONFIG) -a netstar arm arm925t netstar
1895 omap1510inn_config : unconfig
1896 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
1898 omap5912osk_config : unconfig
1899 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1901 omap1610inn_config \
1902 omap1610inn_cs0boot_config \
1903 omap1610inn_cs3boot_config \
1904 omap1610inn_cs_autoboot_config \
1906 omap1610h2_cs0boot_config \
1907 omap1610h2_cs3boot_config \
1908 omap1610h2_cs_autoboot_config: unconfig
1909 @mkdir -p $(obj)include
1910 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1911 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
1912 echo "... configured for CS0 boot"; \
1913 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
1914 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
1915 echo "... configured for CS_AUTO boot"; \
1917 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
1918 echo "... configured for CS3 boot"; \
1920 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
1923 omap730p2_cs0boot_config \
1924 omap730p2_cs3boot_config : unconfig
1925 @mkdir -p $(obj)include
1926 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1927 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
1928 echo "... configured for CS0 boot"; \
1930 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
1931 echo "... configured for CS3 boot"; \
1933 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
1935 sbc2410x_config: unconfig
1936 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
1938 scb9328_config : unconfig
1939 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
1941 smdk2400_config : unconfig
1942 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
1944 smdk2410_config : unconfig
1945 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
1947 SX1_config : unconfig
1948 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
1950 # TRAB default configuration: 8 MB Flash, 32 MB RAM
1952 trab_bigram_config \
1953 trab_bigflash_config \
1954 trab_old_config: unconfig
1955 @mkdir -p $(obj)include
1956 @mkdir -p $(obj)board/trab
1957 @ >$(obj)include/config.h
1958 @[ -z "$(findstring _bigram,$@)" ] || \
1959 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
1960 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
1961 echo "... with 8 MB Flash, 32 MB RAM" ; \
1963 @[ -z "$(findstring _bigflash,$@)" ] || \
1964 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
1965 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
1966 echo "... with 16 MB Flash, 16 MB RAM" ; \
1967 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
1969 @[ -z "$(findstring _old,$@)" ] || \
1970 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
1971 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
1972 echo "... with 8 MB Flash, 16 MB RAM" ; \
1973 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
1975 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
1977 VCMA9_config : unconfig
1978 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
1980 #========================================================================
1981 # ARM supplied Versatile development boards
1982 #========================================================================
1984 versatileab_config \
1985 versatilepb_config : unconfig
1986 @board/versatile/split_by_variant.sh $@
1988 voiceblue_smallflash_config \
1989 voiceblue_config: unconfig
1990 @mkdir -p $(obj)include
1991 @mkdir -p $(obj)board/voiceblue
1992 @if [ "$(findstring _smallflash_,$@)" ] ; then \
1993 echo "... boot from lower flash bank" ; \
1994 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
1995 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
1997 echo "... boot from upper flash bank" ; \
1998 >$(obj)include/config.h ; \
1999 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2001 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2003 cm4008_config : unconfig
2004 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2006 cm41xx_config : unconfig
2007 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2009 gth2_config : unconfig
2010 @mkdir -p $(obj)include
2011 @ >$(obj)include/config.h
2012 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2013 @$(MKCONFIG) -a gth2 mips mips gth2
2015 #########################################################################
2017 #########################################################################
2019 B2_config : unconfig
2020 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2022 #########################################################################
2024 #########################################################################
2026 armadillo_config: unconfig
2027 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2029 ep7312_config : unconfig
2030 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2032 impa7_config : unconfig
2033 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2035 modnet50_config : unconfig
2036 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2038 evb4510_config : unconfig
2039 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2041 lpc2292sodimm_config: unconfig
2042 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2044 #########################################################################
2046 #########################################################################
2048 adsvix_config : unconfig
2049 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2051 cerf250_config : unconfig
2052 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2054 cradle_config : unconfig
2055 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2057 csb226_config : unconfig
2058 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2061 @$(MKCONFIG) $(@:_config=) arm pxa delta
2063 innokom_config : unconfig
2064 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2066 ixdp425_config : unconfig
2067 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2069 ixdpg425_config : unconfig
2070 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2072 lubbock_config : unconfig
2073 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2075 pleb2_config : unconfig
2076 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2078 logodl_config : unconfig
2079 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2082 scpu_config: unconfig
2083 @if [ "$(findstring scpu_,$@)" ] ; then \
2084 echo "#define CONFIG_SCPU" >>include/config.h ; \
2085 echo "... on SCPU board variant" ; \
2087 >include/config.h ; \
2089 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2091 pxa255_idp_config: unconfig
2092 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2094 wepep250_config : unconfig
2095 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2097 xaeniax_config : unconfig
2098 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2100 xm250_config : unconfig
2101 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2103 xsengine_config : unconfig
2104 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2107 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2109 #########################################################################
2111 #########################################################################
2112 omap2420h4_config : unconfig
2113 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2115 #========================================================================
2117 #========================================================================
2118 #########################################################################
2120 #########################################################################
2121 sc520_cdp_config : unconfig
2122 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2124 sc520_spunk_config : unconfig
2125 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2127 sc520_spunk_rel_config : unconfig
2128 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2130 #========================================================================
2132 #========================================================================
2133 #########################################################################
2135 #########################################################################
2137 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2139 incaip_100MHz_config \
2140 incaip_133MHz_config \
2141 incaip_150MHz_config \
2142 incaip_config: unconfig
2143 @mkdir -p $(obj)include
2144 @ >$(obj)include/config.h
2145 @[ -z "$(findstring _100MHz,$@)" ] || \
2146 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2147 echo "... with 100MHz system clock" ; \
2149 @[ -z "$(findstring _133MHz,$@)" ] || \
2150 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2151 echo "... with 133MHz system clock" ; \
2153 @[ -z "$(findstring _150MHz,$@)" ] || \
2154 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2155 echo "... with 150MHz system clock" ; \
2157 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2159 tb0229_config: unconfig
2160 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2162 #########################################################################
2164 #########################################################################
2165 dbau1000_config : unconfig
2166 @mkdir -p $(obj)include
2167 @ >$(obj)include/config.h
2168 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2169 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2171 dbau1100_config : unconfig
2172 @mkdir -p $(obj)include
2173 @ >$(obj)include/config.h
2174 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2175 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2177 dbau1500_config : unconfig
2178 @mkdir -p $(obj)include
2179 @ >$(obj)include/config.h
2180 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2181 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2183 dbau1550_config : unconfig
2184 @mkdir -p $(obj)include
2185 @ >$(obj)include/config.h
2186 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2187 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2189 dbau1550_el_config : unconfig
2190 @mkdir -p $(obj)include
2191 @ >$(obj)include/config.h
2192 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2193 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2195 pb1000_config : unconfig
2196 @mkdir -p $(obj)include
2197 @ >$(obj)include/config.h
2198 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2199 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2201 #########################################################################
2203 #########################################################################
2205 purple_config : unconfig
2206 @$(MKCONFIG) $(@:_config=) mips mips purple
2208 #========================================================================
2210 #========================================================================
2211 #########################################################################
2213 #########################################################################
2215 DK1C20_safe_32_config \
2216 DK1C20_standard_32_config \
2217 DK1C20_config: unconfig
2218 @mkdir -p $(obj)include
2219 @ >$(obj)include/config.h
2220 @[ -z "$(findstring _safe_32,$@)" ] || \
2221 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2222 echo "... NIOS 'safe_32' configuration" ; \
2224 @[ -z "$(findstring _standard_32,$@)" ] || \
2225 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2226 echo "... NIOS 'standard_32' configuration" ; \
2228 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2229 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2230 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2232 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2234 DK1S10_safe_32_config \
2235 DK1S10_standard_32_config \
2236 DK1S10_mtx_ldk_20_config \
2237 DK1S10_config: unconfig
2238 @mkdir -p $(obj)include
2239 @ >$(obj)include/config.h
2240 @[ -z "$(findstring _safe_32,$@)" ] || \
2241 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2242 echo "... NIOS 'safe_32' configuration" ; \
2244 @[ -z "$(findstring _standard_32,$@)" ] || \
2245 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2246 echo "... NIOS 'standard_32' configuration" ; \
2248 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2249 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2250 echo "... NIOS 'mtx_ldk_20' configuration" ; \
2252 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2253 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2254 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2256 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2258 ADNPESC1_DNPEVA2_base_32_config \
2259 ADNPESC1_base_32_config \
2260 ADNPESC1_config: unconfig
2261 @mkdir -p $(obj)include
2262 @ >$(obj)include/config.h
2263 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2264 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2265 echo "... DNP/EVA2 configuration" ; \
2267 @[ -z "$(findstring _base_32,$@)" ] || \
2268 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2269 echo "... NIOS 'base_32' configuration" ; \
2271 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2272 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2273 echo "... NIOS 'base_32' configuration (DEFAULT)" ; \
2275 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2277 #########################################################################
2279 #########################################################################
2281 EP1C20_config : unconfig
2282 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2284 EP1S10_config : unconfig
2285 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2287 EP1S40_config : unconfig
2288 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2290 PK1C20_config : unconfig
2291 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2293 PCI5441_config : unconfig
2294 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2296 #========================================================================
2298 #========================================================================
2299 #########################################################################
2301 #########################################################################
2302 suzaku_config: unconfig
2303 @mkdir -p $(obj)include
2304 @ >$(obj)include/config.h
2305 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2306 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2308 #########################################################################
2310 #########################################################################
2311 ezkit533_config : unconfig
2312 @$(MKCONFIG) $(@:_config=) blackfin bf533 ezkit533
2314 stamp_config : unconfig
2315 @$(MKCONFIG) $(@:_config=) blackfin bf533 stamp
2317 dspstamp_config : unconfig
2318 @$(MKCONFIG) $(@:_config=) blackfin bf533 dsp_stamp
2320 #========================================================================
2322 #========================================================================
2323 #########################################################################
2325 #########################################################################
2327 atstk1002_config : unconfig
2328 @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
2330 #########################################################################
2331 #########################################################################
2332 #########################################################################
2335 find $(OBJTREE) -type f \
2336 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2337 -o -name '*.o' -o -name '*.a' \) -print \
2339 rm -f $(obj)examples/hello_world $(obj)examples/timer \
2340 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2341 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2342 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2343 $(obj)examples/test_burst
2344 rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2345 $(obj)tools/gen_eth_addr
2346 rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2347 rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2348 rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2349 rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2350 rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2351 rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2352 rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2353 rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2354 rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2355 rm -f $(obj)include/bmp_logo.h
2356 rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2359 find $(OBJTREE) -type f \( -name .depend \
2360 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2363 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
2365 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2366 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
2367 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2368 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2369 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2371 ifeq ($(OBJTREE),$(SRCTREE))
2373 distclean: clobber unconfig
2376 distclean: clobber unconfig
2381 F=`basename $(TOPDIR)` ; cd .. ; \
2382 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2384 #########################################################################