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-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
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
222 LIBS += libfdt/libfdt.a
225 LIBS := $(addprefix $(obj),$(LIBS))
229 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
231 # The "tools" are needed early, so put this first
232 # Don't include stuff already done in $(LIBS)
238 ifeq ($(CONFIG_NAND_U_BOOT),y)
240 U_BOOT_NAND = $(obj)u-boot-nand.bin
243 __OBJS := $(subst $(obj),,$(OBJS))
244 __LIBS := $(subst $(obj),,$(LIBS))
246 #########################################################################
247 #########################################################################
249 ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
253 $(obj)u-boot.hex: $(obj)u-boot
254 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
256 $(obj)u-boot.srec: $(obj)u-boot
257 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
259 $(obj)u-boot.bin: $(obj)u-boot
260 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
262 $(obj)u-boot.img: $(obj)u-boot.bin
263 ./tools/mkimage -A $(ARCH) -T firmware -C none \
264 -a $(TEXT_BASE) -e 0 \
265 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
266 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
269 $(obj)u-boot.dis: $(obj)u-boot
270 $(OBJDUMP) -d $< > $@
272 $(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
273 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
274 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
275 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
276 -Map u-boot.map -o u-boot
279 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
282 $(MAKE) -C $(dir $(subst $(obj),,$@))
288 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
290 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
291 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
294 @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
295 echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
296 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
297 $(TOPDIR)) >> $(VERSION_FILE); \
298 echo "\"" >> $(VERSION_FILE)
301 $(MAKE) -C tools/gdb all || exit 1
304 $(MAKE) -C tools/updater all || exit 1
307 $(MAKE) -C tools/env all || exit 1
310 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
313 ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
314 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
315 fs/cramfs fs/fat fs/fdos fs/jffs2 \
316 net disk rtc dtt drivers drivers/sk98lin common \
317 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
320 etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
321 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
322 fs/cramfs fs/fat fs/fdos fs/jffs2 \
323 net disk rtc dtt drivers drivers/sk98lin common \
324 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
326 $(obj)System.map: $(obj)u-boot
328 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
329 sort > $(obj)System.map
331 #########################################################################
333 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
334 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
335 $(SUBDIRS) version gdbtools updater env depend \
336 dep tags ctags etags $(obj)System.map:
337 @echo "System not configured - see README" >&2
343 git log --no-merges U-Boot-1_1_5.. | \
344 unexpand -a | sed -e 's/\s\s*$$//' > $@
346 #########################################################################
349 @rm -f $(obj)include/config.h $(obj)include/config.mk \
350 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp
352 #========================================================================
354 #========================================================================
356 #########################################################################
358 #########################################################################
360 canmb_config: unconfig
361 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
363 cmi_mpc5xx_config: unconfig
364 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
366 PATI_config: unconfig
367 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
369 #########################################################################
371 #########################################################################
374 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
376 BC3450_config: unconfig
377 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
379 cpci5200_config: unconfig
380 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
382 hmi1001_config: unconfig
383 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
386 Lite5200_LOWBOOT_config \
387 Lite5200_LOWBOOT08_config \
388 icecube_5200_config \
389 icecube_5200_LOWBOOT_config \
390 icecube_5200_LOWBOOT08_config \
391 icecube_5200_DDR_config \
392 icecube_5200_DDR_LOWBOOT_config \
393 icecube_5200_DDR_LOWBOOT08_config \
394 icecube_5100_config: unconfig
395 @mkdir -p $(obj)include
396 @mkdir -p $(obj)board/icecube
397 @ >$(obj)include/config.h
398 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
399 { if [ "$(findstring DDR,$@)" ] ; \
400 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
401 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
403 echo "... with LOWBOOT configuration" ; \
405 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
406 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
407 echo "... with 8 MB flash only" ; \
408 echo "... with LOWBOOT configuration" ; \
410 @[ -z "$(findstring DDR,$@)" ] || \
411 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
412 echo "... DDR memory revision" ; \
414 @[ -z "$(findstring 5200,$@)" ] || \
415 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
416 echo "... with MPC5200 processor" ; \
418 @[ -z "$(findstring 5100,$@)" ] || \
419 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
420 echo "... with MGT5100 processor" ; \
422 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
424 jupiter_config: unconfig
425 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
427 v38b_config: unconfig
428 @./mkconfig -a v38b ppc mpc5xxx v38b
430 inka4x0_config: unconfig
431 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
434 lite5200b_PM_config \
435 lite5200b_LOWBOOT_config: unconfig
436 @mkdir -p $(obj)include
437 @mkdir -p $(obj)board/icecube
438 @ >$(obj)include/config.h
439 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
440 @ echo "... DDR memory revision"
441 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
442 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
443 @[ -z "$(findstring _PM_,$@)" ] || \
444 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
445 echo "... with power management (low-power mode) support" ; \
447 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
448 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
449 echo "... with LOWBOOT configuration" ; \
451 @ echo "... with MPC5200B processor"
452 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
455 mcc200_SDRAM_config \
456 mcc200_highboot_config \
457 mcc200_COM12_config \
458 mcc200_COM12_SDRAM_config \
459 mcc200_COM12_highboot_config \
460 mcc200_COM12_highboot_SDRAM_config \
461 mcc200_highboot_SDRAM_config \
464 prs200_highboot_config \
465 prs200_highboot_DDR_config: unconfig
466 @mkdir -p $(obj)include
467 @mkdir -p $(obj)board/mcc200
468 @ >$(obj)include/config.h
469 @[ -n "$(findstring highboot,$@)" ] || \
470 { echo "... with lowboot configuration" ; \
472 @[ -z "$(findstring highboot,$@)" ] || \
473 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
474 echo "... with highboot configuration" ; \
476 @[ -n "$(findstring _SDRAM,$@)" ] || \
477 { if [ -n "$(findstring mcc200,$@)" ]; \
479 echo "... with DDR" ; \
481 if [ -n "$(findstring _DDR,$@)" ];\
483 echo "... with DDR" ; \
485 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
486 echo "... with SDRAM" ; \
490 @[ -z "$(findstring _SDRAM,$@)" ] || \
491 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
492 echo "... with SDRAM" ; \
494 @[ -z "$(findstring COM12,$@)" ] || \
495 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
496 echo "... with console on COM12" ; \
498 @[ -z "$(findstring prs200,$@)" ] || \
499 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
501 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
503 mecp5200_config: unconfig
504 @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd
507 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
509 pf5200_config: unconfig
510 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
514 PM520_ROMBOOT_config \
515 PM520_ROMBOOT_DDR_config: unconfig
516 @mkdir -p $(obj)include
517 @ >$(obj)include/config.h
518 @[ -z "$(findstring DDR,$@)" ] || \
519 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
520 echo "... DDR memory revision" ; \
522 @[ -z "$(findstring ROMBOOT,$@)" ] || \
523 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
524 echo "... booting from 8-bit flash" ; \
526 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
528 smmaco4_config: unconfig
529 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
531 spieval_config: unconfig
532 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
535 TB5200_config: unconfig
536 @mkdir -p $(obj)include
537 @[ -z "$(findstring _B,$@)" ] || \
538 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
539 echo "... with MPC5200B processor" ; \
541 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
545 TOP5200_config: unconfig
546 @mkdir -p $(obj)include
547 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
548 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
552 Total5200_lowboot_config \
553 Total5200_Rev2_config \
554 Total5200_Rev2_lowboot_config: unconfig
555 @mkdir -p $(obj)include
556 @mkdir -p $(obj)board/total5200
557 @ >$(obj)include/config.h
558 @[ -z "$(findstring 5100,$@)" ] || \
559 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
560 echo "... with MGT5100 processor" ; \
562 @[ -z "$(findstring 5200,$@)" ] || \
563 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
564 echo "... with MPC5200 processor" ; \
566 @[ -n "$(findstring Rev,$@)" ] || \
567 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
568 echo "... revision 1 board" ; \
570 @[ -z "$(findstring Rev2_,$@)" ] || \
571 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
572 echo "... revision 2 board" ; \
574 @[ -z "$(findstring lowboot_,$@)" ] || \
575 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
576 echo "... with lowboot configuration" ; \
578 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
581 cam5200_niosflash_config \
585 TQM5200S_HIGHBOOT_config \
587 TQM5200_B_HIGHBOOT_config \
589 TQM5200_STK100_config: unconfig
590 @mkdir -p $(obj)include
591 @mkdir -p $(obj)board/tqm5200
592 @ >$(obj)include/config.h
593 @[ -z "$(findstring cam5200,$@)" ] || \
594 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
595 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
596 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
597 echo "... TQM5200S on Cam5200" ; \
599 @[ -z "$(findstring niosflash,$@)" ] || \
600 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
601 echo "... with NIOS flash driver" ; \
603 @[ -z "$(findstring fo300,$@)" ] || \
604 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
605 echo "... TQM5200 on FO300" ; \
607 @[ -z "$(findstring MiniFAP,$@)" ] || \
608 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
609 echo "... TQM5200_AC on MiniFAP" ; \
611 @[ -z "$(findstring STK100,$@)" ] || \
612 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
613 echo "... on a STK52XX.100 base board" ; \
615 @[ -z "$(findstring TQM5200_B,$@)" ] || \
616 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
618 @[ -z "$(findstring TQM5200S,$@)" ] || \
619 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
620 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
622 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
623 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
625 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
626 uc101_config: unconfig
627 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
628 motionpro_config: unconfig
629 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
632 #########################################################################
634 #########################################################################
640 @mkdir -p $(obj)include
641 $(if $(findstring AdderII,$@), \
642 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
643 @$(MKCONFIG) -a Adder ppc mpc8xx adder
650 FADS860T_config: unconfig
651 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
653 AMX860_config : unconfig
654 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
656 c2mon_config: unconfig
657 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
660 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
662 cogent_mpc8xx_config: unconfig
663 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
665 ELPT860_config: unconfig
666 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
668 EP88x_config: unconfig
669 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
671 ESTEEM192E_config: unconfig
672 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
674 ETX094_config : unconfig
675 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
677 FLAGADM_config: unconfig
678 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
680 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
683 GEN860T_config: unconfig
684 @mkdir -p $(obj)include
685 @ >$(obj)include/config.h
686 @[ -z "$(findstring _SC,$@)" ] || \
687 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
688 echo "With reduced H/W feature set (SC)..." ; \
690 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
692 GENIETV_config: unconfig
693 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
696 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
698 hermes_config : unconfig
699 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
701 HMI10_config : unconfig
702 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
704 IAD210_config: unconfig
705 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
707 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
709 ICU862_100MHz_config \
710 ICU862_config: unconfig
711 @mkdir -p $(obj)include
712 @ >$(obj)include/config.h
713 @[ -z "$(findstring _100MHz,$@)" ] || \
714 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
715 echo "... with 100MHz system clock" ; \
717 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
719 IP860_config : unconfig
720 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
724 IVML24_config: unconfig
725 @mkdir -p $(obj)include
726 @ >$(obj)include/config.h
727 @[ -z "$(findstring IVML24_config,$@)" ] || \
728 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
730 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
731 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
733 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
734 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
736 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
740 IVMS8_config: unconfig
741 @mkdir -p $(obj)include
742 @ >$(obj)include/config.h
743 @[ -z "$(findstring IVMS8_config,$@)" ] || \
744 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
746 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
747 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
749 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
750 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
752 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
754 KUP4K_config : unconfig
755 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
757 KUP4X_config : unconfig
758 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
760 LANTEC_config : unconfig
761 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
763 lwmon_config: unconfig
764 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
767 MBX860T_config: unconfig
768 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
770 MHPC_config: unconfig
771 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
773 MVS1_config : unconfig
774 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
776 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
779 NETVIA_config: unconfig
780 @mkdir -p $(obj)include
781 @ >$(obj)include/config.h
782 @[ -z "$(findstring NETVIA_config,$@)" ] || \
783 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
784 echo "... Version 1" ; \
786 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
787 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
788 echo "... Version 2" ; \
790 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
792 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
795 NETPHONE_config: unconfig
796 @mkdir -p $(obj)include
797 @ >$(obj)include/config.h
798 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
799 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
801 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
802 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
804 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
806 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
808 NETTA_ISDN_6412_SWAPHOOK_config \
809 NETTA_ISDN_SWAPHOOK_config \
810 NETTA_6412_SWAPHOOK_config \
811 NETTA_SWAPHOOK_config \
812 NETTA_ISDN_6412_config \
815 NETTA_config: unconfig
816 @mkdir -p $(obj)include
817 @ >$(obj)include/config.h
818 @[ -z "$(findstring ISDN_,$@)" ] || \
819 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
821 @[ -n "$(findstring ISDN_,$@)" ] || \
822 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
824 @[ -z "$(findstring 6412_,$@)" ] || \
825 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
827 @[ -n "$(findstring 6412_,$@)" ] || \
828 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
830 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
831 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
833 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
834 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
836 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
838 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
841 NETTA2_config: unconfig
842 @mkdir -p $(obj)include
843 @ >$(obj)include/config.h
844 @[ -z "$(findstring NETTA2_config,$@)" ] || \
845 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
847 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
848 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
850 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
854 CP850_config: unconfig
855 @mkdir -p $(obj)include
856 @ >$(obj)include/config.h
857 @[ -z "$(findstring CP850,$@)" ] || \
858 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
859 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
861 @[ -z "$(findstring Rev1,$@)" ] || \
862 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
864 @[ -z "$(findstring Rev2,$@)" ] || \
865 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
867 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
869 NX823_config: unconfig
870 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
872 pcu_e_config: unconfig
873 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
875 QS850_config: unconfig
876 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
878 QS823_config: unconfig
879 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
881 QS860T_config: unconfig
882 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
884 quantum_config: unconfig
885 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
887 R360MPI_config: unconfig
888 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
890 RBC823_config: unconfig
891 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
893 RPXClassic_config: unconfig
894 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
896 RPXlite_config: unconfig
897 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
899 RPXlite_DW_64_config \
900 RPXlite_DW_LCD_config \
901 RPXlite_DW_64_LCD_config \
902 RPXlite_DW_NVRAM_config \
903 RPXlite_DW_NVRAM_64_config \
904 RPXlite_DW_NVRAM_LCD_config \
905 RPXlite_DW_NVRAM_64_LCD_config \
906 RPXlite_DW_config: unconfig
907 @mkdir -p $(obj)include
908 @ >$(obj)include/config.h
909 @[ -z "$(findstring _64,$@)" ] || \
910 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
911 echo "... with 64MHz system clock ..."; \
913 @[ -z "$(findstring _LCD,$@)" ] || \
914 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
915 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
916 echo "... with LCD display ..."; \
918 @[ -z "$(findstring _NVRAM,$@)" ] || \
919 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
920 echo "... with ENV in NVRAM ..."; \
922 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
925 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
927 RRvision_config: unconfig
928 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
930 RRvision_LCD_config: unconfig
931 @mkdir -p $(obj)include
932 @echo "#define CONFIG_LCD" >$(obj)include/config.h
933 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
934 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
936 SM850_config : unconfig
937 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
940 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
942 SPD823TS_config: unconfig
943 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
945 stxxtc_config: unconfig
946 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
948 svm_sc8xx_config: unconfig
949 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
951 SXNI855T_config: unconfig
952 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
954 # EMK MPC8xx based modules
955 TOP860_config: unconfig
956 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
958 # Play some tricks for configuration selection
959 # Only 855 and 860 boards may come with FEC
960 # and only 823 boards may have LCD support
961 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
979 virtlab2_config: unconfig
980 @mkdir -p $(obj)include
981 @ >$(obj)include/config.h
982 @[ -z "$(findstring _LCD,$@)" ] || \
983 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
984 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
985 echo "... with LCD display" ; \
987 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
989 TTTech_config: unconfig
990 @mkdir -p $(obj)include
991 @echo "#define CONFIG_LCD" >$(obj)include/config.h
992 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
993 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
995 uc100_config : unconfig
996 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
999 @mkdir -p $(obj)include
1000 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1001 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1002 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1004 wtk_config: unconfig
1005 @mkdir -p $(obj)include
1006 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1007 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1008 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1010 #########################################################################
1012 #########################################################################
1013 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1015 acadia_config: unconfig
1016 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1018 ADCIOP_config: unconfig
1019 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1021 alpr_config: unconfig
1022 @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
1024 AP1000_config:unconfig
1025 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1027 APC405_config: unconfig
1028 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1030 AR405_config: unconfig
1031 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1033 ASH405_config: unconfig
1034 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1036 bamboo_config: unconfig
1037 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1039 bubinga_config: unconfig
1040 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1042 CANBT_config: unconfig
1043 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1046 CATcenter_25_config \
1047 CATcenter_33_config: unconfig
1048 @mkdir -p $(obj)include
1049 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1050 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1051 @[ -z "$(findstring _25,$@)" ] || \
1052 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1053 echo "SysClk = 25MHz" ; \
1055 @[ -z "$(findstring _33,$@)" ] || \
1056 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1057 echo "SysClk = 33MHz" ; \
1059 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1061 CPCI2DP_config: unconfig
1062 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1067 CPCI405AB_config: unconfig
1068 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1069 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1071 CPCI440_config: unconfig
1072 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd
1074 CPCIISER4_config: unconfig
1075 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1077 CRAYL1_config: unconfig
1078 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1080 csb272_config: unconfig
1081 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1083 csb472_config: unconfig
1084 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1086 DASA_SIM_config: unconfig
1087 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1089 DP405_config: unconfig
1090 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1092 DU405_config: unconfig
1093 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1095 ebony_config: unconfig
1096 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1098 ERIC_config: unconfig
1099 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1101 EXBITGEN_config: unconfig
1102 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1104 G2000_config: unconfig
1105 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1107 HH405_config: unconfig
1108 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1110 HUB405_config: unconfig
1111 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1113 JSE_config: unconfig
1114 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1116 KAREF_config: unconfig
1117 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1119 katmai_config: unconfig
1120 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1122 luan_config: unconfig
1123 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1125 METROBOX_config: unconfig
1126 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1128 MIP405_config: unconfig
1129 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1131 MIP405T_config: unconfig
1132 @mkdir -p $(obj)include
1133 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1134 @echo "Enable subset config for MIP405T"
1135 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1137 ML2_config: unconfig
1138 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1140 ml300_config: unconfig
1141 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1143 ocotea_config: unconfig
1144 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1147 ORSG_config: unconfig
1148 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1150 p3p440_config: unconfig
1151 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1153 PCI405_config: unconfig
1154 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1156 pcs440ep_config: unconfig
1157 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1159 PIP405_config: unconfig
1160 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1162 PLU405_config: unconfig
1163 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1165 PMC405_config: unconfig
1166 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1168 PPChameleonEVB_config \
1169 PPChameleonEVB_BA_25_config \
1170 PPChameleonEVB_ME_25_config \
1171 PPChameleonEVB_HI_25_config \
1172 PPChameleonEVB_BA_33_config \
1173 PPChameleonEVB_ME_33_config \
1174 PPChameleonEVB_HI_33_config: unconfig
1175 @mkdir -p $(obj)include
1176 @ >$(obj)include/config.h
1177 @[ -z "$(findstring EVB_BA,$@)" ] || \
1178 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1179 echo "... BASIC model" ; \
1181 @[ -z "$(findstring EVB_ME,$@)" ] || \
1182 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1183 echo "... MEDIUM model" ; \
1185 @[ -z "$(findstring EVB_HI,$@)" ] || \
1186 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1187 echo "... HIGH-END model" ; \
1189 @[ -z "$(findstring _25,$@)" ] || \
1190 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1191 echo "SysClk = 25MHz" ; \
1193 @[ -z "$(findstring _33,$@)" ] || \
1194 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1195 echo "SysClk = 33MHz" ; \
1197 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1199 sbc405_config: unconfig
1200 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1203 rainier_config: unconfig
1204 @mkdir -p $(obj)include
1205 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1206 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1207 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1209 sequoia_nand_config \
1210 rainier_nand_config: unconfig
1211 @mkdir -p $(obj)include
1212 @mkdir -p $(obj)nand_spl
1213 @mkdir -p $(obj)board/amcc/sequoia
1214 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1215 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1216 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1217 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1218 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1219 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1222 @./mkconfig $(@:_config=) ppc ppc4xx sc3
1224 taishan_config: unconfig
1225 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1227 VOH405_config: unconfig
1228 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1230 VOM405_config: unconfig
1231 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1233 CMS700_config: unconfig
1234 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1237 W7OLMG_config: unconfig
1238 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1240 # Walnut & Sycamore images are identical (recognized via PVR)
1242 sycamore_config: unconfig
1243 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1245 WUH405_config: unconfig
1246 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1248 XPEDITE1K_config: unconfig
1249 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1252 yellowstone_config: unconfig
1253 @mkdir -p $(obj)include
1254 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1255 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1256 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1258 yucca_config: unconfig
1259 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1261 #########################################################################
1263 #########################################################################
1266 Yukon8220_config: unconfig
1267 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1269 sorcery_config: unconfig
1270 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1272 #########################################################################
1274 #########################################################################
1275 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1277 A3000_config: unconfig
1278 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1280 barco_config: unconfig
1281 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1283 BMW_config: unconfig
1284 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1287 CPC45_ROMBOOT_config: unconfig
1288 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1289 @cd $(obj)include ; \
1290 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1291 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1292 echo "... booting from 8-bit flash" ; \
1294 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1295 echo "... booting from 64-bit flash" ; \
1297 echo "export CONFIG_BOOT_ROM" >> config.mk;
1299 CU824_config: unconfig
1300 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1302 debris_config: unconfig
1303 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1305 eXalion_config: unconfig
1306 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1308 HIDDEN_DRAGON_config: unconfig
1309 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1311 kvme080_config: unconfig
1312 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1314 MOUSSE_config: unconfig
1315 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1317 MUSENKI_config: unconfig
1318 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1320 MVBLUE_config: unconfig
1321 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1323 OXC_config: unconfig
1324 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1326 PN62_config: unconfig
1327 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1329 Sandpoint8240_config: unconfig
1330 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1332 Sandpoint8245_config: unconfig
1333 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1335 sbc8240_config: unconfig
1336 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1338 SL8245_config: unconfig
1339 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1341 utx8245_config: unconfig
1342 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1344 #########################################################################
1346 #########################################################################
1348 atc_config: unconfig
1349 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1351 cogent_mpc8260_config: unconfig
1352 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1355 CPU86_ROMBOOT_config: unconfig
1356 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1357 @cd $(obj)include ; \
1358 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1359 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1360 echo "... booting from 8-bit flash" ; \
1362 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1363 echo "... booting from 64-bit flash" ; \
1365 echo "export CONFIG_BOOT_ROM" >> config.mk;
1368 CPU87_ROMBOOT_config: unconfig
1369 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1370 @cd $(obj)include ; \
1371 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1372 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1373 echo "... booting from 8-bit flash" ; \
1375 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1376 echo "... booting from 64-bit flash" ; \
1378 echo "export CONFIG_BOOT_ROM" >> config.mk;
1381 ep8248E_config : unconfig
1382 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1384 ep8260_config: unconfig
1385 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1387 ep82xxm_config: unconfig
1388 @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
1390 gw8260_config: unconfig
1391 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1393 hymod_config: unconfig
1394 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1396 IDS8247_config: unconfig
1397 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1399 IPHASE4539_config: unconfig
1400 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1403 ISPAN_REVB_config: unconfig
1404 @mkdir -p $(obj)include
1405 @if [ "$(findstring _REVB_,$@)" ] ; then \
1406 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1408 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1411 MPC8260ADS_lowboot_config \
1412 MPC8260ADS_33MHz_config \
1413 MPC8260ADS_33MHz_lowboot_config \
1414 MPC8260ADS_40MHz_config \
1415 MPC8260ADS_40MHz_lowboot_config \
1417 MPC8272ADS_lowboot_config \
1419 PQ2FADS_lowboot_config \
1421 PQ2FADS-VR_lowboot_config \
1423 PQ2FADS-ZU_lowboot_config \
1424 PQ2FADS-ZU_66MHz_config \
1425 PQ2FADS-ZU_66MHz_lowboot_config \
1427 @mkdir -p $(obj)include
1428 @mkdir -p $(obj)board/mpc8260ads
1429 $(if $(findstring PQ2FADS,$@), \
1430 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1431 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1432 $(if $(findstring MHz,$@), \
1433 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1434 $(if $(findstring VR,$@), \
1435 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1436 @[ -z "$(findstring lowboot_,$@)" ] || \
1437 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1438 echo "... with lowboot configuration" ; \
1440 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1442 MPC8266ADS_config: unconfig
1443 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1445 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1447 PM825_ROMBOOT_config \
1448 PM825_BIGFLASH_config \
1449 PM825_ROMBOOT_BIGFLASH_config \
1451 PM826_ROMBOOT_config \
1452 PM826_BIGFLASH_config \
1453 PM826_ROMBOOT_BIGFLASH_config: unconfig
1454 @mkdir -p $(obj)include
1455 @mkdir -p $(obj)board/pm826
1456 @if [ "$(findstring PM825_,$@)" ] ; then \
1457 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1459 >$(obj)include/config.h ; \
1461 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1462 echo "... booting from 8-bit flash" ; \
1463 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1464 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1465 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1466 echo "... with 32 MB Flash" ; \
1467 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1470 echo "... booting from 64-bit flash" ; \
1471 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1472 echo "... with 32 MB Flash" ; \
1473 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1474 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1476 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1479 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1483 PM828_ROMBOOT_config \
1484 PM828_ROMBOOT_PCI_config: unconfig
1485 @mkdir -p $(obj)include
1486 @mkdir -p $(obj)board/pm826
1487 @if [ "$(findstring _PCI_,$@)" ] ; then \
1488 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1489 echo "... with PCI enabled" ; \
1491 >$(obj)include/config.h ; \
1493 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1494 echo "... booting from 8-bit flash" ; \
1495 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1496 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1498 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1500 ppmc8260_config: unconfig
1501 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1503 Rattler8248_config \
1504 Rattler_config: unconfig
1505 @mkdir -p $(obj)include
1506 $(if $(findstring 8248,$@), \
1507 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1508 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1510 RPXsuper_config: unconfig
1511 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1513 rsdproto_config: unconfig
1514 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1516 sacsng_config: unconfig
1517 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1519 sbc8260_config: unconfig
1520 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1522 SCM_config: unconfig
1523 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1535 TQM8265_AA_config: unconfig
1536 @mkdir -p $(obj)include
1538 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1539 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1540 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1541 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1542 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1543 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1544 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1545 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1546 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1547 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1548 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1550 >$(obj)include/config.h ; \
1551 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1552 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1554 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1555 echo "... with $${CFREQ}MHz system clock" ; \
1556 if [ "$${CACHE}" == "yes" ] ; then \
1557 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1558 echo "... with L2 Cache support" ; \
1560 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1561 echo "... without L2 Cache support" ; \
1563 if [ "$${BMODE}" == "60x" ] ; then \
1564 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1565 echo "... with 60x Bus Mode" ; \
1567 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1568 echo "... without 60x Bus Mode" ; \
1570 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1572 TQM8272_config: unconfig
1573 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1575 VoVPN-GW_66MHz_config \
1576 VoVPN-GW_100MHz_config: unconfig
1577 @mkdir -p $(obj)include
1578 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1579 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1581 ZPC1900_config: unconfig
1582 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1584 #########################################################################
1586 #########################################################################
1588 cobra5272_config : unconfig
1589 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1591 EB+MCF-EV123_config : unconfig
1592 @mkdir -p $(obj)include
1593 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1594 @ >$(obj)include/config.h
1595 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1596 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1598 EB+MCF-EV123_internal_config : unconfig
1599 @mkdir -p $(obj)include
1600 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1601 @ >$(obj)include/config.h
1602 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1603 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1605 idmr_config : unconfig
1606 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1608 M5271EVB_config : unconfig
1609 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1611 M5272C3_config : unconfig
1612 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1614 M5282EVB_config : unconfig
1615 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1617 TASREG_config : unconfig
1618 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1620 r5200_config : unconfig
1621 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1623 #########################################################################
1625 #########################################################################
1627 MPC832XEMDS_config \
1628 MPC832XEMDS_HOST_33_config \
1629 MPC832XEMDS_HOST_66_config \
1630 MPC832XEMDS_SLAVE_config: unconfig
1631 @echo "" >include/config.h ; \
1632 if [ "$(findstring _HOST_,$@)" ] ; then \
1633 echo -n "... PCI HOST " ; \
1634 echo "#define CONFIG_PCI" >>include/config.h ; \
1636 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1637 echo "...PCI SLAVE 66M" ; \
1638 echo "#define CONFIG_PCI" >>include/config.h ; \
1639 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1641 if [ "$(findstring _33_,$@)" ] ; then \
1642 echo -n "...33M ..." ; \
1643 echo "#define PCI_33M" >>include/config.h ; \
1645 if [ "$(findstring _66_,$@)" ] ; then \
1646 echo -n "...66M..." ; \
1647 echo "#define PCI_66M" >>include/config.h ; \
1649 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
1651 MPC8349EMDS_config: unconfig
1652 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
1655 MPC8349ITX_LOWBOOT_config \
1656 MPC8349ITXGP_config: unconfig
1657 @mkdir -p $(obj)include
1658 @mkdir -p $(obj)board/mpc8349itx
1659 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1660 @if [ "$(findstring GP,$@)" ] ; then \
1661 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1663 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1664 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1666 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx
1668 MPC8360EMDS_config \
1669 MPC8360EMDS_HOST_33_config \
1670 MPC8360EMDS_HOST_66_config \
1671 MPC8360EMDS_SLAVE_config: unconfig
1672 @echo "" >include/config.h ; \
1673 if [ "$(findstring _HOST_,$@)" ] ; then \
1674 echo -n "... PCI HOST " ; \
1675 echo "#define CONFIG_PCI" >>include/config.h ; \
1677 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1678 echo "...PCI SLAVE 66M" ; \
1679 echo "#define CONFIG_PCI" >>include/config.h ; \
1680 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1682 if [ "$(findstring _33_,$@)" ] ; then \
1683 echo -n "...33M ..." ; \
1684 echo "#define PCI_33M" >>include/config.h ; \
1686 if [ "$(findstring _66_,$@)" ] ; then \
1687 echo -n "...66M..." ; \
1688 echo "#define PCI_66M" >>include/config.h ; \
1690 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1692 sbc8349_config: unconfig
1693 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1695 TQM834x_config: unconfig
1696 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1699 #########################################################################
1701 #########################################################################
1703 MPC8540ADS_config: unconfig
1704 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
1706 MPC8540EVAL_config \
1707 MPC8540EVAL_33_config \
1708 MPC8540EVAL_66_config \
1709 MPC8540EVAL_33_slave_config \
1710 MPC8540EVAL_66_slave_config: unconfig
1711 @mkdir -p $(obj)include
1712 @echo "" >$(obj)include/config.h ; \
1713 if [ "$(findstring _33_,$@)" ] ; then \
1714 echo -n "... 33 MHz PCI" ; \
1716 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1717 echo -n "... 66 MHz PCI" ; \
1719 if [ "$(findstring _slave_,$@)" ] ; then \
1720 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
1725 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1727 MPC8560ADS_config: unconfig
1728 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
1730 MPC8541CDS_config: unconfig
1731 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
1733 MPC8548CDS_config: unconfig
1734 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
1736 MPC8555CDS_config: unconfig
1737 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
1739 PM854_config: unconfig
1740 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
1742 PM856_config: unconfig
1743 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
1747 sbc8540_66_config: unconfig
1748 @mkdir -p $(obj)include
1749 @if [ "$(findstring _66_,$@)" ] ; then \
1750 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1751 echo "... 66 MHz PCI" ; \
1753 >$(obj)include/config.h ; \
1754 echo "... 33 MHz PCI" ; \
1756 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
1760 sbc8560_66_config: unconfig
1761 @mkdir -p $(obj)include
1762 @if [ "$(findstring _66_,$@)" ] ; then \
1763 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1764 echo "... 66 MHz PCI" ; \
1766 >$(obj)include/config.h ; \
1767 echo "... 33 MHz PCI" ; \
1769 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
1771 stxgp3_config: unconfig
1772 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
1777 TQM8560_config: unconfig
1778 @mkdir -p $(obj)include
1779 @CTYPE=$(subst TQM,,$(@:_config=)); \
1780 >$(obj)include/config.h ; \
1781 echo "... TQM"$${CTYPE}; \
1782 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1783 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1784 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1785 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1786 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1787 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
1789 #########################################################################
1791 #########################################################################
1793 MPC8641HPCN_config: unconfig
1794 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1797 #########################################################################
1799 #########################################################################
1801 AmigaOneG3SE_config: unconfig
1802 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
1804 BAB7xx_config: unconfig
1805 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
1807 CPCI750_config: unconfig
1808 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
1810 DB64360_config: unconfig
1811 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
1813 DB64460_config: unconfig
1814 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
1816 ELPPC_config: unconfig
1817 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
1820 EVB64260_750CX_config: unconfig
1821 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
1823 mpc7448hpc2_config: unconfig
1824 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2
1826 P3G4_config: unconfig
1827 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1830 p3m7448_config: unconfig
1831 @mkdir -p $(obj)include
1832 @if [ "$(findstring 750_,$@)" ] ; then \
1833 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1835 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1837 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1840 PCIPPC6_config: unconfig
1841 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
1843 ZUMA_config: unconfig
1844 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1846 ppmc7xx_config: unconfig
1847 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
1849 #========================================================================
1851 #========================================================================
1852 #########################################################################
1853 ## StrongARM Systems
1854 #########################################################################
1856 assabet_config : unconfig
1857 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
1859 dnp1110_config : unconfig
1860 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
1862 gcplus_config : unconfig
1863 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
1865 lart_config : unconfig
1866 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
1868 shannon_config : unconfig
1869 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
1871 #########################################################################
1873 #########################################################################
1875 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
1877 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
1879 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1881 at91rm9200dk_config : unconfig
1882 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
1884 cmc_pu2_config : unconfig
1885 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
1887 csb637_config : unconfig
1888 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
1890 mp2usb_config : unconfig
1891 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
1894 ########################################################################
1895 ## ARM Integrator boards - see doc/README-integrator for more info.
1896 integratorap_config \
1905 ap946es_config: unconfig
1906 @board/integratorap/split_by_variant.sh $@
1908 integratorcp_config \
1917 cp1026_config: unconfig
1918 @board/integratorcp/split_by_variant.sh $@
1920 kb9202_config : unconfig
1921 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
1924 lpd7a404_config: unconfig
1925 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
1927 mx1ads_config : unconfig
1928 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
1930 mx1fs2_config : unconfig
1931 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
1934 netstar_config: unconfig
1935 @mkdir -p $(obj)include
1936 @if [ "$(findstring _32_,$@)" ] ; then \
1937 echo "... 32MB SDRAM" ; \
1938 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
1940 echo "... 64MB SDRAM" ; \
1941 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
1943 @$(MKCONFIG) -a netstar arm arm925t netstar
1945 omap1510inn_config : unconfig
1946 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
1948 omap5912osk_config : unconfig
1949 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1951 omap1610inn_config \
1952 omap1610inn_cs0boot_config \
1953 omap1610inn_cs3boot_config \
1954 omap1610inn_cs_autoboot_config \
1956 omap1610h2_cs0boot_config \
1957 omap1610h2_cs3boot_config \
1958 omap1610h2_cs_autoboot_config: unconfig
1959 @mkdir -p $(obj)include
1960 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1961 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
1962 echo "... configured for CS0 boot"; \
1963 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
1964 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
1965 echo "... configured for CS_AUTO boot"; \
1967 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
1968 echo "... configured for CS3 boot"; \
1970 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
1973 omap730p2_cs0boot_config \
1974 omap730p2_cs3boot_config : unconfig
1975 @mkdir -p $(obj)include
1976 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1977 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
1978 echo "... configured for CS0 boot"; \
1980 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
1981 echo "... configured for CS3 boot"; \
1983 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
1985 sbc2410x_config: unconfig
1986 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
1988 scb9328_config : unconfig
1989 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
1991 smdk2400_config : unconfig
1992 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
1994 smdk2410_config : unconfig
1995 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
1997 SX1_config : unconfig
1998 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2000 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2002 trab_bigram_config \
2003 trab_bigflash_config \
2004 trab_old_config: unconfig
2005 @mkdir -p $(obj)include
2006 @mkdir -p $(obj)board/trab
2007 @ >$(obj)include/config.h
2008 @[ -z "$(findstring _bigram,$@)" ] || \
2009 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2010 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2011 echo "... with 8 MB Flash, 32 MB RAM" ; \
2013 @[ -z "$(findstring _bigflash,$@)" ] || \
2014 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2015 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2016 echo "... with 16 MB Flash, 16 MB RAM" ; \
2017 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2019 @[ -z "$(findstring _old,$@)" ] || \
2020 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2021 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2022 echo "... with 8 MB Flash, 16 MB RAM" ; \
2023 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2025 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2027 VCMA9_config : unconfig
2028 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2030 #========================================================================
2031 # ARM supplied Versatile development boards
2032 #========================================================================
2034 versatileab_config \
2035 versatilepb_config : unconfig
2036 @board/versatile/split_by_variant.sh $@
2038 voiceblue_smallflash_config \
2039 voiceblue_config: unconfig
2040 @mkdir -p $(obj)include
2041 @mkdir -p $(obj)board/voiceblue
2042 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2043 echo "... boot from lower flash bank" ; \
2044 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2045 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2047 echo "... boot from upper flash bank" ; \
2048 >$(obj)include/config.h ; \
2049 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2051 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2053 cm4008_config : unconfig
2054 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2056 cm41xx_config : unconfig
2057 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2059 gth2_config : unconfig
2060 @mkdir -p $(obj)include
2061 @ >$(obj)include/config.h
2062 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2063 @$(MKCONFIG) -a gth2 mips mips gth2
2065 #########################################################################
2067 #########################################################################
2069 B2_config : unconfig
2070 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2072 #########################################################################
2074 #########################################################################
2076 armadillo_config: unconfig
2077 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2079 ep7312_config : unconfig
2080 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2082 impa7_config : unconfig
2083 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2085 modnet50_config : unconfig
2086 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2088 evb4510_config : unconfig
2089 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2091 lpc2292sodimm_config: unconfig
2092 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2094 #########################################################################
2096 #########################################################################
2098 adsvix_config : unconfig
2099 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2101 cerf250_config : unconfig
2102 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2104 cradle_config : unconfig
2105 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2107 csb226_config : unconfig
2108 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2111 @$(MKCONFIG) $(@:_config=) arm pxa delta
2113 innokom_config : unconfig
2114 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2116 ixdp425_config : unconfig
2117 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2119 ixdpg425_config : unconfig
2120 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2122 lubbock_config : unconfig
2123 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2125 pleb2_config : unconfig
2126 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2128 logodl_config : unconfig
2129 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2132 scpu_config: unconfig
2133 @if [ "$(findstring scpu_,$@)" ] ; then \
2134 echo "#define CONFIG_SCPU" >>include/config.h ; \
2135 echo "... on SCPU board variant" ; \
2137 >include/config.h ; \
2139 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2141 pxa255_idp_config: unconfig
2142 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2144 wepep250_config : unconfig
2145 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2147 xaeniax_config : unconfig
2148 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2150 xm250_config : unconfig
2151 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2153 xsengine_config : unconfig
2154 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2157 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2159 #########################################################################
2161 #########################################################################
2162 omap2420h4_config : unconfig
2163 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2165 #========================================================================
2167 #========================================================================
2168 #########################################################################
2170 #########################################################################
2171 sc520_cdp_config : unconfig
2172 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2174 sc520_spunk_config : unconfig
2175 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2177 sc520_spunk_rel_config : unconfig
2178 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2180 #========================================================================
2182 #========================================================================
2183 #########################################################################
2185 #########################################################################
2187 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2189 incaip_100MHz_config \
2190 incaip_133MHz_config \
2191 incaip_150MHz_config \
2192 incaip_config: unconfig
2193 @mkdir -p $(obj)include
2194 @ >$(obj)include/config.h
2195 @[ -z "$(findstring _100MHz,$@)" ] || \
2196 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2197 echo "... with 100MHz system clock" ; \
2199 @[ -z "$(findstring _133MHz,$@)" ] || \
2200 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2201 echo "... with 133MHz system clock" ; \
2203 @[ -z "$(findstring _150MHz,$@)" ] || \
2204 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2205 echo "... with 150MHz system clock" ; \
2207 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2209 tb0229_config: unconfig
2210 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2212 #########################################################################
2214 #########################################################################
2215 dbau1000_config : unconfig
2216 @mkdir -p $(obj)include
2217 @ >$(obj)include/config.h
2218 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2219 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2221 dbau1100_config : unconfig
2222 @mkdir -p $(obj)include
2223 @ >$(obj)include/config.h
2224 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2225 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2227 dbau1500_config : unconfig
2228 @mkdir -p $(obj)include
2229 @ >$(obj)include/config.h
2230 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2231 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2233 dbau1550_config : unconfig
2234 @mkdir -p $(obj)include
2235 @ >$(obj)include/config.h
2236 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2237 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2239 dbau1550_el_config : unconfig
2240 @mkdir -p $(obj)include
2241 @ >$(obj)include/config.h
2242 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2243 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2245 pb1000_config : unconfig
2246 @mkdir -p $(obj)include
2247 @ >$(obj)include/config.h
2248 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2249 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2251 #########################################################################
2253 #########################################################################
2255 purple_config : unconfig
2256 @$(MKCONFIG) $(@:_config=) mips mips purple
2258 #========================================================================
2260 #========================================================================
2261 #########################################################################
2263 #########################################################################
2265 DK1C20_safe_32_config \
2266 DK1C20_standard_32_config \
2267 DK1C20_config: unconfig
2268 @mkdir -p $(obj)include
2269 @ >$(obj)include/config.h
2270 @[ -z "$(findstring _safe_32,$@)" ] || \
2271 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2272 echo "... NIOS 'safe_32' configuration" ; \
2274 @[ -z "$(findstring _standard_32,$@)" ] || \
2275 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2276 echo "... NIOS 'standard_32' configuration" ; \
2278 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2279 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2280 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2282 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2284 DK1S10_safe_32_config \
2285 DK1S10_standard_32_config \
2286 DK1S10_mtx_ldk_20_config \
2287 DK1S10_config: unconfig
2288 @mkdir -p $(obj)include
2289 @ >$(obj)include/config.h
2290 @[ -z "$(findstring _safe_32,$@)" ] || \
2291 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2292 echo "... NIOS 'safe_32' configuration" ; \
2294 @[ -z "$(findstring _standard_32,$@)" ] || \
2295 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2296 echo "... NIOS 'standard_32' configuration" ; \
2298 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2299 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2300 echo "... NIOS 'mtx_ldk_20' configuration" ; \
2302 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2303 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2304 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2306 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2308 ADNPESC1_DNPEVA2_base_32_config \
2309 ADNPESC1_base_32_config \
2310 ADNPESC1_config: unconfig
2311 @mkdir -p $(obj)include
2312 @ >$(obj)include/config.h
2313 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2314 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2315 echo "... DNP/EVA2 configuration" ; \
2317 @[ -z "$(findstring _base_32,$@)" ] || \
2318 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2319 echo "... NIOS 'base_32' configuration" ; \
2321 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2322 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2323 echo "... NIOS 'base_32' configuration (DEFAULT)" ; \
2325 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2327 #########################################################################
2329 #########################################################################
2331 EP1C20_config : unconfig
2332 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2334 EP1S10_config : unconfig
2335 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2337 EP1S40_config : unconfig
2338 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2340 PK1C20_config : unconfig
2341 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2343 PCI5441_config : unconfig
2344 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2346 #========================================================================
2348 #========================================================================
2349 #########################################################################
2351 #########################################################################
2352 suzaku_config: unconfig
2353 @mkdir -p $(obj)include
2354 @ >$(obj)include/config.h
2355 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2356 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2358 ml401_config: unconfig
2360 @echo "#define CONFIG_ML401 1" >> include/config.h
2361 @./mkconfig -a $(@:_config=) microblaze microblaze ml401 xilinx
2363 xupv2p_config: unconfig
2365 @echo "#define CONFIG_XUPV2P 1" >> include/config.h
2366 @./mkconfig -a $(@:_config=) microblaze microblaze xupv2p xilinx
2368 #########################################################################
2370 #########################################################################
2371 bf533-ezkit_config: unconfig
2372 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit
2374 bf533-stamp_config: unconfig
2375 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp
2377 bf537-stamp_config: unconfig
2378 @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp
2380 bf561-ezkit_config: unconfig
2381 @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit
2383 #========================================================================
2385 #========================================================================
2386 #########################################################################
2388 #########################################################################
2390 atstk1002_config : unconfig
2391 @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
2393 #########################################################################
2394 #########################################################################
2395 #########################################################################
2398 find $(OBJTREE) -type f \
2399 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2400 -o -name '*.o' -o -name '*.a' \) -print \
2402 rm -f $(obj)examples/hello_world $(obj)examples/timer \
2403 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2404 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2405 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2406 $(obj)examples/test_burst
2407 rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2408 $(obj)tools/gen_eth_addr
2409 rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2410 rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2411 rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2412 rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2413 rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2414 rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2415 rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2416 rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2417 rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2418 rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds
2419 rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds
2420 rm -f $(obj)include/bmp_logo.h
2421 rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2424 find $(OBJTREE) -type f \( -name .depend \
2425 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2428 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
2430 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2431 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
2432 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2433 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2434 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2436 ifeq ($(OBJTREE),$(SRCTREE))
2438 distclean: clobber unconfig
2441 distclean: clobber unconfig
2446 F=`basename $(TOPDIR)` ; cd .. ; \
2447 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2449 #########################################################################