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),$(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-uclinux-
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)/flush.o cpu/$(CPU)/init_sdram.o
184 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
185 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
188 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
189 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
192 OBJS := $(addprefix $(obj),$(OBJS))
194 LIBS = lib_generic/libgeneric.a
195 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
196 LIBS += cpu/$(CPU)/lib$(CPU).a
198 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
200 LIBS += lib_$(ARCH)/lib$(ARCH).a
201 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
202 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
204 LIBS += disk/libdisk.a
207 LIBS += drivers/libdrivers.a
208 LIBS += drivers/nand/libnand.a
209 LIBS += drivers/nand_legacy/libnand_legacy.a
210 ifeq ($(CPU),mpc83xx)
211 LIBS += drivers/qe/qe.a
213 LIBS += drivers/sk98lin/libsk98lin.a
214 LIBS += post/libpost.a post/drivers/libpostdrivers.a
215 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
216 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
217 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
218 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
219 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
220 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
221 LIBS += common/libcommon.a
224 LIBS := $(addprefix $(obj),$(LIBS))
228 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
230 # The "tools" are needed early, so put this first
231 # Don't include stuff already done in $(LIBS)
237 ifeq ($(CONFIG_NAND_U_BOOT),y)
239 U_BOOT_NAND = $(obj)u-boot-nand.bin
242 __OBJS := $(subst $(obj),,$(OBJS))
243 __LIBS := $(subst $(obj),,$(LIBS))
245 #########################################################################
246 #########################################################################
248 ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
252 $(obj)u-boot.hex: $(obj)u-boot
253 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
255 $(obj)u-boot.srec: $(obj)u-boot
256 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
258 $(obj)u-boot.bin: $(obj)u-boot
259 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
261 $(obj)u-boot.img: $(obj)u-boot.bin
262 ./tools/mkimage -A $(ARCH) -T firmware -C none \
263 -a $(TEXT_BASE) -e 0 \
264 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
265 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
268 $(obj)u-boot.dis: $(obj)u-boot
269 $(OBJDUMP) -d $< > $@
271 $(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
272 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
273 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
274 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
275 -Map u-boot.map -o u-boot
278 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
281 $(MAKE) -C $(dir $(subst $(obj),,$@))
287 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
289 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
290 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
293 @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
294 echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
295 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
296 $(TOPDIR)) >> $(VERSION_FILE); \
297 echo "\"" >> $(VERSION_FILE)
300 $(MAKE) -C tools/gdb all || exit 1
303 $(MAKE) -C tools/updater all || exit 1
306 $(MAKE) -C tools/env all || exit 1
309 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
312 ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
313 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
314 fs/cramfs fs/fat fs/fdos fs/jffs2 \
315 net disk rtc dtt drivers drivers/sk98lin common \
316 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
319 etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
320 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
321 fs/cramfs fs/fat fs/fdos fs/jffs2 \
322 net disk rtc dtt drivers drivers/sk98lin common \
323 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
325 $(obj)System.map: $(obj)u-boot
327 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
328 sort > $(obj)System.map
330 #########################################################################
332 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
333 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
334 $(SUBDIRS) version gdbtools updater env depend \
335 dep tags ctags etags $(obj)System.map:
336 @echo "System not configured - see README" >&2
342 git log --no-merges U-Boot-1_1_5.. | \
343 unexpand -a | sed -e 's/\s\s*$$//' > $@
345 #########################################################################
348 @rm -f $(obj)include/config.h $(obj)include/config.mk \
349 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp
351 #========================================================================
353 #========================================================================
355 #########################################################################
357 #########################################################################
359 canmb_config: unconfig
360 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
362 cmi_mpc5xx_config: unconfig
363 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
365 PATI_config: unconfig
366 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
368 #########################################################################
370 #########################################################################
373 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
375 BC3450_config: unconfig
376 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
378 cpci5200_config: unconfig
379 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
381 hmi1001_config: unconfig
382 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
385 Lite5200_LOWBOOT_config \
386 Lite5200_LOWBOOT08_config \
387 icecube_5200_config \
388 icecube_5200_LOWBOOT_config \
389 icecube_5200_LOWBOOT08_config \
390 icecube_5200_DDR_config \
391 icecube_5200_DDR_LOWBOOT_config \
392 icecube_5200_DDR_LOWBOOT08_config \
393 icecube_5100_config: unconfig
394 @mkdir -p $(obj)include
395 @mkdir -p $(obj)board/icecube
396 @ >$(obj)include/config.h
397 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
398 { if [ "$(findstring DDR,$@)" ] ; \
399 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
400 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
402 echo "... with LOWBOOT configuration" ; \
404 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
405 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
406 echo "... with 8 MB flash only" ; \
407 echo "... with LOWBOOT configuration" ; \
409 @[ -z "$(findstring DDR,$@)" ] || \
410 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
411 echo "... DDR memory revision" ; \
413 @[ -z "$(findstring 5200,$@)" ] || \
414 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
415 echo "... with MPC5200 processor" ; \
417 @[ -z "$(findstring 5100,$@)" ] || \
418 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
419 echo "... with MGT5100 processor" ; \
421 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
423 jupiter_config: unconfig
424 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
426 v38b_config: unconfig
427 @./mkconfig -a v38b ppc mpc5xxx v38b
429 inka4x0_config: unconfig
430 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
433 lite5200b_LOWBOOT_config: unconfig
434 @mkdir -p $(obj)include
435 @mkdir -p $(obj)board/icecube
436 @ >$(obj)include/config.h
437 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
438 @ echo "... DDR memory revision"
439 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
440 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
441 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
442 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
443 echo "... with LOWBOOT configuration" ; \
445 @ echo "... with MPC5200B processor"
446 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
449 mcc200_SDRAM_config \
450 mcc200_highboot_config \
451 mcc200_COM12_config \
452 mcc200_COM12_SDRAM_config \
453 mcc200_COM12_highboot_config \
454 mcc200_COM12_highboot_SDRAM_config \
455 mcc200_highboot_SDRAM_config \
458 prs200_highboot_config \
459 prs200_highboot_DDR_config: unconfig
460 @mkdir -p $(obj)include
461 @mkdir -p $(obj)board/mcc200
462 @ >$(obj)include/config.h
463 @[ -n "$(findstring highboot,$@)" ] || \
464 { echo "... with lowboot configuration" ; \
466 @[ -z "$(findstring highboot,$@)" ] || \
467 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
468 echo "... with highboot configuration" ; \
470 @[ -n "$(findstring _SDRAM,$@)" ] || \
471 { if [ -n "$(findstring mcc200,$@)" ]; \
473 echo "... with DDR" ; \
475 if [ -n "$(findstring _DDR,$@)" ];\
477 echo "... with DDR" ; \
479 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
480 echo "... with SDRAM" ; \
484 @[ -z "$(findstring _SDRAM,$@)" ] || \
485 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
486 echo "... with SDRAM" ; \
488 @[ -z "$(findstring COM12,$@)" ] || \
489 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
490 echo "... with console on COM12" ; \
492 @[ -z "$(findstring prs200,$@)" ] || \
493 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
495 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
497 mecp5200_config: unconfig
498 @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd
501 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
503 pf5200_config: unconfig
504 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
508 PM520_ROMBOOT_config \
509 PM520_ROMBOOT_DDR_config: unconfig
510 @mkdir -p $(obj)include
511 @ >$(obj)include/config.h
512 @[ -z "$(findstring DDR,$@)" ] || \
513 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
514 echo "... DDR memory revision" ; \
516 @[ -z "$(findstring ROMBOOT,$@)" ] || \
517 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
518 echo "... booting from 8-bit flash" ; \
520 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
522 smmaco4_config: unconfig
523 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
525 spieval_config: unconfig
526 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
529 TB5200_config: unconfig
530 @mkdir -p $(obj)include
531 @[ -z "$(findstring _B,$@)" ] || \
532 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
533 echo "... with MPC5200B processor" ; \
535 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
539 TOP5200_config: unconfig
540 @mkdir -p $(obj)include
541 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
542 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
546 Total5200_lowboot_config \
547 Total5200_Rev2_config \
548 Total5200_Rev2_lowboot_config: unconfig
549 @mkdir -p $(obj)include
550 @mkdir -p $(obj)board/total5200
551 @ >$(obj)include/config.h
552 @[ -z "$(findstring 5100,$@)" ] || \
553 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
554 echo "... with MGT5100 processor" ; \
556 @[ -z "$(findstring 5200,$@)" ] || \
557 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
558 echo "... with MPC5200 processor" ; \
560 @[ -n "$(findstring Rev,$@)" ] || \
561 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
562 echo "... revision 1 board" ; \
564 @[ -z "$(findstring Rev2_,$@)" ] || \
565 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
566 echo "... revision 2 board" ; \
568 @[ -z "$(findstring lowboot_,$@)" ] || \
569 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
570 echo "... with lowboot configuration" ; \
572 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
575 cam5200_niosflash_config \
579 TQM5200S_HIGHBOOT_config \
581 TQM5200_B_HIGHBOOT_config \
583 TQM5200_STK100_config: unconfig
584 @mkdir -p $(obj)include
585 @mkdir -p $(obj)board/tqm5200
586 @ >$(obj)include/config.h
587 @[ -z "$(findstring cam5200,$@)" ] || \
588 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
589 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
590 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
591 echo "... TQM5200S on Cam5200" ; \
593 @[ -z "$(findstring niosflash,$@)" ] || \
594 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
595 echo "... with NIOS flash driver" ; \
597 @[ -z "$(findstring fo300,$@)" ] || \
598 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
599 echo "... TQM5200 on FO300" ; \
601 @[ -z "$(findstring MiniFAP,$@)" ] || \
602 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
603 echo "... TQM5200_AC on MiniFAP" ; \
605 @[ -z "$(findstring STK100,$@)" ] || \
606 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
607 echo "... on a STK52XX.100 base board" ; \
609 @[ -z "$(findstring TQM5200_B,$@)" ] || \
610 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
612 @[ -z "$(findstring TQM5200S,$@)" ] || \
613 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
614 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
616 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
617 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
619 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
620 uc101_config: unconfig
621 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
622 motionpro_config: unconfig
623 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
626 #########################################################################
628 #########################################################################
634 @mkdir -p $(obj)include
635 $(if $(findstring AdderII,$@), \
636 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
637 @$(MKCONFIG) -a Adder ppc mpc8xx adder
644 FADS860T_config: unconfig
645 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
647 AMX860_config : unconfig
648 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
650 c2mon_config: unconfig
651 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
654 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
656 cogent_mpc8xx_config: unconfig
657 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
659 ELPT860_config: unconfig
660 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
662 EP88x_config: unconfig
663 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
665 ESTEEM192E_config: unconfig
666 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
668 ETX094_config : unconfig
669 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
671 FLAGADM_config: unconfig
672 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
674 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
677 GEN860T_config: unconfig
678 @mkdir -p $(obj)include
679 @ >$(obj)include/config.h
680 @[ -z "$(findstring _SC,$@)" ] || \
681 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
682 echo "With reduced H/W feature set (SC)..." ; \
684 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
686 GENIETV_config: unconfig
687 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
690 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
692 hermes_config : unconfig
693 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
695 HMI10_config : unconfig
696 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
698 IAD210_config: unconfig
699 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
701 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
703 ICU862_100MHz_config \
704 ICU862_config: unconfig
705 @mkdir -p $(obj)include
706 @ >$(obj)include/config.h
707 @[ -z "$(findstring _100MHz,$@)" ] || \
708 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
709 echo "... with 100MHz system clock" ; \
711 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
713 IP860_config : unconfig
714 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
718 IVML24_config: unconfig
719 @mkdir -p $(obj)include
720 @ >$(obj)include/config.h
721 @[ -z "$(findstring IVML24_config,$@)" ] || \
722 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
724 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
725 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
727 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
728 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
730 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
734 IVMS8_config: unconfig
735 @mkdir -p $(obj)include
736 @ >$(obj)include/config.h
737 @[ -z "$(findstring IVMS8_config,$@)" ] || \
738 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
740 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
741 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
743 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
744 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
746 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
748 KUP4K_config : unconfig
749 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
751 KUP4X_config : unconfig
752 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
754 LANTEC_config : unconfig
755 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
757 lwmon_config: unconfig
758 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
761 MBX860T_config: unconfig
762 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
764 MHPC_config: unconfig
765 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
767 MVS1_config : unconfig
768 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
770 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
773 NETVIA_config: unconfig
774 @mkdir -p $(obj)include
775 @ >$(obj)include/config.h
776 @[ -z "$(findstring NETVIA_config,$@)" ] || \
777 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
778 echo "... Version 1" ; \
780 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
781 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
782 echo "... Version 2" ; \
784 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
786 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
789 NETPHONE_config: unconfig
790 @mkdir -p $(obj)include
791 @ >$(obj)include/config.h
792 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
793 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
795 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
796 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
798 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
800 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
802 NETTA_ISDN_6412_SWAPHOOK_config \
803 NETTA_ISDN_SWAPHOOK_config \
804 NETTA_6412_SWAPHOOK_config \
805 NETTA_SWAPHOOK_config \
806 NETTA_ISDN_6412_config \
809 NETTA_config: unconfig
810 @mkdir -p $(obj)include
811 @ >$(obj)include/config.h
812 @[ -z "$(findstring ISDN_,$@)" ] || \
813 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
815 @[ -n "$(findstring ISDN_,$@)" ] || \
816 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
818 @[ -z "$(findstring 6412_,$@)" ] || \
819 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
821 @[ -n "$(findstring 6412_,$@)" ] || \
822 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
824 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
825 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
827 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
828 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
830 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
832 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
835 NETTA2_config: unconfig
836 @mkdir -p $(obj)include
837 @ >$(obj)include/config.h
838 @[ -z "$(findstring NETTA2_config,$@)" ] || \
839 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
841 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
842 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
844 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
848 CP850_config: unconfig
849 @mkdir -p $(obj)include
850 @ >$(obj)include/config.h
851 @[ -z "$(findstring CP850,$@)" ] || \
852 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
853 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
855 @[ -z "$(findstring Rev1,$@)" ] || \
856 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
858 @[ -z "$(findstring Rev2,$@)" ] || \
859 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
861 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
863 NX823_config: unconfig
864 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
866 pcu_e_config: unconfig
867 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
869 QS850_config: unconfig
870 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
872 QS823_config: unconfig
873 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
875 QS860T_config: unconfig
876 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
878 quantum_config: unconfig
879 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
881 R360MPI_config: unconfig
882 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
884 RBC823_config: unconfig
885 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
887 RPXClassic_config: unconfig
888 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
890 RPXlite_config: unconfig
891 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
893 RPXlite_DW_64_config \
894 RPXlite_DW_LCD_config \
895 RPXlite_DW_64_LCD_config \
896 RPXlite_DW_NVRAM_config \
897 RPXlite_DW_NVRAM_64_config \
898 RPXlite_DW_NVRAM_LCD_config \
899 RPXlite_DW_NVRAM_64_LCD_config \
900 RPXlite_DW_config: unconfig
901 @mkdir -p $(obj)include
902 @ >$(obj)include/config.h
903 @[ -z "$(findstring _64,$@)" ] || \
904 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
905 echo "... with 64MHz system clock ..."; \
907 @[ -z "$(findstring _LCD,$@)" ] || \
908 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
909 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
910 echo "... with LCD display ..."; \
912 @[ -z "$(findstring _NVRAM,$@)" ] || \
913 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
914 echo "... with ENV in NVRAM ..."; \
916 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
919 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
921 RRvision_config: unconfig
922 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
924 RRvision_LCD_config: unconfig
925 @mkdir -p $(obj)include
926 @echo "#define CONFIG_LCD" >$(obj)include/config.h
927 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
928 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
930 SM850_config : unconfig
931 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
934 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
936 SPD823TS_config: unconfig
937 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
939 stxxtc_config: unconfig
940 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
942 svm_sc8xx_config: unconfig
943 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
945 SXNI855T_config: unconfig
946 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
948 # EMK MPC8xx based modules
949 TOP860_config: unconfig
950 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
952 # Play some tricks for configuration selection
953 # Only 855 and 860 boards may come with FEC
954 # and only 823 boards may have LCD support
955 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
973 virtlab2_config: unconfig
974 @mkdir -p $(obj)include
975 @ >$(obj)include/config.h
976 @[ -z "$(findstring _LCD,$@)" ] || \
977 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
978 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
979 echo "... with LCD display" ; \
981 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
983 TTTech_config: unconfig
984 @mkdir -p $(obj)include
985 @echo "#define CONFIG_LCD" >$(obj)include/config.h
986 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
987 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
989 uc100_config : unconfig
990 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
993 @mkdir -p $(obj)include
994 @echo "#define CONFIG_LCD" >$(obj)include/config.h
995 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
996 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
999 @mkdir -p $(obj)include
1000 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1001 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1002 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1004 #########################################################################
1006 #########################################################################
1007 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1009 acadia_config: unconfig
1010 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1012 ADCIOP_config: unconfig
1013 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1015 alpr_config: unconfig
1016 @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
1018 AP1000_config:unconfig
1019 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1021 APC405_config: unconfig
1022 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1024 AR405_config: unconfig
1025 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1027 ASH405_config: unconfig
1028 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1030 bamboo_config: unconfig
1031 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1033 bubinga_config: unconfig
1034 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1036 CANBT_config: unconfig
1037 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1040 CATcenter_25_config \
1041 CATcenter_33_config: unconfig
1042 @mkdir -p $(obj)include
1043 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1044 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1045 @[ -z "$(findstring _25,$@)" ] || \
1046 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1047 echo "SysClk = 25MHz" ; \
1049 @[ -z "$(findstring _33,$@)" ] || \
1050 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1051 echo "SysClk = 33MHz" ; \
1053 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1055 CPCI2DP_config: unconfig
1056 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1061 CPCI405AB_config: unconfig
1062 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1063 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1065 CPCI440_config: unconfig
1066 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd
1068 CPCIISER4_config: unconfig
1069 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1071 CRAYL1_config: unconfig
1072 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1074 csb272_config: unconfig
1075 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1077 csb472_config: unconfig
1078 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1080 DASA_SIM_config: unconfig
1081 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1083 DP405_config: unconfig
1084 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1086 DU405_config: unconfig
1087 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1089 ebony_config: unconfig
1090 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1092 ERIC_config: unconfig
1093 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1095 EXBITGEN_config: unconfig
1096 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1098 G2000_config: unconfig
1099 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1101 HH405_config: unconfig
1102 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1104 HUB405_config: unconfig
1105 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1107 JSE_config: unconfig
1108 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1110 KAREF_config: unconfig
1111 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1113 katmai_config: unconfig
1114 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1116 luan_config: unconfig
1117 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1119 METROBOX_config: unconfig
1120 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1122 MIP405_config: unconfig
1123 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1125 MIP405T_config: unconfig
1126 @mkdir -p $(obj)include
1127 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1128 @echo "Enable subset config for MIP405T"
1129 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1131 ML2_config: unconfig
1132 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1134 ml300_config: unconfig
1135 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1137 ocotea_config: unconfig
1138 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1141 ORSG_config: unconfig
1142 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1144 p3p440_config: unconfig
1145 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1147 PCI405_config: unconfig
1148 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1150 pcs440ep_config: unconfig
1151 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1153 PIP405_config: unconfig
1154 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1156 PLU405_config: unconfig
1157 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1159 PMC405_config: unconfig
1160 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1162 PPChameleonEVB_config \
1163 PPChameleonEVB_BA_25_config \
1164 PPChameleonEVB_ME_25_config \
1165 PPChameleonEVB_HI_25_config \
1166 PPChameleonEVB_BA_33_config \
1167 PPChameleonEVB_ME_33_config \
1168 PPChameleonEVB_HI_33_config: unconfig
1169 @mkdir -p $(obj)include
1170 @ >$(obj)include/config.h
1171 @[ -z "$(findstring EVB_BA,$@)" ] || \
1172 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1173 echo "... BASIC model" ; \
1175 @[ -z "$(findstring EVB_ME,$@)" ] || \
1176 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1177 echo "... MEDIUM model" ; \
1179 @[ -z "$(findstring EVB_HI,$@)" ] || \
1180 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1181 echo "... HIGH-END model" ; \
1183 @[ -z "$(findstring _25,$@)" ] || \
1184 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1185 echo "SysClk = 25MHz" ; \
1187 @[ -z "$(findstring _33,$@)" ] || \
1188 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1189 echo "SysClk = 33MHz" ; \
1191 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1193 sbc405_config: unconfig
1194 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1197 rainier_config: unconfig
1198 @mkdir -p $(obj)include
1199 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1200 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1201 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1203 sequoia_nand_config \
1204 rainier_nand_config: unconfig
1205 @mkdir -p $(obj)include
1206 @mkdir -p $(obj)nand_spl
1207 @mkdir -p $(obj)board/amcc/sequoia
1208 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1209 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1210 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1211 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1212 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1213 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1216 @./mkconfig $(@:_config=) ppc ppc4xx sc3
1218 taishan_config: unconfig
1219 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1221 VOH405_config: unconfig
1222 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1224 VOM405_config: unconfig
1225 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1227 CMS700_config: unconfig
1228 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1231 W7OLMG_config: unconfig
1232 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1234 # Walnut & Sycamore images are identical (recognized via PVR)
1236 sycamore_config: unconfig
1237 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1239 WUH405_config: unconfig
1240 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1242 XPEDITE1K_config: unconfig
1243 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1246 yellowstone_config: unconfig
1247 @mkdir -p $(obj)include
1248 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1249 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1250 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1252 yucca_config: unconfig
1253 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1255 #########################################################################
1257 #########################################################################
1260 Yukon8220_config: unconfig
1261 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1263 sorcery_config: unconfig
1264 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1266 #########################################################################
1268 #########################################################################
1269 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1271 A3000_config: unconfig
1272 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1274 barco_config: unconfig
1275 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1277 BMW_config: unconfig
1278 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1281 CPC45_ROMBOOT_config: unconfig
1282 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1283 @cd $(obj)include ; \
1284 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1285 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1286 echo "... booting from 8-bit flash" ; \
1288 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1289 echo "... booting from 64-bit flash" ; \
1291 echo "export CONFIG_BOOT_ROM" >> config.mk;
1293 CU824_config: unconfig
1294 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1296 debris_config: unconfig
1297 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1299 eXalion_config: unconfig
1300 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1302 HIDDEN_DRAGON_config: unconfig
1303 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1305 kvme080_config: unconfig
1306 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1308 MOUSSE_config: unconfig
1309 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1311 MUSENKI_config: unconfig
1312 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1314 MVBLUE_config: unconfig
1315 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1317 OXC_config: unconfig
1318 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1320 PN62_config: unconfig
1321 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1323 Sandpoint8240_config: unconfig
1324 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1326 Sandpoint8245_config: unconfig
1327 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1329 sbc8240_config: unconfig
1330 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1332 SL8245_config: unconfig
1333 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1335 utx8245_config: unconfig
1336 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1338 #########################################################################
1340 #########################################################################
1342 atc_config: unconfig
1343 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1345 cogent_mpc8260_config: unconfig
1346 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1349 CPU86_ROMBOOT_config: unconfig
1350 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1351 @cd $(obj)include ; \
1352 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1353 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1354 echo "... booting from 8-bit flash" ; \
1356 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1357 echo "... booting from 64-bit flash" ; \
1359 echo "export CONFIG_BOOT_ROM" >> config.mk;
1362 CPU87_ROMBOOT_config: unconfig
1363 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1364 @cd $(obj)include ; \
1365 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1366 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1367 echo "... booting from 8-bit flash" ; \
1369 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1370 echo "... booting from 64-bit flash" ; \
1372 echo "export CONFIG_BOOT_ROM" >> config.mk;
1375 ep8248E_config : unconfig
1376 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1378 ep8260_config: unconfig
1379 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1381 ep82xxm_config: unconfig
1382 @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
1384 gw8260_config: unconfig
1385 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1387 hymod_config: unconfig
1388 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1390 IDS8247_config: unconfig
1391 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1393 IPHASE4539_config: unconfig
1394 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1397 ISPAN_REVB_config: unconfig
1398 @mkdir -p $(obj)include
1399 @if [ "$(findstring _REVB_,$@)" ] ; then \
1400 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1402 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1405 MPC8260ADS_lowboot_config \
1406 MPC8260ADS_33MHz_config \
1407 MPC8260ADS_33MHz_lowboot_config \
1408 MPC8260ADS_40MHz_config \
1409 MPC8260ADS_40MHz_lowboot_config \
1411 MPC8272ADS_lowboot_config \
1413 PQ2FADS_lowboot_config \
1415 PQ2FADS-VR_lowboot_config \
1417 PQ2FADS-ZU_lowboot_config \
1418 PQ2FADS-ZU_66MHz_config \
1419 PQ2FADS-ZU_66MHz_lowboot_config \
1421 @mkdir -p $(obj)include
1422 @mkdir -p $(obj)board/mpc8260ads
1423 $(if $(findstring PQ2FADS,$@), \
1424 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1425 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1426 $(if $(findstring MHz,$@), \
1427 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1428 $(if $(findstring VR,$@), \
1429 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1430 @[ -z "$(findstring lowboot_,$@)" ] || \
1431 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1432 echo "... with lowboot configuration" ; \
1434 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1436 MPC8266ADS_config: unconfig
1437 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1439 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1441 PM825_ROMBOOT_config \
1442 PM825_BIGFLASH_config \
1443 PM825_ROMBOOT_BIGFLASH_config \
1445 PM826_ROMBOOT_config \
1446 PM826_BIGFLASH_config \
1447 PM826_ROMBOOT_BIGFLASH_config: unconfig
1448 @mkdir -p $(obj)include
1449 @mkdir -p $(obj)board/pm826
1450 @if [ "$(findstring PM825_,$@)" ] ; then \
1451 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1453 >$(obj)include/config.h ; \
1455 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1456 echo "... booting from 8-bit flash" ; \
1457 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1458 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1459 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1460 echo "... with 32 MB Flash" ; \
1461 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1464 echo "... booting from 64-bit flash" ; \
1465 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1466 echo "... with 32 MB Flash" ; \
1467 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1468 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1470 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1473 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1477 PM828_ROMBOOT_config \
1478 PM828_ROMBOOT_PCI_config: unconfig
1479 @mkdir -p $(obj)include
1480 @mkdir -p $(obj)board/pm826
1481 @if [ "$(findstring _PCI_,$@)" ] ; then \
1482 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1483 echo "... with PCI enabled" ; \
1485 >$(obj)include/config.h ; \
1487 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1488 echo "... booting from 8-bit flash" ; \
1489 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1490 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1492 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1494 ppmc8260_config: unconfig
1495 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1497 Rattler8248_config \
1498 Rattler_config: unconfig
1499 @mkdir -p $(obj)include
1500 $(if $(findstring 8248,$@), \
1501 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1502 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1504 RPXsuper_config: unconfig
1505 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1507 rsdproto_config: unconfig
1508 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1510 sacsng_config: unconfig
1511 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1513 sbc8260_config: unconfig
1514 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1516 SCM_config: unconfig
1517 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1529 TQM8265_AA_config: unconfig
1530 @mkdir -p $(obj)include
1532 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1533 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1534 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1535 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1536 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1537 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1538 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1539 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1540 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1541 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1542 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1544 >$(obj)include/config.h ; \
1545 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1546 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1548 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1549 echo "... with $${CFREQ}MHz system clock" ; \
1550 if [ "$${CACHE}" == "yes" ] ; then \
1551 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1552 echo "... with L2 Cache support" ; \
1554 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1555 echo "... without L2 Cache support" ; \
1557 if [ "$${BMODE}" == "60x" ] ; then \
1558 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1559 echo "... with 60x Bus Mode" ; \
1561 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1562 echo "... without 60x Bus Mode" ; \
1564 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1566 TQM8272_config: unconfig
1567 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1569 VoVPN-GW_66MHz_config \
1570 VoVPN-GW_100MHz_config: unconfig
1571 @mkdir -p $(obj)include
1572 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1573 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1575 ZPC1900_config: unconfig
1576 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1578 #########################################################################
1580 #########################################################################
1582 cobra5272_config : unconfig
1583 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1585 EB+MCF-EV123_config : unconfig
1586 @mkdir -p $(obj)include
1587 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1588 @ >$(obj)include/config.h
1589 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1590 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1592 EB+MCF-EV123_internal_config : unconfig
1593 @mkdir -p $(obj)include
1594 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1595 @ >$(obj)include/config.h
1596 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1597 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1599 idmr_config : unconfig
1600 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1602 M5271EVB_config : unconfig
1603 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1605 M5272C3_config : unconfig
1606 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1608 M5282EVB_config : unconfig
1609 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1611 TASREG_config : unconfig
1612 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1614 r5200_config : unconfig
1615 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1617 #########################################################################
1619 #########################################################################
1621 MPC832XEMDS_config \
1622 MPC832XEMDS_HOST_33_config \
1623 MPC832XEMDS_HOST_66_config \
1624 MPC832XEMDS_SLAVE_config: unconfig
1625 @echo "" >include/config.h ; \
1626 if [ "$(findstring _HOST_,$@)" ] ; then \
1627 echo -n "... PCI HOST " ; \
1628 echo "#define CONFIG_PCI" >>include/config.h ; \
1630 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1631 echo "...PCI SLAVE 66M" ; \
1632 echo "#define CONFIG_PCI" >>include/config.h ; \
1633 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1635 if [ "$(findstring _33_,$@)" ] ; then \
1636 echo -n "...33M ..." ; \
1637 echo "#define PCI_33M" >>include/config.h ; \
1639 if [ "$(findstring _66_,$@)" ] ; then \
1640 echo -n "...66M..." ; \
1641 echo "#define PCI_66M" >>include/config.h ; \
1643 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
1645 MPC8349EMDS_config: unconfig
1646 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
1649 MPC8349ITX_LOWBOOT_config \
1650 MPC8349ITXGP_config: unconfig
1651 @mkdir -p $(obj)include
1652 @mkdir -p $(obj)board/mpc8349itx
1653 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1654 @if [ "$(findstring GP,$@)" ] ; then \
1655 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1657 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1658 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1660 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx
1662 MPC8360EMDS_config \
1663 MPC8360EMDS_HOST_33_config \
1664 MPC8360EMDS_HOST_66_config \
1665 MPC8360EMDS_SLAVE_config: unconfig
1666 @echo "" >include/config.h ; \
1667 if [ "$(findstring _HOST_,$@)" ] ; then \
1668 echo -n "... PCI HOST " ; \
1669 echo "#define CONFIG_PCI" >>include/config.h ; \
1671 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1672 echo "...PCI SLAVE 66M" ; \
1673 echo "#define CONFIG_PCI" >>include/config.h ; \
1674 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1676 if [ "$(findstring _33_,$@)" ] ; then \
1677 echo -n "...33M ..." ; \
1678 echo "#define PCI_33M" >>include/config.h ; \
1680 if [ "$(findstring _66_,$@)" ] ; then \
1681 echo -n "...66M..." ; \
1682 echo "#define PCI_66M" >>include/config.h ; \
1684 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1686 sbc8349_config: unconfig
1687 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1689 TQM834x_config: unconfig
1690 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1693 #########################################################################
1695 #########################################################################
1697 MPC8540ADS_config: unconfig
1698 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
1700 MPC8540EVAL_config \
1701 MPC8540EVAL_33_config \
1702 MPC8540EVAL_66_config \
1703 MPC8540EVAL_33_slave_config \
1704 MPC8540EVAL_66_slave_config: unconfig
1705 @mkdir -p $(obj)include
1706 @echo "" >$(obj)include/config.h ; \
1707 if [ "$(findstring _33_,$@)" ] ; then \
1708 echo -n "... 33 MHz PCI" ; \
1710 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1711 echo -n "... 66 MHz PCI" ; \
1713 if [ "$(findstring _slave_,$@)" ] ; then \
1714 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
1719 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1721 MPC8560ADS_config: unconfig
1722 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
1724 MPC8541CDS_config: unconfig
1725 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
1727 MPC8548CDS_config: unconfig
1728 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
1730 MPC8555CDS_config: unconfig
1731 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
1733 PM854_config: unconfig
1734 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
1736 PM856_config: unconfig
1737 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
1741 sbc8540_66_config: unconfig
1742 @mkdir -p $(obj)include
1743 @if [ "$(findstring _66_,$@)" ] ; then \
1744 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1745 echo "... 66 MHz PCI" ; \
1747 >$(obj)include/config.h ; \
1748 echo "... 33 MHz PCI" ; \
1750 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
1754 sbc8560_66_config: unconfig
1755 @mkdir -p $(obj)include
1756 @if [ "$(findstring _66_,$@)" ] ; then \
1757 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1758 echo "... 66 MHz PCI" ; \
1760 >$(obj)include/config.h ; \
1761 echo "... 33 MHz PCI" ; \
1763 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
1765 stxgp3_config: unconfig
1766 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
1771 TQM8560_config: unconfig
1772 @mkdir -p $(obj)include
1773 @CTYPE=$(subst TQM,,$(@:_config=)); \
1774 >$(obj)include/config.h ; \
1775 echo "... TQM"$${CTYPE}; \
1776 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1777 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1778 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1779 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1780 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1781 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
1783 #########################################################################
1785 #########################################################################
1787 MPC8641HPCN_config: unconfig
1788 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1791 #########################################################################
1793 #########################################################################
1795 AmigaOneG3SE_config: unconfig
1796 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
1798 BAB7xx_config: unconfig
1799 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
1801 CPCI750_config: unconfig
1802 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
1804 DB64360_config: unconfig
1805 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
1807 DB64460_config: unconfig
1808 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
1810 ELPPC_config: unconfig
1811 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
1814 EVB64260_750CX_config: unconfig
1815 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
1817 P3G4_config: unconfig
1818 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1821 p3m7448_config: unconfig
1822 @mkdir -p $(obj)include
1823 @if [ "$(findstring 750_,$@)" ] ; then \
1824 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1826 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1828 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1831 PCIPPC6_config: unconfig
1832 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
1834 ZUMA_config: unconfig
1835 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1837 ppmc7xx_config: unconfig
1838 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
1840 #========================================================================
1842 #========================================================================
1843 #########################################################################
1844 ## StrongARM Systems
1845 #########################################################################
1847 assabet_config : unconfig
1848 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
1850 dnp1110_config : unconfig
1851 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
1853 gcplus_config : unconfig
1854 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
1856 lart_config : unconfig
1857 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
1859 shannon_config : unconfig
1860 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
1862 #########################################################################
1864 #########################################################################
1866 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
1868 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
1870 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1872 at91rm9200dk_config : unconfig
1873 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
1875 cmc_pu2_config : unconfig
1876 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
1878 csb637_config : unconfig
1879 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
1881 mp2usb_config : unconfig
1882 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
1885 ########################################################################
1886 ## ARM Integrator boards - see doc/README-integrator for more info.
1887 integratorap_config \
1896 ap946es_config: unconfig
1897 @board/integratorap/split_by_variant.sh $@
1899 integratorcp_config \
1908 cp1026_config: unconfig
1909 @board/integratorcp/split_by_variant.sh $@
1911 kb9202_config : unconfig
1912 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
1915 lpd7a404_config: unconfig
1916 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
1918 mx1ads_config : unconfig
1919 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
1921 mx1fs2_config : unconfig
1922 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
1925 netstar_config: unconfig
1926 @mkdir -p $(obj)include
1927 @if [ "$(findstring _32_,$@)" ] ; then \
1928 echo "... 32MB SDRAM" ; \
1929 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
1931 echo "... 64MB SDRAM" ; \
1932 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
1934 @$(MKCONFIG) -a netstar arm arm925t netstar
1936 omap1510inn_config : unconfig
1937 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
1939 omap5912osk_config : unconfig
1940 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1942 omap1610inn_config \
1943 omap1610inn_cs0boot_config \
1944 omap1610inn_cs3boot_config \
1945 omap1610inn_cs_autoboot_config \
1947 omap1610h2_cs0boot_config \
1948 omap1610h2_cs3boot_config \
1949 omap1610h2_cs_autoboot_config: unconfig
1950 @mkdir -p $(obj)include
1951 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1952 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
1953 echo "... configured for CS0 boot"; \
1954 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
1955 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
1956 echo "... configured for CS_AUTO boot"; \
1958 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
1959 echo "... configured for CS3 boot"; \
1961 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
1964 omap730p2_cs0boot_config \
1965 omap730p2_cs3boot_config : unconfig
1966 @mkdir -p $(obj)include
1967 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1968 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
1969 echo "... configured for CS0 boot"; \
1971 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
1972 echo "... configured for CS3 boot"; \
1974 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
1976 sbc2410x_config: unconfig
1977 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
1979 scb9328_config : unconfig
1980 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
1982 smdk2400_config : unconfig
1983 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
1985 smdk2410_config : unconfig
1986 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
1988 SX1_config : unconfig
1989 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
1991 # TRAB default configuration: 8 MB Flash, 32 MB RAM
1993 trab_bigram_config \
1994 trab_bigflash_config \
1995 trab_old_config: unconfig
1996 @mkdir -p $(obj)include
1997 @mkdir -p $(obj)board/trab
1998 @ >$(obj)include/config.h
1999 @[ -z "$(findstring _bigram,$@)" ] || \
2000 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2001 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2002 echo "... with 8 MB Flash, 32 MB RAM" ; \
2004 @[ -z "$(findstring _bigflash,$@)" ] || \
2005 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2006 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2007 echo "... with 16 MB Flash, 16 MB RAM" ; \
2008 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2010 @[ -z "$(findstring _old,$@)" ] || \
2011 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2012 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2013 echo "... with 8 MB Flash, 16 MB RAM" ; \
2014 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2016 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2018 VCMA9_config : unconfig
2019 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2021 #========================================================================
2022 # ARM supplied Versatile development boards
2023 #========================================================================
2025 versatileab_config \
2026 versatilepb_config : unconfig
2027 @board/versatile/split_by_variant.sh $@
2029 voiceblue_smallflash_config \
2030 voiceblue_config: unconfig
2031 @mkdir -p $(obj)include
2032 @mkdir -p $(obj)board/voiceblue
2033 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2034 echo "... boot from lower flash bank" ; \
2035 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2036 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2038 echo "... boot from upper flash bank" ; \
2039 >$(obj)include/config.h ; \
2040 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2042 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2044 cm4008_config : unconfig
2045 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2047 cm41xx_config : unconfig
2048 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2050 gth2_config : unconfig
2051 @mkdir -p $(obj)include
2052 @ >$(obj)include/config.h
2053 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2054 @$(MKCONFIG) -a gth2 mips mips gth2
2056 #########################################################################
2058 #########################################################################
2060 B2_config : unconfig
2061 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2063 #########################################################################
2065 #########################################################################
2067 armadillo_config: unconfig
2068 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2070 ep7312_config : unconfig
2071 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2073 impa7_config : unconfig
2074 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2076 modnet50_config : unconfig
2077 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2079 evb4510_config : unconfig
2080 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2082 lpc2292sodimm_config: unconfig
2083 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2085 #########################################################################
2087 #########################################################################
2089 adsvix_config : unconfig
2090 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2092 cerf250_config : unconfig
2093 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2095 cradle_config : unconfig
2096 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2098 csb226_config : unconfig
2099 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2102 @$(MKCONFIG) $(@:_config=) arm pxa delta
2104 innokom_config : unconfig
2105 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2107 ixdp425_config : unconfig
2108 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2110 ixdpg425_config : unconfig
2111 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2113 lubbock_config : unconfig
2114 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2116 pleb2_config : unconfig
2117 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2119 logodl_config : unconfig
2120 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2123 scpu_config: unconfig
2124 @if [ "$(findstring scpu_,$@)" ] ; then \
2125 echo "#define CONFIG_SCPU" >>include/config.h ; \
2126 echo "... on SCPU board variant" ; \
2128 >include/config.h ; \
2130 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2132 pxa255_idp_config: unconfig
2133 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2135 wepep250_config : unconfig
2136 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2138 xaeniax_config : unconfig
2139 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2141 xm250_config : unconfig
2142 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2144 xsengine_config : unconfig
2145 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2148 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2150 #########################################################################
2152 #########################################################################
2153 omap2420h4_config : unconfig
2154 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2156 #========================================================================
2158 #========================================================================
2159 #########################################################################
2161 #########################################################################
2162 sc520_cdp_config : unconfig
2163 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2165 sc520_spunk_config : unconfig
2166 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2168 sc520_spunk_rel_config : unconfig
2169 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2171 #========================================================================
2173 #========================================================================
2174 #########################################################################
2176 #########################################################################
2178 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2180 incaip_100MHz_config \
2181 incaip_133MHz_config \
2182 incaip_150MHz_config \
2183 incaip_config: unconfig
2184 @mkdir -p $(obj)include
2185 @ >$(obj)include/config.h
2186 @[ -z "$(findstring _100MHz,$@)" ] || \
2187 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2188 echo "... with 100MHz system clock" ; \
2190 @[ -z "$(findstring _133MHz,$@)" ] || \
2191 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2192 echo "... with 133MHz system clock" ; \
2194 @[ -z "$(findstring _150MHz,$@)" ] || \
2195 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2196 echo "... with 150MHz system clock" ; \
2198 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2200 tb0229_config: unconfig
2201 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2203 #########################################################################
2205 #########################################################################
2206 dbau1000_config : unconfig
2207 @mkdir -p $(obj)include
2208 @ >$(obj)include/config.h
2209 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2210 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2212 dbau1100_config : unconfig
2213 @mkdir -p $(obj)include
2214 @ >$(obj)include/config.h
2215 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2216 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2218 dbau1500_config : unconfig
2219 @mkdir -p $(obj)include
2220 @ >$(obj)include/config.h
2221 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2222 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2224 dbau1550_config : unconfig
2225 @mkdir -p $(obj)include
2226 @ >$(obj)include/config.h
2227 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2228 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2230 dbau1550_el_config : unconfig
2231 @mkdir -p $(obj)include
2232 @ >$(obj)include/config.h
2233 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2234 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2236 pb1000_config : unconfig
2237 @mkdir -p $(obj)include
2238 @ >$(obj)include/config.h
2239 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2240 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2242 #########################################################################
2244 #########################################################################
2246 purple_config : unconfig
2247 @$(MKCONFIG) $(@:_config=) mips mips purple
2249 #========================================================================
2251 #========================================================================
2252 #########################################################################
2254 #########################################################################
2256 DK1C20_safe_32_config \
2257 DK1C20_standard_32_config \
2258 DK1C20_config: unconfig
2259 @mkdir -p $(obj)include
2260 @ >$(obj)include/config.h
2261 @[ -z "$(findstring _safe_32,$@)" ] || \
2262 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2263 echo "... NIOS 'safe_32' configuration" ; \
2265 @[ -z "$(findstring _standard_32,$@)" ] || \
2266 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2267 echo "... NIOS 'standard_32' configuration" ; \
2269 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2270 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2271 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2273 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2275 DK1S10_safe_32_config \
2276 DK1S10_standard_32_config \
2277 DK1S10_mtx_ldk_20_config \
2278 DK1S10_config: unconfig
2279 @mkdir -p $(obj)include
2280 @ >$(obj)include/config.h
2281 @[ -z "$(findstring _safe_32,$@)" ] || \
2282 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2283 echo "... NIOS 'safe_32' configuration" ; \
2285 @[ -z "$(findstring _standard_32,$@)" ] || \
2286 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2287 echo "... NIOS 'standard_32' configuration" ; \
2289 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2290 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2291 echo "... NIOS 'mtx_ldk_20' configuration" ; \
2293 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2294 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2295 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2297 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2299 ADNPESC1_DNPEVA2_base_32_config \
2300 ADNPESC1_base_32_config \
2301 ADNPESC1_config: unconfig
2302 @mkdir -p $(obj)include
2303 @ >$(obj)include/config.h
2304 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2305 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2306 echo "... DNP/EVA2 configuration" ; \
2308 @[ -z "$(findstring _base_32,$@)" ] || \
2309 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2310 echo "... NIOS 'base_32' configuration" ; \
2312 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2313 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2314 echo "... NIOS 'base_32' configuration (DEFAULT)" ; \
2316 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2318 #########################################################################
2320 #########################################################################
2322 EP1C20_config : unconfig
2323 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2325 EP1S10_config : unconfig
2326 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2328 EP1S40_config : unconfig
2329 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2331 PK1C20_config : unconfig
2332 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2334 PCI5441_config : unconfig
2335 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2337 #========================================================================
2339 #========================================================================
2340 #########################################################################
2342 #########################################################################
2343 suzaku_config: unconfig
2344 @mkdir -p $(obj)include
2345 @ >$(obj)include/config.h
2346 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2347 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2349 ml401_config: unconfig
2351 @echo "#define CONFIG_ML401 1" >> include/config.h
2352 @./mkconfig -a $(@:_config=) microblaze microblaze ml401 xilinx
2354 xupv2p_config: unconfig
2356 @echo "#define CONFIG_XUPV2P 1" >> include/config.h
2357 @./mkconfig -a $(@:_config=) microblaze microblaze xupv2p xilinx
2359 #########################################################################
2361 #########################################################################
2362 bf533-ezkit_config: unconfig
2363 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit
2365 bf533-stamp_config: unconfig
2366 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp
2368 bf537-stamp_config: unconfig
2369 @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp
2371 bf561-ezkit_config: unconfig
2372 @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit
2374 #========================================================================
2376 #========================================================================
2377 #########################################################################
2379 #########################################################################
2381 atstk1002_config : unconfig
2382 @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
2384 #########################################################################
2385 #########################################################################
2386 #########################################################################
2389 find $(OBJTREE) -type f \
2390 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2391 -o -name '*.o' -o -name '*.a' \) -print \
2393 rm -f $(obj)examples/hello_world $(obj)examples/timer \
2394 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2395 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2396 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2397 $(obj)examples/test_burst
2398 rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2399 $(obj)tools/gen_eth_addr
2400 rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2401 rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2402 rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2403 rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2404 rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2405 rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2406 rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2407 rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2408 rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2409 rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds
2410 rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds
2411 rm -f $(obj)include/bmp_logo.h
2412 rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2415 find $(OBJTREE) -type f \( -name .depend \
2416 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2419 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
2421 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2422 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
2423 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2424 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2425 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2427 ifeq ($(OBJTREE),$(SRCTREE))
2429 distclean: clobber unconfig
2432 distclean: clobber unconfig
2437 F=`basename $(TOPDIR)` ; cd .. ; \
2438 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2440 #########################################################################