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-uclinux-
152 CROSS_COMPILE = avr32-linux-
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
177 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
178 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
181 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
182 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
185 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
186 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
189 OBJS := $(addprefix $(obj),$(OBJS))
191 LIBS = lib_generic/libgeneric.a
192 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
193 LIBS += cpu/$(CPU)/lib$(CPU).a
195 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
197 LIBS += lib_$(ARCH)/lib$(ARCH).a
198 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
199 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
201 LIBS += disk/libdisk.a
204 LIBS += drivers/libdrivers.a
205 LIBS += drivers/nand/libnand.a
206 LIBS += drivers/nand_legacy/libnand_legacy.a
207 ifeq ($(CPU),mpc83xx)
208 LIBS += drivers/qe/qe.a
210 LIBS += drivers/sk98lin/libsk98lin.a
211 LIBS += post/libpost.a post/drivers/libpostdrivers.a
212 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
213 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
214 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
215 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
216 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
217 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
218 LIBS += common/libcommon.a
219 LIBS += libfdt/libfdt.a
222 LIBS := $(addprefix $(obj),$(LIBS))
226 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
228 # The "tools" are needed early, so put this first
229 # Don't include stuff already done in $(LIBS)
235 ifeq ($(CONFIG_NAND_U_BOOT),y)
237 U_BOOT_NAND = $(obj)u-boot-nand.bin
240 __OBJS := $(subst $(obj),,$(OBJS))
241 __LIBS := $(subst $(obj),,$(LIBS))
243 #########################################################################
244 #########################################################################
246 ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
250 $(obj)u-boot.hex: $(obj)u-boot
251 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
253 $(obj)u-boot.srec: $(obj)u-boot
254 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
256 $(obj)u-boot.bin: $(obj)u-boot
257 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
259 $(obj)u-boot.img: $(obj)u-boot.bin
260 ./tools/mkimage -A $(ARCH) -T firmware -C none \
261 -a $(TEXT_BASE) -e 0 \
262 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
263 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
266 $(obj)u-boot.dis: $(obj)u-boot
267 $(OBJDUMP) -d $< > $@
269 $(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
270 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
271 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
272 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
273 -Map u-boot.map -o u-boot
276 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
279 $(MAKE) -C $(dir $(subst $(obj),,$@))
285 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
287 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
288 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
291 @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
292 echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
293 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
294 $(TOPDIR)) >> $(VERSION_FILE); \
295 echo "\"" >> $(VERSION_FILE)
298 $(MAKE) -C tools/gdb all || exit 1
301 $(MAKE) -C tools/updater all || exit 1
304 $(MAKE) -C tools/env all || exit 1
307 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
310 ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
311 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
312 fs/cramfs fs/fat fs/fdos fs/jffs2 \
313 net disk rtc dtt drivers drivers/sk98lin common \
314 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
317 etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
318 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
319 fs/cramfs fs/fat fs/fdos fs/jffs2 \
320 net disk rtc dtt drivers drivers/sk98lin common \
321 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
323 $(obj)System.map: $(obj)u-boot
325 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
326 sort > $(obj)System.map
328 #########################################################################
330 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
331 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
332 $(SUBDIRS) version gdbtools updater env depend \
333 dep tags ctags etags $(obj)System.map:
334 @echo "System not configured - see README" >&2
340 git log --no-merges U-Boot-1_1_5.. | \
341 unexpand -a | sed -e 's/\s\s*$$//' > $@
343 #########################################################################
346 @rm -f $(obj)include/config.h $(obj)include/config.mk \
347 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp
349 #========================================================================
351 #========================================================================
353 #########################################################################
355 #########################################################################
357 canmb_config: unconfig
358 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
360 cmi_mpc5xx_config: unconfig
361 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
363 PATI_config: unconfig
364 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
366 #########################################################################
368 #########################################################################
371 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
373 BC3450_config: unconfig
374 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
376 cpci5200_config: unconfig
377 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
379 hmi1001_config: unconfig
380 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
383 Lite5200_LOWBOOT_config \
384 Lite5200_LOWBOOT08_config \
385 icecube_5200_config \
386 icecube_5200_LOWBOOT_config \
387 icecube_5200_LOWBOOT08_config \
388 icecube_5200_DDR_config \
389 icecube_5200_DDR_LOWBOOT_config \
390 icecube_5200_DDR_LOWBOOT08_config \
391 icecube_5100_config: unconfig
392 @mkdir -p $(obj)include
393 @mkdir -p $(obj)board/icecube
394 @ >$(obj)include/config.h
395 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
396 { if [ "$(findstring DDR,$@)" ] ; \
397 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
398 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
400 echo "... with LOWBOOT configuration" ; \
402 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
403 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
404 echo "... with 8 MB flash only" ; \
405 echo "... with LOWBOOT configuration" ; \
407 @[ -z "$(findstring DDR,$@)" ] || \
408 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
409 echo "... DDR memory revision" ; \
411 @[ -z "$(findstring 5200,$@)" ] || \
412 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
413 echo "... with MPC5200 processor" ; \
415 @[ -z "$(findstring 5100,$@)" ] || \
416 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
417 echo "... with MGT5100 processor" ; \
419 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
421 jupiter_config: unconfig
422 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
424 v38b_config: unconfig
425 @./mkconfig -a v38b ppc mpc5xxx v38b
427 inka4x0_config: unconfig
428 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
431 lite5200b_PM_config \
432 lite5200b_LOWBOOT_config: unconfig
433 @mkdir -p $(obj)include
434 @mkdir -p $(obj)board/icecube
435 @ >$(obj)include/config.h
436 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
437 @ echo "... DDR memory revision"
438 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
439 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
440 @[ -z "$(findstring _PM_,$@)" ] || \
441 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
442 echo "... with power management (low-power mode) support" ; \
444 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
445 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
446 echo "... with LOWBOOT configuration" ; \
448 @ echo "... with MPC5200B processor"
449 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
452 mcc200_SDRAM_config \
453 mcc200_highboot_config \
454 mcc200_COM12_config \
455 mcc200_COM12_SDRAM_config \
456 mcc200_COM12_highboot_config \
457 mcc200_COM12_highboot_SDRAM_config \
458 mcc200_highboot_SDRAM_config \
461 prs200_highboot_config \
462 prs200_highboot_DDR_config: unconfig
463 @mkdir -p $(obj)include
464 @mkdir -p $(obj)board/mcc200
465 @ >$(obj)include/config.h
466 @[ -n "$(findstring highboot,$@)" ] || \
467 { echo "... with lowboot configuration" ; \
469 @[ -z "$(findstring highboot,$@)" ] || \
470 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
471 echo "... with highboot configuration" ; \
473 @[ -n "$(findstring _SDRAM,$@)" ] || \
474 { if [ -n "$(findstring mcc200,$@)" ]; \
476 echo "... with DDR" ; \
478 if [ -n "$(findstring _DDR,$@)" ];\
480 echo "... with DDR" ; \
482 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
483 echo "... with SDRAM" ; \
487 @[ -z "$(findstring _SDRAM,$@)" ] || \
488 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
489 echo "... with SDRAM" ; \
491 @[ -z "$(findstring COM12,$@)" ] || \
492 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
493 echo "... with console on COM12" ; \
495 @[ -z "$(findstring prs200,$@)" ] || \
496 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
498 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
500 mecp5200_config: unconfig
501 @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd
504 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
506 pf5200_config: unconfig
507 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
511 PM520_ROMBOOT_config \
512 PM520_ROMBOOT_DDR_config: unconfig
513 @mkdir -p $(obj)include
514 @ >$(obj)include/config.h
515 @[ -z "$(findstring DDR,$@)" ] || \
516 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
517 echo "... DDR memory revision" ; \
519 @[ -z "$(findstring ROMBOOT,$@)" ] || \
520 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
521 echo "... booting from 8-bit flash" ; \
523 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
525 smmaco4_config: unconfig
526 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
528 spieval_config: unconfig
529 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
532 TB5200_config: unconfig
533 @mkdir -p $(obj)include
534 @[ -z "$(findstring _B,$@)" ] || \
535 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
536 echo "... with MPC5200B processor" ; \
538 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
542 TOP5200_config: unconfig
543 @mkdir -p $(obj)include
544 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
545 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
549 Total5200_lowboot_config \
550 Total5200_Rev2_config \
551 Total5200_Rev2_lowboot_config: unconfig
552 @mkdir -p $(obj)include
553 @mkdir -p $(obj)board/total5200
554 @ >$(obj)include/config.h
555 @[ -z "$(findstring 5100,$@)" ] || \
556 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
557 echo "... with MGT5100 processor" ; \
559 @[ -z "$(findstring 5200,$@)" ] || \
560 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
561 echo "... with MPC5200 processor" ; \
563 @[ -n "$(findstring Rev,$@)" ] || \
564 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
565 echo "... revision 1 board" ; \
567 @[ -z "$(findstring Rev2_,$@)" ] || \
568 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
569 echo "... revision 2 board" ; \
571 @[ -z "$(findstring lowboot_,$@)" ] || \
572 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
573 echo "... with lowboot configuration" ; \
575 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
578 cam5200_niosflash_config \
582 TQM5200S_HIGHBOOT_config \
584 TQM5200_B_HIGHBOOT_config \
586 TQM5200_STK100_config: unconfig
587 @mkdir -p $(obj)include
588 @mkdir -p $(obj)board/tqm5200
589 @ >$(obj)include/config.h
590 @[ -z "$(findstring cam5200,$@)" ] || \
591 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
592 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
593 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
594 echo "... TQM5200S on Cam5200" ; \
596 @[ -z "$(findstring niosflash,$@)" ] || \
597 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
598 echo "... with NIOS flash driver" ; \
600 @[ -z "$(findstring fo300,$@)" ] || \
601 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
602 echo "... TQM5200 on FO300" ; \
604 @[ -z "$(findstring MiniFAP,$@)" ] || \
605 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
606 echo "... TQM5200_AC on MiniFAP" ; \
608 @[ -z "$(findstring STK100,$@)" ] || \
609 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
610 echo "... on a STK52XX.100 base board" ; \
612 @[ -z "$(findstring TQM5200_B,$@)" ] || \
613 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
615 @[ -z "$(findstring TQM5200S,$@)" ] || \
616 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
617 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
619 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
620 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
622 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
623 uc101_config: unconfig
624 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
625 motionpro_config: unconfig
626 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
629 #########################################################################
631 #########################################################################
637 @mkdir -p $(obj)include
638 $(if $(findstring AdderII,$@), \
639 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
640 @$(MKCONFIG) -a Adder ppc mpc8xx adder
647 FADS860T_config: unconfig
648 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
650 AMX860_config : unconfig
651 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
653 c2mon_config: unconfig
654 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
657 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
659 cogent_mpc8xx_config: unconfig
660 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
662 ELPT860_config: unconfig
663 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
665 EP88x_config: unconfig
666 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
668 ESTEEM192E_config: unconfig
669 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
671 ETX094_config : unconfig
672 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
674 FLAGADM_config: unconfig
675 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
677 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
680 GEN860T_config: unconfig
681 @mkdir -p $(obj)include
682 @ >$(obj)include/config.h
683 @[ -z "$(findstring _SC,$@)" ] || \
684 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
685 echo "With reduced H/W feature set (SC)..." ; \
687 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
689 GENIETV_config: unconfig
690 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
693 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
695 hermes_config : unconfig
696 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
698 HMI10_config : unconfig
699 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
701 IAD210_config: unconfig
702 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
704 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
706 ICU862_100MHz_config \
707 ICU862_config: unconfig
708 @mkdir -p $(obj)include
709 @ >$(obj)include/config.h
710 @[ -z "$(findstring _100MHz,$@)" ] || \
711 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
712 echo "... with 100MHz system clock" ; \
714 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
716 IP860_config : unconfig
717 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
721 IVML24_config: unconfig
722 @mkdir -p $(obj)include
723 @ >$(obj)include/config.h
724 @[ -z "$(findstring IVML24_config,$@)" ] || \
725 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
727 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
728 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
730 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
731 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
733 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
737 IVMS8_config: unconfig
738 @mkdir -p $(obj)include
739 @ >$(obj)include/config.h
740 @[ -z "$(findstring IVMS8_config,$@)" ] || \
741 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
743 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
744 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
746 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
747 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
749 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
751 KUP4K_config : unconfig
752 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
754 KUP4X_config : unconfig
755 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
757 LANTEC_config : unconfig
758 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
760 lwmon_config: unconfig
761 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
764 MBX860T_config: unconfig
765 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
767 MHPC_config: unconfig
768 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
770 MVS1_config : unconfig
771 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
773 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
776 NETVIA_config: unconfig
777 @mkdir -p $(obj)include
778 @ >$(obj)include/config.h
779 @[ -z "$(findstring NETVIA_config,$@)" ] || \
780 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
781 echo "... Version 1" ; \
783 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
784 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
785 echo "... Version 2" ; \
787 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
789 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
792 NETPHONE_config: unconfig
793 @mkdir -p $(obj)include
794 @ >$(obj)include/config.h
795 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
796 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
798 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
799 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
801 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
803 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
805 NETTA_ISDN_6412_SWAPHOOK_config \
806 NETTA_ISDN_SWAPHOOK_config \
807 NETTA_6412_SWAPHOOK_config \
808 NETTA_SWAPHOOK_config \
809 NETTA_ISDN_6412_config \
812 NETTA_config: unconfig
813 @mkdir -p $(obj)include
814 @ >$(obj)include/config.h
815 @[ -z "$(findstring ISDN_,$@)" ] || \
816 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
818 @[ -n "$(findstring ISDN_,$@)" ] || \
819 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
821 @[ -z "$(findstring 6412_,$@)" ] || \
822 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
824 @[ -n "$(findstring 6412_,$@)" ] || \
825 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
827 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
828 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
830 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
831 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
833 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
835 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
838 NETTA2_config: unconfig
839 @mkdir -p $(obj)include
840 @ >$(obj)include/config.h
841 @[ -z "$(findstring NETTA2_config,$@)" ] || \
842 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
844 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
845 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
847 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
851 CP850_config: unconfig
852 @mkdir -p $(obj)include
853 @ >$(obj)include/config.h
854 @[ -z "$(findstring CP850,$@)" ] || \
855 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
856 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
858 @[ -z "$(findstring Rev1,$@)" ] || \
859 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
861 @[ -z "$(findstring Rev2,$@)" ] || \
862 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
864 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
866 NX823_config: unconfig
867 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
869 pcu_e_config: unconfig
870 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
872 QS850_config: unconfig
873 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
875 QS823_config: unconfig
876 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
878 QS860T_config: unconfig
879 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
881 quantum_config: unconfig
882 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
884 R360MPI_config: unconfig
885 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
887 RBC823_config: unconfig
888 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
890 RPXClassic_config: unconfig
891 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
893 RPXlite_config: unconfig
894 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
896 RPXlite_DW_64_config \
897 RPXlite_DW_LCD_config \
898 RPXlite_DW_64_LCD_config \
899 RPXlite_DW_NVRAM_config \
900 RPXlite_DW_NVRAM_64_config \
901 RPXlite_DW_NVRAM_LCD_config \
902 RPXlite_DW_NVRAM_64_LCD_config \
903 RPXlite_DW_config: unconfig
904 @mkdir -p $(obj)include
905 @ >$(obj)include/config.h
906 @[ -z "$(findstring _64,$@)" ] || \
907 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
908 echo "... with 64MHz system clock ..."; \
910 @[ -z "$(findstring _LCD,$@)" ] || \
911 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
912 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
913 echo "... with LCD display ..."; \
915 @[ -z "$(findstring _NVRAM,$@)" ] || \
916 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
917 echo "... with ENV in NVRAM ..."; \
919 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
922 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
924 RRvision_config: unconfig
925 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
927 RRvision_LCD_config: unconfig
928 @mkdir -p $(obj)include
929 @echo "#define CONFIG_LCD" >$(obj)include/config.h
930 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
931 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
933 SM850_config : unconfig
934 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
937 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
939 SPD823TS_config: unconfig
940 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
942 stxxtc_config: unconfig
943 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
945 svm_sc8xx_config: unconfig
946 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
948 SXNI855T_config: unconfig
949 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
951 # EMK MPC8xx based modules
952 TOP860_config: unconfig
953 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
955 # Play some tricks for configuration selection
956 # Only 855 and 860 boards may come with FEC
957 # and only 823 boards may have LCD support
958 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
976 virtlab2_config: unconfig
977 @mkdir -p $(obj)include
978 @ >$(obj)include/config.h
979 @[ -z "$(findstring _LCD,$@)" ] || \
980 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
981 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
982 echo "... with LCD display" ; \
984 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
986 TTTech_config: unconfig
987 @mkdir -p $(obj)include
988 @echo "#define CONFIG_LCD" >$(obj)include/config.h
989 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
990 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
992 uc100_config : unconfig
993 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
996 @mkdir -p $(obj)include
997 @echo "#define CONFIG_LCD" >$(obj)include/config.h
998 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
999 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1001 wtk_config: unconfig
1002 @mkdir -p $(obj)include
1003 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1004 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1005 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1007 #########################################################################
1009 #########################################################################
1010 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1012 acadia_config: unconfig
1013 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1015 ADCIOP_config: unconfig
1016 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1018 alpr_config: unconfig
1019 @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
1021 AP1000_config:unconfig
1022 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1024 APC405_config: unconfig
1025 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1027 AR405_config: unconfig
1028 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1030 ASH405_config: unconfig
1031 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1033 bamboo_config: unconfig
1034 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1036 bubinga_config: unconfig
1037 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1039 CANBT_config: unconfig
1040 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1043 CATcenter_25_config \
1044 CATcenter_33_config: unconfig
1045 @mkdir -p $(obj)include
1046 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1047 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1048 @[ -z "$(findstring _25,$@)" ] || \
1049 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1050 echo "SysClk = 25MHz" ; \
1052 @[ -z "$(findstring _33,$@)" ] || \
1053 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1054 echo "SysClk = 33MHz" ; \
1056 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1058 CPCI2DP_config: unconfig
1059 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1064 CPCI405AB_config: unconfig
1065 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1066 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1068 CPCI440_config: unconfig
1069 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd
1071 CPCIISER4_config: unconfig
1072 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1074 CRAYL1_config: unconfig
1075 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1077 csb272_config: unconfig
1078 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1080 csb472_config: unconfig
1081 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1083 DASA_SIM_config: unconfig
1084 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1086 DP405_config: unconfig
1087 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1089 DU405_config: unconfig
1090 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1092 ebony_config: unconfig
1093 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1095 ERIC_config: unconfig
1096 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1098 EXBITGEN_config: unconfig
1099 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1101 G2000_config: unconfig
1102 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1104 HH405_config: unconfig
1105 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1107 HUB405_config: unconfig
1108 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1110 JSE_config: unconfig
1111 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1113 KAREF_config: unconfig
1114 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1116 katmai_config: unconfig
1117 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1119 luan_config: unconfig
1120 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1122 METROBOX_config: unconfig
1123 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1125 MIP405_config: unconfig
1126 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1128 MIP405T_config: unconfig
1129 @mkdir -p $(obj)include
1130 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1131 @echo "Enable subset config for MIP405T"
1132 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1134 ML2_config: unconfig
1135 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1137 ml300_config: unconfig
1138 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1140 ocotea_config: unconfig
1141 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1144 ORSG_config: unconfig
1145 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1147 p3p440_config: unconfig
1148 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1150 PCI405_config: unconfig
1151 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1153 pcs440ep_config: unconfig
1154 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1156 PIP405_config: unconfig
1157 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1159 PLU405_config: unconfig
1160 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1162 PMC405_config: unconfig
1163 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1165 PPChameleonEVB_config \
1166 PPChameleonEVB_BA_25_config \
1167 PPChameleonEVB_ME_25_config \
1168 PPChameleonEVB_HI_25_config \
1169 PPChameleonEVB_BA_33_config \
1170 PPChameleonEVB_ME_33_config \
1171 PPChameleonEVB_HI_33_config: unconfig
1172 @mkdir -p $(obj)include
1173 @ >$(obj)include/config.h
1174 @[ -z "$(findstring EVB_BA,$@)" ] || \
1175 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1176 echo "... BASIC model" ; \
1178 @[ -z "$(findstring EVB_ME,$@)" ] || \
1179 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1180 echo "... MEDIUM model" ; \
1182 @[ -z "$(findstring EVB_HI,$@)" ] || \
1183 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1184 echo "... HIGH-END model" ; \
1186 @[ -z "$(findstring _25,$@)" ] || \
1187 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1188 echo "SysClk = 25MHz" ; \
1190 @[ -z "$(findstring _33,$@)" ] || \
1191 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1192 echo "SysClk = 33MHz" ; \
1194 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1196 sbc405_config: unconfig
1197 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1200 rainier_config: unconfig
1201 @mkdir -p $(obj)include
1202 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1203 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1204 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1206 sequoia_nand_config \
1207 rainier_nand_config: unconfig
1208 @mkdir -p $(obj)include
1209 @mkdir -p $(obj)nand_spl
1210 @mkdir -p $(obj)board/amcc/sequoia
1211 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1212 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1213 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1214 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1215 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1216 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1219 @./mkconfig $(@:_config=) ppc ppc4xx sc3
1221 taishan_config: unconfig
1222 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1224 VOH405_config: unconfig
1225 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1227 VOM405_config: unconfig
1228 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1230 CMS700_config: unconfig
1231 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1234 W7OLMG_config: unconfig
1235 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1237 # Walnut & Sycamore images are identical (recognized via PVR)
1239 sycamore_config: unconfig
1240 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1242 WUH405_config: unconfig
1243 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1245 XPEDITE1K_config: unconfig
1246 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1249 yellowstone_config: unconfig
1250 @mkdir -p $(obj)include
1251 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1252 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1253 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1255 yucca_config: unconfig
1256 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1258 #########################################################################
1260 #########################################################################
1263 Yukon8220_config: unconfig
1264 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1266 sorcery_config: unconfig
1267 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1269 #########################################################################
1271 #########################################################################
1272 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1274 A3000_config: unconfig
1275 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1277 barco_config: unconfig
1278 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1280 BMW_config: unconfig
1281 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1284 CPC45_ROMBOOT_config: unconfig
1285 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1286 @cd $(obj)include ; \
1287 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1288 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1289 echo "... booting from 8-bit flash" ; \
1291 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1292 echo "... booting from 64-bit flash" ; \
1294 echo "export CONFIG_BOOT_ROM" >> config.mk;
1296 CU824_config: unconfig
1297 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1299 debris_config: unconfig
1300 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1302 eXalion_config: unconfig
1303 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1305 HIDDEN_DRAGON_config: unconfig
1306 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1308 kvme080_config: unconfig
1309 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1311 MOUSSE_config: unconfig
1312 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1314 MUSENKI_config: unconfig
1315 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1317 MVBLUE_config: unconfig
1318 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1320 OXC_config: unconfig
1321 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1323 PN62_config: unconfig
1324 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1326 Sandpoint8240_config: unconfig
1327 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1329 Sandpoint8245_config: unconfig
1330 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1332 sbc8240_config: unconfig
1333 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1335 SL8245_config: unconfig
1336 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1338 utx8245_config: unconfig
1339 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1341 #########################################################################
1343 #########################################################################
1345 atc_config: unconfig
1346 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1348 cogent_mpc8260_config: unconfig
1349 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1352 CPU86_ROMBOOT_config: unconfig
1353 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1354 @cd $(obj)include ; \
1355 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1356 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1357 echo "... booting from 8-bit flash" ; \
1359 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1360 echo "... booting from 64-bit flash" ; \
1362 echo "export CONFIG_BOOT_ROM" >> config.mk;
1365 CPU87_ROMBOOT_config: unconfig
1366 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1367 @cd $(obj)include ; \
1368 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1369 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1370 echo "... booting from 8-bit flash" ; \
1372 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1373 echo "... booting from 64-bit flash" ; \
1375 echo "export CONFIG_BOOT_ROM" >> config.mk;
1378 ep8248E_config : unconfig
1379 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1381 ep8260_config: unconfig
1382 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1384 ep82xxm_config: unconfig
1385 @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
1387 gw8260_config: unconfig
1388 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1390 hymod_config: unconfig
1391 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1393 IDS8247_config: unconfig
1394 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1396 IPHASE4539_config: unconfig
1397 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1400 ISPAN_REVB_config: unconfig
1401 @mkdir -p $(obj)include
1402 @if [ "$(findstring _REVB_,$@)" ] ; then \
1403 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1405 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1408 MPC8260ADS_lowboot_config \
1409 MPC8260ADS_33MHz_config \
1410 MPC8260ADS_33MHz_lowboot_config \
1411 MPC8260ADS_40MHz_config \
1412 MPC8260ADS_40MHz_lowboot_config \
1414 MPC8272ADS_lowboot_config \
1416 PQ2FADS_lowboot_config \
1418 PQ2FADS-VR_lowboot_config \
1420 PQ2FADS-ZU_lowboot_config \
1421 PQ2FADS-ZU_66MHz_config \
1422 PQ2FADS-ZU_66MHz_lowboot_config \
1424 @mkdir -p $(obj)include
1425 @mkdir -p $(obj)board/mpc8260ads
1426 $(if $(findstring PQ2FADS,$@), \
1427 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1428 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1429 $(if $(findstring MHz,$@), \
1430 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1431 $(if $(findstring VR,$@), \
1432 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1433 @[ -z "$(findstring lowboot_,$@)" ] || \
1434 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1435 echo "... with lowboot configuration" ; \
1437 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1439 MPC8266ADS_config: unconfig
1440 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1442 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1444 PM825_ROMBOOT_config \
1445 PM825_BIGFLASH_config \
1446 PM825_ROMBOOT_BIGFLASH_config \
1448 PM826_ROMBOOT_config \
1449 PM826_BIGFLASH_config \
1450 PM826_ROMBOOT_BIGFLASH_config: unconfig
1451 @mkdir -p $(obj)include
1452 @mkdir -p $(obj)board/pm826
1453 @if [ "$(findstring PM825_,$@)" ] ; then \
1454 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1456 >$(obj)include/config.h ; \
1458 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1459 echo "... booting from 8-bit flash" ; \
1460 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1461 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1462 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1463 echo "... with 32 MB Flash" ; \
1464 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1467 echo "... booting from 64-bit flash" ; \
1468 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1469 echo "... with 32 MB Flash" ; \
1470 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1471 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1473 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1476 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1480 PM828_ROMBOOT_config \
1481 PM828_ROMBOOT_PCI_config: unconfig
1482 @mkdir -p $(obj)include
1483 @mkdir -p $(obj)board/pm826
1484 @if [ "$(findstring _PCI_,$@)" ] ; then \
1485 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1486 echo "... with PCI enabled" ; \
1488 >$(obj)include/config.h ; \
1490 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1491 echo "... booting from 8-bit flash" ; \
1492 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1493 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1495 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1497 ppmc8260_config: unconfig
1498 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1500 Rattler8248_config \
1501 Rattler_config: unconfig
1502 @mkdir -p $(obj)include
1503 $(if $(findstring 8248,$@), \
1504 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1505 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1507 RPXsuper_config: unconfig
1508 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1510 rsdproto_config: unconfig
1511 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1513 sacsng_config: unconfig
1514 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1516 sbc8260_config: unconfig
1517 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1519 SCM_config: unconfig
1520 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1532 TQM8265_AA_config: unconfig
1533 @mkdir -p $(obj)include
1535 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1536 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1537 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1538 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1539 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1540 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1541 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1542 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1543 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1544 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1545 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1547 >$(obj)include/config.h ; \
1548 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1549 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1551 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1552 echo "... with $${CFREQ}MHz system clock" ; \
1553 if [ "$${CACHE}" == "yes" ] ; then \
1554 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1555 echo "... with L2 Cache support" ; \
1557 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1558 echo "... without L2 Cache support" ; \
1560 if [ "$${BMODE}" == "60x" ] ; then \
1561 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1562 echo "... with 60x Bus Mode" ; \
1564 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1565 echo "... without 60x Bus Mode" ; \
1567 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1569 TQM8272_config: unconfig
1570 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1572 VoVPN-GW_66MHz_config \
1573 VoVPN-GW_100MHz_config: unconfig
1574 @mkdir -p $(obj)include
1575 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1576 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1578 ZPC1900_config: unconfig
1579 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1581 #########################################################################
1583 #########################################################################
1585 cobra5272_config : unconfig
1586 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1588 EB+MCF-EV123_config : unconfig
1589 @mkdir -p $(obj)include
1590 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1591 @ >$(obj)include/config.h
1592 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1593 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1595 EB+MCF-EV123_internal_config : unconfig
1596 @mkdir -p $(obj)include
1597 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1598 @ >$(obj)include/config.h
1599 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1600 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1602 idmr_config : unconfig
1603 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1605 M5271EVB_config : unconfig
1606 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1608 M5272C3_config : unconfig
1609 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1611 M5282EVB_config : unconfig
1612 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1614 TASREG_config : unconfig
1615 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1617 r5200_config : unconfig
1618 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1620 #########################################################################
1622 #########################################################################
1624 MPC832XEMDS_config \
1625 MPC832XEMDS_HOST_33_config \
1626 MPC832XEMDS_HOST_66_config \
1627 MPC832XEMDS_SLAVE_config: unconfig
1628 @echo "" >include/config.h ; \
1629 if [ "$(findstring _HOST_,$@)" ] ; then \
1630 echo -n "... PCI HOST " ; \
1631 echo "#define CONFIG_PCI" >>include/config.h ; \
1633 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1634 echo "...PCI SLAVE 66M" ; \
1635 echo "#define CONFIG_PCI" >>include/config.h ; \
1636 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1638 if [ "$(findstring _33_,$@)" ] ; then \
1639 echo -n "...33M ..." ; \
1640 echo "#define PCI_33M" >>include/config.h ; \
1642 if [ "$(findstring _66_,$@)" ] ; then \
1643 echo -n "...66M..." ; \
1644 echo "#define PCI_66M" >>include/config.h ; \
1646 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
1648 MPC8349EMDS_config: unconfig
1649 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
1652 MPC8349ITX_LOWBOOT_config \
1653 MPC8349ITXGP_config: unconfig
1654 @mkdir -p $(obj)include
1655 @mkdir -p $(obj)board/mpc8349itx
1656 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1657 @if [ "$(findstring GP,$@)" ] ; then \
1658 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1660 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1661 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1663 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx
1665 MPC8360EMDS_config \
1666 MPC8360EMDS_HOST_33_config \
1667 MPC8360EMDS_HOST_66_config \
1668 MPC8360EMDS_SLAVE_config: unconfig
1669 @echo "" >include/config.h ; \
1670 if [ "$(findstring _HOST_,$@)" ] ; then \
1671 echo -n "... PCI HOST " ; \
1672 echo "#define CONFIG_PCI" >>include/config.h ; \
1674 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1675 echo "...PCI SLAVE 66M" ; \
1676 echo "#define CONFIG_PCI" >>include/config.h ; \
1677 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1679 if [ "$(findstring _33_,$@)" ] ; then \
1680 echo -n "...33M ..." ; \
1681 echo "#define PCI_33M" >>include/config.h ; \
1683 if [ "$(findstring _66_,$@)" ] ; then \
1684 echo -n "...66M..." ; \
1685 echo "#define PCI_66M" >>include/config.h ; \
1687 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1689 sbc8349_config: unconfig
1690 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1692 TQM834x_config: unconfig
1693 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1696 #########################################################################
1698 #########################################################################
1700 MPC8540ADS_config: unconfig
1701 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
1703 MPC8540EVAL_config \
1704 MPC8540EVAL_33_config \
1705 MPC8540EVAL_66_config \
1706 MPC8540EVAL_33_slave_config \
1707 MPC8540EVAL_66_slave_config: unconfig
1708 @mkdir -p $(obj)include
1709 @echo "" >$(obj)include/config.h ; \
1710 if [ "$(findstring _33_,$@)" ] ; then \
1711 echo -n "... 33 MHz PCI" ; \
1713 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1714 echo -n "... 66 MHz PCI" ; \
1716 if [ "$(findstring _slave_,$@)" ] ; then \
1717 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
1722 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1724 MPC8560ADS_config: unconfig
1725 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
1727 MPC8541CDS_config: unconfig
1728 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
1730 MPC8548CDS_config: unconfig
1731 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
1733 MPC8555CDS_config: unconfig
1734 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
1736 PM854_config: unconfig
1737 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
1739 PM856_config: unconfig
1740 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
1744 sbc8540_66_config: unconfig
1745 @mkdir -p $(obj)include
1746 @if [ "$(findstring _66_,$@)" ] ; then \
1747 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1748 echo "... 66 MHz PCI" ; \
1750 >$(obj)include/config.h ; \
1751 echo "... 33 MHz PCI" ; \
1753 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
1757 sbc8560_66_config: unconfig
1758 @mkdir -p $(obj)include
1759 @if [ "$(findstring _66_,$@)" ] ; then \
1760 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1761 echo "... 66 MHz PCI" ; \
1763 >$(obj)include/config.h ; \
1764 echo "... 33 MHz PCI" ; \
1766 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
1768 stxgp3_config: unconfig
1769 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
1774 TQM8560_config: unconfig
1775 @mkdir -p $(obj)include
1776 @CTYPE=$(subst TQM,,$(@:_config=)); \
1777 >$(obj)include/config.h ; \
1778 echo "... TQM"$${CTYPE}; \
1779 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1780 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1781 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1782 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1783 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1784 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
1786 #########################################################################
1788 #########################################################################
1790 MPC8641HPCN_config: unconfig
1791 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1794 #########################################################################
1796 #########################################################################
1798 AmigaOneG3SE_config: unconfig
1799 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
1801 BAB7xx_config: unconfig
1802 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
1804 CPCI750_config: unconfig
1805 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
1807 DB64360_config: unconfig
1808 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
1810 DB64460_config: unconfig
1811 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
1813 ELPPC_config: unconfig
1814 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
1817 EVB64260_750CX_config: unconfig
1818 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
1820 mpc7448hpc2_config: unconfig
1821 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2
1823 P3G4_config: unconfig
1824 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1827 p3m7448_config: unconfig
1828 @mkdir -p $(obj)include
1829 @if [ "$(findstring 750_,$@)" ] ; then \
1830 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1832 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1834 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1837 PCIPPC6_config: unconfig
1838 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
1840 ZUMA_config: unconfig
1841 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1843 ppmc7xx_config: unconfig
1844 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
1846 #========================================================================
1848 #========================================================================
1849 #########################################################################
1850 ## StrongARM Systems
1851 #########################################################################
1853 assabet_config : unconfig
1854 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
1856 dnp1110_config : unconfig
1857 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
1859 gcplus_config : unconfig
1860 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
1862 lart_config : unconfig
1863 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
1865 shannon_config : unconfig
1866 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
1868 #########################################################################
1870 #########################################################################
1872 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
1874 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
1876 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1878 at91rm9200dk_config : unconfig
1879 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
1881 cmc_pu2_config : unconfig
1882 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
1884 csb637_config : unconfig
1885 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
1887 mp2usb_config : unconfig
1888 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
1891 ########################################################################
1892 ## ARM Integrator boards - see doc/README-integrator for more info.
1893 integratorap_config \
1902 ap946es_config: unconfig
1903 @board/integratorap/split_by_variant.sh $@
1905 integratorcp_config \
1914 cp1026_config: unconfig
1915 @board/integratorcp/split_by_variant.sh $@
1917 kb9202_config : unconfig
1918 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
1921 lpd7a404_config: unconfig
1922 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
1924 mx1ads_config : unconfig
1925 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
1927 mx1fs2_config : unconfig
1928 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
1931 netstar_config: unconfig
1932 @mkdir -p $(obj)include
1933 @if [ "$(findstring _32_,$@)" ] ; then \
1934 echo "... 32MB SDRAM" ; \
1935 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
1937 echo "... 64MB SDRAM" ; \
1938 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
1940 @$(MKCONFIG) -a netstar arm arm925t netstar
1942 omap1510inn_config : unconfig
1943 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
1945 omap5912osk_config : unconfig
1946 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1948 omap1610inn_config \
1949 omap1610inn_cs0boot_config \
1950 omap1610inn_cs3boot_config \
1951 omap1610inn_cs_autoboot_config \
1953 omap1610h2_cs0boot_config \
1954 omap1610h2_cs3boot_config \
1955 omap1610h2_cs_autoboot_config: unconfig
1956 @mkdir -p $(obj)include
1957 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1958 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
1959 echo "... configured for CS0 boot"; \
1960 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
1961 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
1962 echo "... configured for CS_AUTO boot"; \
1964 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
1965 echo "... configured for CS3 boot"; \
1967 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
1970 omap730p2_cs0boot_config \
1971 omap730p2_cs3boot_config : unconfig
1972 @mkdir -p $(obj)include
1973 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1974 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
1975 echo "... configured for CS0 boot"; \
1977 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
1978 echo "... configured for CS3 boot"; \
1980 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
1982 sbc2410x_config: unconfig
1983 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
1985 scb9328_config : unconfig
1986 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
1988 smdk2400_config : unconfig
1989 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
1991 smdk2410_config : unconfig
1992 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
1994 SX1_config : unconfig
1995 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
1997 # TRAB default configuration: 8 MB Flash, 32 MB RAM
1999 trab_bigram_config \
2000 trab_bigflash_config \
2001 trab_old_config: unconfig
2002 @mkdir -p $(obj)include
2003 @mkdir -p $(obj)board/trab
2004 @ >$(obj)include/config.h
2005 @[ -z "$(findstring _bigram,$@)" ] || \
2006 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2007 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2008 echo "... with 8 MB Flash, 32 MB RAM" ; \
2010 @[ -z "$(findstring _bigflash,$@)" ] || \
2011 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2012 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2013 echo "... with 16 MB Flash, 16 MB RAM" ; \
2014 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2016 @[ -z "$(findstring _old,$@)" ] || \
2017 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2018 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2019 echo "... with 8 MB Flash, 16 MB RAM" ; \
2020 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2022 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2024 VCMA9_config : unconfig
2025 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2027 #========================================================================
2028 # ARM supplied Versatile development boards
2029 #========================================================================
2031 versatileab_config \
2032 versatilepb_config : unconfig
2033 @board/versatile/split_by_variant.sh $@
2035 voiceblue_smallflash_config \
2036 voiceblue_config: unconfig
2037 @mkdir -p $(obj)include
2038 @mkdir -p $(obj)board/voiceblue
2039 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2040 echo "... boot from lower flash bank" ; \
2041 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2042 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2044 echo "... boot from upper flash bank" ; \
2045 >$(obj)include/config.h ; \
2046 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2048 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2050 cm4008_config : unconfig
2051 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2053 cm41xx_config : unconfig
2054 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2056 gth2_config : unconfig
2057 @mkdir -p $(obj)include
2058 @ >$(obj)include/config.h
2059 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2060 @$(MKCONFIG) -a gth2 mips mips gth2
2062 #########################################################################
2064 #########################################################################
2066 B2_config : unconfig
2067 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2069 #########################################################################
2071 #########################################################################
2073 armadillo_config: unconfig
2074 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2076 ep7312_config : unconfig
2077 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2079 impa7_config : unconfig
2080 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2082 modnet50_config : unconfig
2083 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2085 evb4510_config : unconfig
2086 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2088 lpc2292sodimm_config: unconfig
2089 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2091 #########################################################################
2093 #########################################################################
2095 adsvix_config : unconfig
2096 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2098 cerf250_config : unconfig
2099 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2101 cradle_config : unconfig
2102 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2104 csb226_config : unconfig
2105 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2108 @$(MKCONFIG) $(@:_config=) arm pxa delta
2110 innokom_config : unconfig
2111 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2113 ixdp425_config : unconfig
2114 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2116 ixdpg425_config : unconfig
2117 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2119 lubbock_config : unconfig
2120 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2122 pleb2_config : unconfig
2123 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2125 logodl_config : unconfig
2126 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2129 scpu_config: unconfig
2130 @if [ "$(findstring scpu_,$@)" ] ; then \
2131 echo "#define CONFIG_SCPU" >>include/config.h ; \
2132 echo "... on SCPU board variant" ; \
2134 >include/config.h ; \
2136 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2138 pxa255_idp_config: unconfig
2139 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2141 wepep250_config : unconfig
2142 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2144 xaeniax_config : unconfig
2145 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2147 xm250_config : unconfig
2148 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2150 xsengine_config : unconfig
2151 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2154 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2156 #########################################################################
2158 #########################################################################
2159 omap2420h4_config : unconfig
2160 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2162 #========================================================================
2164 #========================================================================
2165 #########################################################################
2167 #########################################################################
2168 sc520_cdp_config : unconfig
2169 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2171 sc520_spunk_config : unconfig
2172 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2174 sc520_spunk_rel_config : unconfig
2175 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2177 #========================================================================
2179 #========================================================================
2180 #########################################################################
2182 #########################################################################
2184 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2186 incaip_100MHz_config \
2187 incaip_133MHz_config \
2188 incaip_150MHz_config \
2189 incaip_config: unconfig
2190 @mkdir -p $(obj)include
2191 @ >$(obj)include/config.h
2192 @[ -z "$(findstring _100MHz,$@)" ] || \
2193 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2194 echo "... with 100MHz system clock" ; \
2196 @[ -z "$(findstring _133MHz,$@)" ] || \
2197 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2198 echo "... with 133MHz system clock" ; \
2200 @[ -z "$(findstring _150MHz,$@)" ] || \
2201 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2202 echo "... with 150MHz system clock" ; \
2204 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2206 tb0229_config: unconfig
2207 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2209 #########################################################################
2211 #########################################################################
2212 dbau1000_config : unconfig
2213 @mkdir -p $(obj)include
2214 @ >$(obj)include/config.h
2215 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2216 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2218 dbau1100_config : unconfig
2219 @mkdir -p $(obj)include
2220 @ >$(obj)include/config.h
2221 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2222 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2224 dbau1500_config : unconfig
2225 @mkdir -p $(obj)include
2226 @ >$(obj)include/config.h
2227 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2228 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2230 dbau1550_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 dbau1550_el_config : unconfig
2237 @mkdir -p $(obj)include
2238 @ >$(obj)include/config.h
2239 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2240 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2242 pb1000_config : unconfig
2243 @mkdir -p $(obj)include
2244 @ >$(obj)include/config.h
2245 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2246 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2248 #########################################################################
2250 #########################################################################
2252 purple_config : unconfig
2253 @$(MKCONFIG) $(@:_config=) mips mips purple
2255 #========================================================================
2257 #========================================================================
2258 #########################################################################
2260 #########################################################################
2262 DK1C20_safe_32_config \
2263 DK1C20_standard_32_config \
2264 DK1C20_config: unconfig
2265 @mkdir -p $(obj)include
2266 @ >$(obj)include/config.h
2267 @[ -z "$(findstring _safe_32,$@)" ] || \
2268 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2269 echo "... NIOS 'safe_32' configuration" ; \
2271 @[ -z "$(findstring _standard_32,$@)" ] || \
2272 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2273 echo "... NIOS 'standard_32' configuration" ; \
2275 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2276 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2277 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2279 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2281 DK1S10_safe_32_config \
2282 DK1S10_standard_32_config \
2283 DK1S10_mtx_ldk_20_config \
2284 DK1S10_config: unconfig
2285 @mkdir -p $(obj)include
2286 @ >$(obj)include/config.h
2287 @[ -z "$(findstring _safe_32,$@)" ] || \
2288 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2289 echo "... NIOS 'safe_32' configuration" ; \
2291 @[ -z "$(findstring _standard_32,$@)" ] || \
2292 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2293 echo "... NIOS 'standard_32' configuration" ; \
2295 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2296 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2297 echo "... NIOS 'mtx_ldk_20' configuration" ; \
2299 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2300 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2301 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2303 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2305 ADNPESC1_DNPEVA2_base_32_config \
2306 ADNPESC1_base_32_config \
2307 ADNPESC1_config: unconfig
2308 @mkdir -p $(obj)include
2309 @ >$(obj)include/config.h
2310 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2311 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2312 echo "... DNP/EVA2 configuration" ; \
2314 @[ -z "$(findstring _base_32,$@)" ] || \
2315 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2316 echo "... NIOS 'base_32' configuration" ; \
2318 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2319 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2320 echo "... NIOS 'base_32' configuration (DEFAULT)" ; \
2322 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2324 #########################################################################
2326 #########################################################################
2328 EP1C20_config : unconfig
2329 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2331 EP1S10_config : unconfig
2332 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2334 EP1S40_config : unconfig
2335 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2337 PK1C20_config : unconfig
2338 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2340 PCI5441_config : unconfig
2341 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2343 #========================================================================
2345 #========================================================================
2346 #########################################################################
2348 #########################################################################
2349 suzaku_config: unconfig
2350 @mkdir -p $(obj)include
2351 @ >$(obj)include/config.h
2352 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2353 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2355 ml401_config: unconfig
2357 @echo "#define CONFIG_ML401 1" >> include/config.h
2358 @./mkconfig -a $(@:_config=) microblaze microblaze ml401 xilinx
2360 xupv2p_config: unconfig
2362 @echo "#define CONFIG_XUPV2P 1" >> include/config.h
2363 @./mkconfig -a $(@:_config=) microblaze microblaze xupv2p xilinx
2365 #########################################################################
2367 #########################################################################
2368 bf533-ezkit_config: unconfig
2369 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit
2371 bf533-stamp_config: unconfig
2372 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp
2374 bf537-stamp_config: unconfig
2375 @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp
2377 bf561-ezkit_config: unconfig
2378 @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit
2380 #========================================================================
2382 #========================================================================
2383 #########################################################################
2385 #########################################################################
2387 atstk1002_config : unconfig
2388 @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
2390 #########################################################################
2391 #########################################################################
2392 #########################################################################
2395 find $(OBJTREE) -type f \
2396 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2397 -o -name '*.o' -o -name '*.a' \) -print \
2399 rm -f $(obj)examples/hello_world $(obj)examples/timer \
2400 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2401 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2402 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2403 $(obj)examples/test_burst
2404 rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2405 $(obj)tools/gen_eth_addr
2406 rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2407 rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2408 rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2409 rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2410 rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2411 rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2412 rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2413 rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2414 rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2415 rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds
2416 rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds
2417 rm -f $(obj)include/bmp_logo.h
2418 rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2421 find $(OBJTREE) -type f \( -name .depend \
2422 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2425 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
2427 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2428 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
2429 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2430 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2431 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2433 ifeq ($(OBJTREE),$(SRCTREE))
2435 distclean: clobber unconfig
2438 distclean: clobber unconfig
2443 F=`basename $(TOPDIR)` ; cd .. ; \
2444 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2446 #########################################################################