2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # See file CREDITS for list of people who contributed to this
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundatio; either version 2 of
11 # the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
29 VERSION_FILE = $(obj)include/version_autogenerated.h
31 HOSTARCH := $(shell uname -m | \
39 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
40 sed -e 's/\(cygwin\).*/cygwin/')
42 export HOSTARCH HOSTOS
44 # Deal with colliding definitions from tcsh etc.
47 #########################################################################
49 # U-boot build supports producing a object files to the separate external
50 # directory. Two use cases are supported:
52 # 1) Add O= to the make command line
53 # 'make O=/tmp/build all'
55 # 2) Set environement variable BUILD_DIR to point to the desired location
56 # 'export BUILD_DIR=/tmp/build'
59 # The second approach can also be used with a MAKEALL script
60 # 'export BUILD_DIR=/tmp/build'
63 # Command line 'O=' setting overrides BUILD_DIR environent variable.
65 # When none of the above methods is used the local build is performed and
66 # the object files are placed in the source directory.
70 ifeq ("$(origin O)", "command line")
76 saved-output := $(BUILD_DIR)
78 # Attempt to create a output directory.
79 $(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR})
81 # Verify if it was successful.
82 BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd)
83 $(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist))
84 endif # ifneq ($(BUILD_DIR),)
86 OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))
90 export TOPDIR SRCTREE OBJTREE
92 MKCONFIG := $(SRCTREE)/mkconfig
95 ifneq ($(OBJTREE),$(SRCTREE))
100 # $(obj) and (src) are defined in config.mk but here in main Makefile
101 # we also need them before config.mk is included which is the case for
102 # some targets like unconfig, clean, clobber, distclean, etc.
103 ifneq ($(OBJTREE),$(SRCTREE))
112 #########################################################################
114 ifeq ($(OBJTREE)/include/config.mk,$(wildcard $(OBJTREE)/include/config.mk))
116 # load ARCH, BOARD, and CPU configuration
117 include $(OBJTREE)/include/config.mk
118 export ARCH CPU BOARD VENDOR SOC
121 ifeq ($(HOSTARCH),$(ARCH))
125 CROSS_COMPILE = powerpc-linux-
128 CROSS_COMPILE = arm-linux-
131 CROSS_COMPILE = i386-linux-
134 CROSS_COMPILE = mips_4KC-
137 CROSS_COMPILE = nios-elf-
140 CROSS_COMPILE = nios2-elf-
143 CROSS_COMPILE = m68k-elf-
145 ifeq ($(ARCH),microblaze)
148 ifeq ($(ARCH),blackfin)
149 CROSS_COMPILE = bfin-uclinux-
152 CROSS_COMPILE = avr32-
159 # load other configuration
160 include $(TOPDIR)/config.mk
162 #########################################################################
163 # U-Boot objects....order is important (i.e. start must be first)
165 OBJS = cpu/$(CPU)/start.o
167 OBJS += cpu/$(CPU)/start16.o
168 OBJS += cpu/$(CPU)/reset.o
171 OBJS += cpu/$(CPU)/resetvec.o
173 ifeq ($(CPU),mpc85xx)
174 OBJS += cpu/$(CPU)/resetvec.o
176 ifeq ($(CPU),mpc86xx)
177 OBJS += cpu/$(CPU)/resetvec.o
180 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
181 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
184 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
185 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
188 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
189 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
192 OBJS := $(addprefix $(obj),$(OBJS))
194 LIBS = lib_generic/libgeneric.a
195 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
196 LIBS += cpu/$(CPU)/lib$(CPU).a
198 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
200 LIBS += lib_$(ARCH)/lib$(ARCH).a
201 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
202 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
204 LIBS += disk/libdisk.a
207 LIBS += drivers/libdrivers.a
208 LIBS += drivers/nand/libnand.a
209 LIBS += drivers/nand_legacy/libnand_legacy.a
210 ifeq ($(CPU),mpc83xx)
211 LIBS += drivers/qe/qe.a
213 LIBS += drivers/sk98lin/libsk98lin.a
214 LIBS += post/libpost.a post/drivers/libpostdrivers.a
215 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
216 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
217 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
218 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
219 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
220 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
221 LIBS += common/libcommon.a
224 LIBS := $(addprefix $(obj),$(LIBS))
228 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
230 # The "tools" are needed early, so put this first
231 # Don't include stuff already done in $(LIBS)
237 ifeq ($(CONFIG_NAND_U_BOOT),y)
239 U_BOOT_NAND = $(obj)u-boot-nand.bin
242 __OBJS := $(subst $(obj),,$(OBJS))
243 __LIBS := $(subst $(obj),,$(LIBS))
245 #########################################################################
246 #########################################################################
248 ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
252 $(obj)u-boot.hex: $(obj)u-boot
253 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
255 $(obj)u-boot.srec: $(obj)u-boot
256 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
258 $(obj)u-boot.bin: $(obj)u-boot
259 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
261 $(obj)u-boot.img: $(obj)u-boot.bin
262 ./tools/mkimage -A $(ARCH) -T firmware -C none \
263 -a $(TEXT_BASE) -e 0 \
264 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
265 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
268 $(obj)u-boot.dis: $(obj)u-boot
269 $(OBJDUMP) -d $< > $@
271 $(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
272 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
273 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
274 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
275 -Map u-boot.map -o u-boot
278 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
281 $(MAKE) -C $(dir $(subst $(obj),,$@))
287 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
289 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
290 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
293 @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
294 echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
295 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
296 $(TOPDIR)) >> $(VERSION_FILE); \
297 echo "\"" >> $(VERSION_FILE)
300 $(MAKE) -C tools/gdb all || exit 1
303 $(MAKE) -C tools/updater all || exit 1
306 $(MAKE) -C tools/env all || exit 1
309 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
312 ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
313 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
314 fs/cramfs fs/fat fs/fdos fs/jffs2 \
315 net disk rtc dtt drivers drivers/sk98lin common \
316 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
319 etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
320 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
321 fs/cramfs fs/fat fs/fdos fs/jffs2 \
322 net disk rtc dtt drivers drivers/sk98lin common \
323 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
325 $(obj)System.map: $(obj)u-boot
327 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
328 sort > $(obj)System.map
330 #########################################################################
332 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
333 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
334 $(SUBDIRS) version gdbtools updater env depend \
335 dep tags ctags etags $(obj)System.map:
336 @echo "System not configured - see README" >&2
342 git log --no-merges U-Boot-1_1_5.. | \
343 unexpand -a | sed -e 's/\s\s*$$//' > $@
345 #########################################################################
348 @rm -f $(obj)include/config.h $(obj)include/config.mk \
349 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp
351 #========================================================================
353 #========================================================================
355 #########################################################################
357 #########################################################################
359 canmb_config: unconfig
360 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
362 cmi_mpc5xx_config: unconfig
363 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
365 PATI_config: unconfig
366 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
368 #########################################################################
370 #########################################################################
373 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
375 BC3450_config: unconfig
376 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
378 cpci5200_config: unconfig
379 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
381 hmi1001_config: unconfig
382 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
385 Lite5200_LOWBOOT_config \
386 Lite5200_LOWBOOT08_config \
387 icecube_5200_config \
388 icecube_5200_LOWBOOT_config \
389 icecube_5200_LOWBOOT08_config \
390 icecube_5200_DDR_config \
391 icecube_5200_DDR_LOWBOOT_config \
392 icecube_5200_DDR_LOWBOOT08_config \
393 icecube_5100_config: unconfig
394 @mkdir -p $(obj)include
395 @mkdir -p $(obj)board/icecube
396 @ >$(obj)include/config.h
397 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
398 { if [ "$(findstring DDR,$@)" ] ; \
399 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
400 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
402 echo "... with LOWBOOT configuration" ; \
404 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
405 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
406 echo "... with 8 MB flash only" ; \
407 echo "... with LOWBOOT configuration" ; \
409 @[ -z "$(findstring DDR,$@)" ] || \
410 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
411 echo "... DDR memory revision" ; \
413 @[ -z "$(findstring 5200,$@)" ] || \
414 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
415 echo "... with MPC5200 processor" ; \
417 @[ -z "$(findstring 5100,$@)" ] || \
418 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
419 echo "... with MGT5100 processor" ; \
421 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
423 jupiter_config: unconfig
424 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
426 v38b_config: unconfig
427 @./mkconfig -a v38b ppc mpc5xxx v38b
429 inka4x0_config: unconfig
430 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
433 lite5200b_LOWBOOT_config: unconfig
434 @mkdir -p $(obj)include
435 @mkdir -p $(obj)board/icecube
436 @ >$(obj)include/config.h
437 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
438 @ echo "... DDR memory revision"
439 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
440 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
441 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
442 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
443 echo "... with LOWBOOT configuration" ; \
445 @ echo "... with MPC5200B processor"
446 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
449 mcc200_SDRAM_config \
450 mcc200_highboot_config \
451 mcc200_COM12_config \
452 mcc200_COM12_SDRAM_config \
453 mcc200_COM12_highboot_config \
454 mcc200_COM12_highboot_SDRAM_config \
455 mcc200_highboot_SDRAM_config \
458 prs200_highboot_config \
459 prs200_highboot_DDR_config: unconfig
460 @mkdir -p $(obj)include
461 @mkdir -p $(obj)board/mcc200
462 @ >$(obj)include/config.h
463 @[ -n "$(findstring highboot,$@)" ] || \
464 { echo "... with lowboot configuration" ; \
466 @[ -z "$(findstring highboot,$@)" ] || \
467 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
468 echo "... with highboot configuration" ; \
470 @[ -n "$(findstring _SDRAM,$@)" ] || \
471 { if [ -n "$(findstring mcc200,$@)" ]; \
473 echo "... with DDR" ; \
475 if [ -n "$(findstring _DDR,$@)" ];\
477 echo "... with DDR" ; \
479 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
480 echo "... with SDRAM" ; \
484 @[ -z "$(findstring _SDRAM,$@)" ] || \
485 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
486 echo "... with SDRAM" ; \
488 @[ -z "$(findstring COM12,$@)" ] || \
489 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
490 echo "... with console on COM12" ; \
492 @[ -z "$(findstring prs200,$@)" ] || \
493 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
495 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
497 mecp5200_config: unconfig
498 @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd
501 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
503 pf5200_config: unconfig
504 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
508 PM520_ROMBOOT_config \
509 PM520_ROMBOOT_DDR_config: unconfig
510 @mkdir -p $(obj)include
511 @ >$(obj)include/config.h
512 @[ -z "$(findstring DDR,$@)" ] || \
513 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
514 echo "... DDR memory revision" ; \
516 @[ -z "$(findstring ROMBOOT,$@)" ] || \
517 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
518 echo "... booting from 8-bit flash" ; \
520 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
522 smmaco4_config: unconfig
523 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
525 spieval_config: unconfig
526 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
529 TB5200_config: unconfig
530 @mkdir -p $(obj)include
531 @[ -z "$(findstring _B,$@)" ] || \
532 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
533 echo "... with MPC5200B processor" ; \
535 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
539 TOP5200_config: unconfig
540 @mkdir -p $(obj)include
541 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
542 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
546 Total5200_lowboot_config \
547 Total5200_Rev2_config \
548 Total5200_Rev2_lowboot_config: unconfig
549 @mkdir -p $(obj)include
550 @mkdir -p $(obj)board/total5200
551 @ >$(obj)include/config.h
552 @[ -z "$(findstring 5100,$@)" ] || \
553 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
554 echo "... with MGT5100 processor" ; \
556 @[ -z "$(findstring 5200,$@)" ] || \
557 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
558 echo "... with MPC5200 processor" ; \
560 @[ -n "$(findstring Rev,$@)" ] || \
561 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
562 echo "... revision 1 board" ; \
564 @[ -z "$(findstring Rev2_,$@)" ] || \
565 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
566 echo "... revision 2 board" ; \
568 @[ -z "$(findstring lowboot_,$@)" ] || \
569 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
570 echo "... with lowboot configuration" ; \
572 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
575 cam5200_niosflash_config \
579 TQM5200S_HIGHBOOT_config \
581 TQM5200_B_HIGHBOOT_config \
583 TQM5200_STK100_config: unconfig
584 @mkdir -p $(obj)include
585 @mkdir -p $(obj)board/tqm5200
586 @ >$(obj)include/config.h
587 @[ -z "$(findstring cam5200,$@)" ] || \
588 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
589 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
590 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
591 echo "... TQM5200S on Cam5200" ; \
593 @[ -z "$(findstring niosflash,$@)" ] || \
594 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
595 echo "... with NIOS flash driver" ; \
597 @[ -z "$(findstring fo300,$@)" ] || \
598 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
599 echo "... TQM5200 on FO300" ; \
601 @[ -z "$(findstring MiniFAP,$@)" ] || \
602 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
603 echo "... TQM5200_AC on MiniFAP" ; \
605 @[ -z "$(findstring STK100,$@)" ] || \
606 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
607 echo "... on a STK52XX.100 base board" ; \
609 @[ -z "$(findstring TQM5200_B,$@)" ] || \
610 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
612 @[ -z "$(findstring TQM5200S,$@)" ] || \
613 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
614 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
616 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
617 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
619 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
620 uc101_config: unconfig
621 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
622 motionpro_config: unconfig
623 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
626 #########################################################################
628 #########################################################################
634 @mkdir -p $(obj)include
635 $(if $(findstring AdderII,$@), \
636 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
637 @$(MKCONFIG) -a Adder ppc mpc8xx adder
644 FADS860T_config: unconfig
645 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
647 AMX860_config : unconfig
648 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
650 c2mon_config: unconfig
651 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
654 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
656 cogent_mpc8xx_config: unconfig
657 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
659 ELPT860_config: unconfig
660 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
662 EP88x_config: unconfig
663 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
665 ESTEEM192E_config: unconfig
666 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
668 ETX094_config : unconfig
669 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
671 FLAGADM_config: unconfig
672 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
674 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
677 GEN860T_config: unconfig
678 @mkdir -p $(obj)include
679 @ >$(obj)include/config.h
680 @[ -z "$(findstring _SC,$@)" ] || \
681 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
682 echo "With reduced H/W feature set (SC)..." ; \
684 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
686 GENIETV_config: unconfig
687 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
690 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
692 hermes_config : unconfig
693 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
695 HMI10_config : unconfig
696 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
698 IAD210_config: unconfig
699 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
701 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
703 ICU862_100MHz_config \
704 ICU862_config: unconfig
705 @mkdir -p $(obj)include
706 @ >$(obj)include/config.h
707 @[ -z "$(findstring _100MHz,$@)" ] || \
708 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
709 echo "... with 100MHz system clock" ; \
711 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
713 IP860_config : unconfig
714 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
718 IVML24_config: unconfig
719 @mkdir -p $(obj)include
720 @ >$(obj)include/config.h
721 @[ -z "$(findstring IVML24_config,$@)" ] || \
722 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
724 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
725 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
727 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
728 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
730 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
734 IVMS8_config: unconfig
735 @mkdir -p $(obj)include
736 @ >$(obj)include/config.h
737 @[ -z "$(findstring IVMS8_config,$@)" ] || \
738 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
740 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
741 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
743 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
744 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
746 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
748 KUP4K_config : unconfig
749 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
751 KUP4X_config : unconfig
752 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
754 LANTEC_config : unconfig
755 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
757 lwmon_config: unconfig
758 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
761 MBX860T_config: unconfig
762 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
764 MHPC_config: unconfig
765 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
767 MVS1_config : unconfig
768 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
770 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
773 NETVIA_config: unconfig
774 @mkdir -p $(obj)include
775 @ >$(obj)include/config.h
776 @[ -z "$(findstring NETVIA_config,$@)" ] || \
777 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
778 echo "... Version 1" ; \
780 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
781 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
782 echo "... Version 2" ; \
784 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
786 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
789 NETPHONE_config: unconfig
790 @mkdir -p $(obj)include
791 @ >$(obj)include/config.h
792 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
793 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
795 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
796 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
798 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
800 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
802 NETTA_ISDN_6412_SWAPHOOK_config \
803 NETTA_ISDN_SWAPHOOK_config \
804 NETTA_6412_SWAPHOOK_config \
805 NETTA_SWAPHOOK_config \
806 NETTA_ISDN_6412_config \
809 NETTA_config: unconfig
810 @mkdir -p $(obj)include
811 @ >$(obj)include/config.h
812 @[ -z "$(findstring ISDN_,$@)" ] || \
813 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
815 @[ -n "$(findstring ISDN_,$@)" ] || \
816 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
818 @[ -z "$(findstring 6412_,$@)" ] || \
819 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
821 @[ -n "$(findstring 6412_,$@)" ] || \
822 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
824 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
825 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
827 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
828 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
830 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
832 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
835 NETTA2_config: unconfig
836 @mkdir -p $(obj)include
837 @ >$(obj)include/config.h
838 @[ -z "$(findstring NETTA2_config,$@)" ] || \
839 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
841 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
842 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
844 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
848 CP850_config: unconfig
849 @mkdir -p $(obj)include
850 @ >$(obj)include/config.h
851 @[ -z "$(findstring CP850,$@)" ] || \
852 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
853 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
855 @[ -z "$(findstring Rev1,$@)" ] || \
856 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
858 @[ -z "$(findstring Rev2,$@)" ] || \
859 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
861 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
863 NX823_config: unconfig
864 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
866 pcu_e_config: unconfig
867 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
869 QS850_config: unconfig
870 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
872 QS823_config: unconfig
873 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
875 QS860T_config: unconfig
876 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
878 quantum_config: unconfig
879 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
881 R360MPI_config: unconfig
882 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
884 RBC823_config: unconfig
885 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
887 RPXClassic_config: unconfig
888 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
890 RPXlite_config: unconfig
891 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
893 RPXlite_DW_64_config \
894 RPXlite_DW_LCD_config \
895 RPXlite_DW_64_LCD_config \
896 RPXlite_DW_NVRAM_config \
897 RPXlite_DW_NVRAM_64_config \
898 RPXlite_DW_NVRAM_LCD_config \
899 RPXlite_DW_NVRAM_64_LCD_config \
900 RPXlite_DW_config: unconfig
901 @mkdir -p $(obj)include
902 @ >$(obj)include/config.h
903 @[ -z "$(findstring _64,$@)" ] || \
904 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
905 echo "... with 64MHz system clock ..."; \
907 @[ -z "$(findstring _LCD,$@)" ] || \
908 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
909 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
910 echo "... with LCD display ..."; \
912 @[ -z "$(findstring _NVRAM,$@)" ] || \
913 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
914 echo "... with ENV in NVRAM ..."; \
916 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
919 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
921 RRvision_config: unconfig
922 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
924 RRvision_LCD_config: unconfig
925 @mkdir -p $(obj)include
926 @echo "#define CONFIG_LCD" >$(obj)include/config.h
927 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
928 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
930 SM850_config : unconfig
931 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
934 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
936 SPD823TS_config: unconfig
937 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
939 stxxtc_config: unconfig
940 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
942 svm_sc8xx_config: unconfig
943 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
945 SXNI855T_config: unconfig
946 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
948 # EMK MPC8xx based modules
949 TOP860_config: unconfig
950 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
952 # Play some tricks for configuration selection
953 # Only 855 and 860 boards may come with FEC
954 # and only 823 boards may have LCD support
955 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
973 virtlab2_config: unconfig
974 @mkdir -p $(obj)include
975 @ >$(obj)include/config.h
976 @[ -z "$(findstring _LCD,$@)" ] || \
977 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
978 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
979 echo "... with LCD display" ; \
981 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
983 TTTech_config: unconfig
984 @mkdir -p $(obj)include
985 @echo "#define CONFIG_LCD" >$(obj)include/config.h
986 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
987 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
989 uc100_config : unconfig
990 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
993 @mkdir -p $(obj)include
994 @echo "#define CONFIG_LCD" >$(obj)include/config.h
995 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
996 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
999 @mkdir -p $(obj)include
1000 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1001 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1002 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1004 #########################################################################
1006 #########################################################################
1007 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1009 acadia_config: unconfig
1010 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1012 ADCIOP_config: unconfig
1013 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1015 alpr_config: unconfig
1016 @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
1018 AP1000_config:unconfig
1019 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1021 APC405_config: unconfig
1022 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1024 AR405_config: unconfig
1025 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1027 ASH405_config: unconfig
1028 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1030 bamboo_config: unconfig
1031 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1033 bubinga_config: unconfig
1034 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1036 CANBT_config: unconfig
1037 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1040 CATcenter_25_config \
1041 CATcenter_33_config: unconfig
1042 @mkdir -p $(obj)include
1043 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1044 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1045 @[ -z "$(findstring _25,$@)" ] || \
1046 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1047 echo "SysClk = 25MHz" ; \
1049 @[ -z "$(findstring _33,$@)" ] || \
1050 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1051 echo "SysClk = 33MHz" ; \
1053 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1055 CPCI2DP_config: unconfig
1056 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1061 CPCI405AB_config: unconfig
1062 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1063 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1065 CPCI440_config: unconfig
1066 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd
1068 CPCIISER4_config: unconfig
1069 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1071 CRAYL1_config: unconfig
1072 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1074 csb272_config: unconfig
1075 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1077 csb472_config: unconfig
1078 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1080 DASA_SIM_config: unconfig
1081 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1083 DP405_config: unconfig
1084 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1086 DU405_config: unconfig
1087 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1089 ebony_config: unconfig
1090 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1092 ERIC_config: unconfig
1093 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1095 EXBITGEN_config: unconfig
1096 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1098 G2000_config: unconfig
1099 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1101 HH405_config: unconfig
1102 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1104 HUB405_config: unconfig
1105 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1107 JSE_config: unconfig
1108 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1110 KAREF_config: unconfig
1111 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1113 katmai_config: unconfig
1114 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1116 luan_config: unconfig
1117 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1119 METROBOX_config: unconfig
1120 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1122 MIP405_config: unconfig
1123 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1125 MIP405T_config: unconfig
1126 @mkdir -p $(obj)include
1127 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1128 @echo "Enable subset config for MIP405T"
1129 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1131 ML2_config: unconfig
1132 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1134 ml300_config: unconfig
1135 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1137 ocotea_config: unconfig
1138 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1141 ORSG_config: unconfig
1142 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1144 p3p440_config: unconfig
1145 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1147 PCI405_config: unconfig
1148 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1150 pcs440ep_config: unconfig
1151 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1153 PIP405_config: unconfig
1154 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1156 PLU405_config: unconfig
1157 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1159 PMC405_config: unconfig
1160 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1162 PPChameleonEVB_config \
1163 PPChameleonEVB_BA_25_config \
1164 PPChameleonEVB_ME_25_config \
1165 PPChameleonEVB_HI_25_config \
1166 PPChameleonEVB_BA_33_config \
1167 PPChameleonEVB_ME_33_config \
1168 PPChameleonEVB_HI_33_config: unconfig
1169 @mkdir -p $(obj)include
1170 @ >$(obj)include/config.h
1171 @[ -z "$(findstring EVB_BA,$@)" ] || \
1172 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1173 echo "... BASIC model" ; \
1175 @[ -z "$(findstring EVB_ME,$@)" ] || \
1176 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1177 echo "... MEDIUM model" ; \
1179 @[ -z "$(findstring EVB_HI,$@)" ] || \
1180 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1181 echo "... HIGH-END model" ; \
1183 @[ -z "$(findstring _25,$@)" ] || \
1184 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1185 echo "SysClk = 25MHz" ; \
1187 @[ -z "$(findstring _33,$@)" ] || \
1188 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1189 echo "SysClk = 33MHz" ; \
1191 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1193 rainier_config: unconfig
1194 @mkdir -p $(obj)include
1195 @echo "#define CONFIG_RAINIER" > $(obj)include/config.h
1196 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1198 rainier_nand_config: unconfig
1199 @mkdir -p $(obj)include
1200 @mkdir -p $(obj)nand_spl
1201 @mkdir -p $(obj)board/amcc/sequoia
1202 @echo "#define CONFIG_RAINIER" > $(obj)include/config.h
1203 @echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h
1204 @echo "Compile NAND boot image for sequoia"
1205 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1206 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1207 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1209 sbc405_config: unconfig
1210 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1212 sequoia_config: unconfig
1213 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sequoia amcc
1215 sequoia_nand_config: unconfig
1216 @mkdir -p $(obj)include
1217 @mkdir -p $(obj)nand_spl
1218 @mkdir -p $(obj)board/amcc/sequoia
1219 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1220 @echo "Compile NAND boot image for sequoia"
1221 @$(MKCONFIG) -a sequoia ppc ppc4xx sequoia amcc
1222 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1223 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1226 @./mkconfig $(@:_config=) ppc ppc4xx sc3
1228 sycamore_config: unconfig
1229 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1231 taishan_config: unconfig
1232 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1234 VOH405_config: unconfig
1235 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1237 VOM405_config: unconfig
1238 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1240 CMS700_config: unconfig
1241 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1244 W7OLMG_config: unconfig
1245 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1247 walnut_config: unconfig
1248 @$(MKCONFIG) $(@:_config=) ppc ppc4xx walnut amcc
1250 WUH405_config: unconfig
1251 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1253 XPEDITE1K_config: unconfig
1254 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1256 yosemite_config: unconfig
1257 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yosemite amcc
1259 yellowstone_config: unconfig
1260 @mkdir -p $(obj)include
1261 @echo "#define CONFIG_YELLOWSTONE" > $(obj)include/config.h
1262 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1264 yucca_config: unconfig
1265 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1267 #########################################################################
1269 #########################################################################
1272 Yukon8220_config: unconfig
1273 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1275 sorcery_config: unconfig
1276 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1278 #########################################################################
1280 #########################################################################
1281 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1283 A3000_config: unconfig
1284 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1286 barco_config: unconfig
1287 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1289 BMW_config: unconfig
1290 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1293 CPC45_ROMBOOT_config: unconfig
1294 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1295 @cd $(obj)include ; \
1296 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1297 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1298 echo "... booting from 8-bit flash" ; \
1300 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1301 echo "... booting from 64-bit flash" ; \
1303 echo "export CONFIG_BOOT_ROM" >> config.mk;
1305 CU824_config: unconfig
1306 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1308 debris_config: unconfig
1309 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1311 eXalion_config: unconfig
1312 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1314 HIDDEN_DRAGON_config: unconfig
1315 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1317 kvme080_config: unconfig
1318 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1320 MOUSSE_config: unconfig
1321 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1323 MUSENKI_config: unconfig
1324 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1326 MVBLUE_config: unconfig
1327 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1329 OXC_config: unconfig
1330 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1332 PN62_config: unconfig
1333 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1335 Sandpoint8240_config: unconfig
1336 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1338 Sandpoint8245_config: unconfig
1339 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1341 sbc8240_config: unconfig
1342 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1344 SL8245_config: unconfig
1345 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1347 utx8245_config: unconfig
1348 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1350 #########################################################################
1352 #########################################################################
1354 atc_config: unconfig
1355 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1357 cogent_mpc8260_config: unconfig
1358 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1361 CPU86_ROMBOOT_config: unconfig
1362 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1363 @cd $(obj)include ; \
1364 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1365 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1366 echo "... booting from 8-bit flash" ; \
1368 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1369 echo "... booting from 64-bit flash" ; \
1371 echo "export CONFIG_BOOT_ROM" >> config.mk;
1374 CPU87_ROMBOOT_config: unconfig
1375 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1376 @cd $(obj)include ; \
1377 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1378 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1379 echo "... booting from 8-bit flash" ; \
1381 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1382 echo "... booting from 64-bit flash" ; \
1384 echo "export CONFIG_BOOT_ROM" >> config.mk;
1387 ep8248E_config : unconfig
1388 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1390 ep8260_config: unconfig
1391 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1393 ep82xxm_config: unconfig
1394 @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
1396 gw8260_config: unconfig
1397 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1399 hymod_config: unconfig
1400 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1402 IDS8247_config: unconfig
1403 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1405 IPHASE4539_config: unconfig
1406 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1409 ISPAN_REVB_config: unconfig
1410 @mkdir -p $(obj)include
1411 @if [ "$(findstring _REVB_,$@)" ] ; then \
1412 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1414 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1417 MPC8260ADS_lowboot_config \
1418 MPC8260ADS_33MHz_config \
1419 MPC8260ADS_33MHz_lowboot_config \
1420 MPC8260ADS_40MHz_config \
1421 MPC8260ADS_40MHz_lowboot_config \
1423 MPC8272ADS_lowboot_config \
1425 PQ2FADS_lowboot_config \
1427 PQ2FADS-VR_lowboot_config \
1429 PQ2FADS-ZU_lowboot_config \
1430 PQ2FADS-ZU_66MHz_config \
1431 PQ2FADS-ZU_66MHz_lowboot_config \
1433 @mkdir -p $(obj)include
1434 @mkdir -p $(obj)board/mpc8260ads
1435 $(if $(findstring PQ2FADS,$@), \
1436 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1437 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1438 $(if $(findstring MHz,$@), \
1439 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1440 $(if $(findstring VR,$@), \
1441 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1442 @[ -z "$(findstring lowboot_,$@)" ] || \
1443 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1444 echo "... with lowboot configuration" ; \
1446 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1448 MPC8266ADS_config: unconfig
1449 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1451 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1453 PM825_ROMBOOT_config \
1454 PM825_BIGFLASH_config \
1455 PM825_ROMBOOT_BIGFLASH_config \
1457 PM826_ROMBOOT_config \
1458 PM826_BIGFLASH_config \
1459 PM826_ROMBOOT_BIGFLASH_config: unconfig
1460 @mkdir -p $(obj)include
1461 @mkdir -p $(obj)board/pm826
1462 @if [ "$(findstring PM825_,$@)" ] ; then \
1463 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1465 >$(obj)include/config.h ; \
1467 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1468 echo "... booting from 8-bit flash" ; \
1469 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1470 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1471 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1472 echo "... with 32 MB Flash" ; \
1473 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1476 echo "... booting from 64-bit flash" ; \
1477 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1478 echo "... with 32 MB Flash" ; \
1479 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1480 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1482 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1485 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1489 PM828_ROMBOOT_config \
1490 PM828_ROMBOOT_PCI_config: unconfig
1491 @mkdir -p $(obj)include
1492 @mkdir -p $(obj)board/pm826
1493 @if [ "$(findstring _PCI_,$@)" ] ; then \
1494 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1495 echo "... with PCI enabled" ; \
1497 >$(obj)include/config.h ; \
1499 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1500 echo "... booting from 8-bit flash" ; \
1501 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1502 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1504 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1506 ppmc8260_config: unconfig
1507 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1509 Rattler8248_config \
1510 Rattler_config: unconfig
1511 @mkdir -p $(obj)include
1512 $(if $(findstring 8248,$@), \
1513 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1514 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1516 RPXsuper_config: unconfig
1517 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1519 rsdproto_config: unconfig
1520 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1522 sacsng_config: unconfig
1523 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1525 sbc8260_config: unconfig
1526 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1528 SCM_config: unconfig
1529 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1541 TQM8265_AA_config: unconfig
1542 @mkdir -p $(obj)include
1544 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1545 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1546 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1547 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1548 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1549 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1550 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1551 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1552 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1553 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1554 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1556 >$(obj)include/config.h ; \
1557 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1558 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1560 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1561 echo "... with $${CFREQ}MHz system clock" ; \
1562 if [ "$${CACHE}" == "yes" ] ; then \
1563 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1564 echo "... with L2 Cache support" ; \
1566 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1567 echo "... without L2 Cache support" ; \
1569 if [ "$${BMODE}" == "60x" ] ; then \
1570 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1571 echo "... with 60x Bus Mode" ; \
1573 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1574 echo "... without 60x Bus Mode" ; \
1576 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1578 TQM8272_config: unconfig
1579 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1581 VoVPN-GW_66MHz_config \
1582 VoVPN-GW_100MHz_config: unconfig
1583 @mkdir -p $(obj)include
1584 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1585 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1587 ZPC1900_config: unconfig
1588 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1590 #########################################################################
1592 #########################################################################
1594 cobra5272_config : unconfig
1595 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1597 EB+MCF-EV123_config : unconfig
1598 @mkdir -p $(obj)include
1599 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1600 @ >$(obj)include/config.h
1601 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1602 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1604 EB+MCF-EV123_internal_config : unconfig
1605 @mkdir -p $(obj)include
1606 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1607 @ >$(obj)include/config.h
1608 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1609 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1611 idmr_config : unconfig
1612 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1614 M5271EVB_config : unconfig
1615 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1617 M5272C3_config : unconfig
1618 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1620 M5282EVB_config : unconfig
1621 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1623 TASREG_config : unconfig
1624 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1626 r5200_config : unconfig
1627 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1629 #########################################################################
1631 #########################################################################
1633 MPC832XEMDS_config \
1634 MPC832XEMDS_HOST_33_config \
1635 MPC832XEMDS_HOST_66_config \
1636 MPC832XEMDS_SLAVE_config: unconfig
1637 @echo "" >include/config.h ; \
1638 if [ "$(findstring _HOST_,$@)" ] ; then \
1639 echo -n "... PCI HOST " ; \
1640 echo "#define CONFIG_PCI" >>include/config.h ; \
1642 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1643 echo "...PCI SLAVE 66M" ; \
1644 echo "#define CONFIG_PCI" >>include/config.h ; \
1645 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1647 if [ "$(findstring _33_,$@)" ] ; then \
1648 echo -n "...33M ..." ; \
1649 echo "#define PCI_33M" >>include/config.h ; \
1651 if [ "$(findstring _66_,$@)" ] ; then \
1652 echo -n "...66M..." ; \
1653 echo "#define PCI_66M" >>include/config.h ; \
1655 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
1657 MPC8349EMDS_config: unconfig
1658 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
1661 MPC8349ITX_LOWBOOT_config \
1662 MPC8349ITXGP_config: unconfig
1663 @mkdir -p $(obj)include
1664 @mkdir -p $(obj)board/mpc8349itx
1665 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1666 @if [ "$(findstring GP,$@)" ] ; then \
1667 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1669 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1670 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1672 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx
1674 MPC8360EMDS_config \
1675 MPC8360EMDS_HOST_33_config \
1676 MPC8360EMDS_HOST_66_config \
1677 MPC8360EMDS_SLAVE_config: unconfig
1678 @echo "" >include/config.h ; \
1679 if [ "$(findstring _HOST_,$@)" ] ; then \
1680 echo -n "... PCI HOST " ; \
1681 echo "#define CONFIG_PCI" >>include/config.h ; \
1683 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1684 echo "...PCI SLAVE 66M" ; \
1685 echo "#define CONFIG_PCI" >>include/config.h ; \
1686 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1688 if [ "$(findstring _33_,$@)" ] ; then \
1689 echo -n "...33M ..." ; \
1690 echo "#define PCI_33M" >>include/config.h ; \
1692 if [ "$(findstring _66_,$@)" ] ; then \
1693 echo -n "...66M..." ; \
1694 echo "#define PCI_66M" >>include/config.h ; \
1696 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1698 sbc8349_config: unconfig
1699 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1701 TQM834x_config: unconfig
1702 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1705 #########################################################################
1707 #########################################################################
1709 MPC8540ADS_config: unconfig
1710 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
1712 MPC8540EVAL_config \
1713 MPC8540EVAL_33_config \
1714 MPC8540EVAL_66_config \
1715 MPC8540EVAL_33_slave_config \
1716 MPC8540EVAL_66_slave_config: unconfig
1717 @mkdir -p $(obj)include
1718 @echo "" >$(obj)include/config.h ; \
1719 if [ "$(findstring _33_,$@)" ] ; then \
1720 echo -n "... 33 MHz PCI" ; \
1722 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1723 echo -n "... 66 MHz PCI" ; \
1725 if [ "$(findstring _slave_,$@)" ] ; then \
1726 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
1731 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1733 MPC8560ADS_config: unconfig
1734 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
1736 MPC8541CDS_config: unconfig
1737 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
1739 MPC8548CDS_config: unconfig
1740 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
1742 MPC8555CDS_config: unconfig
1743 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
1745 PM854_config: unconfig
1746 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
1748 PM856_config: unconfig
1749 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
1753 sbc8540_66_config: unconfig
1754 @mkdir -p $(obj)include
1755 @if [ "$(findstring _66_,$@)" ] ; then \
1756 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1757 echo "... 66 MHz PCI" ; \
1759 >$(obj)include/config.h ; \
1760 echo "... 33 MHz PCI" ; \
1762 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
1766 sbc8560_66_config: unconfig
1767 @mkdir -p $(obj)include
1768 @if [ "$(findstring _66_,$@)" ] ; then \
1769 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1770 echo "... 66 MHz PCI" ; \
1772 >$(obj)include/config.h ; \
1773 echo "... 33 MHz PCI" ; \
1775 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
1777 stxgp3_config: unconfig
1778 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
1783 TQM8560_config: unconfig
1784 @mkdir -p $(obj)include
1785 @CTYPE=$(subst TQM,,$(@:_config=)); \
1786 >$(obj)include/config.h ; \
1787 echo "... TQM"$${CTYPE}; \
1788 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1789 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1790 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1791 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1792 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1793 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
1795 #########################################################################
1797 #########################################################################
1799 MPC8641HPCN_config: unconfig
1800 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1803 #########################################################################
1805 #########################################################################
1807 AmigaOneG3SE_config: unconfig
1808 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
1810 BAB7xx_config: unconfig
1811 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
1813 CPCI750_config: unconfig
1814 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
1816 DB64360_config: unconfig
1817 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
1819 DB64460_config: unconfig
1820 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
1822 ELPPC_config: unconfig
1823 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
1826 EVB64260_750CX_config: unconfig
1827 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
1829 P3G4_config: unconfig
1830 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1833 p3m7448_config: unconfig
1834 @mkdir -p $(obj)include
1835 @if [ "$(findstring 750_,$@)" ] ; then \
1836 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1838 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1840 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1843 PCIPPC6_config: unconfig
1844 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
1846 ZUMA_config: unconfig
1847 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1849 ppmc7xx_config: unconfig
1850 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
1852 #========================================================================
1854 #========================================================================
1855 #########################################################################
1856 ## StrongARM Systems
1857 #########################################################################
1859 assabet_config : unconfig
1860 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
1862 dnp1110_config : unconfig
1863 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
1865 gcplus_config : unconfig
1866 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
1868 lart_config : unconfig
1869 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
1871 shannon_config : unconfig
1872 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
1874 #########################################################################
1876 #########################################################################
1878 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
1880 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
1882 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1884 at91rm9200dk_config : unconfig
1885 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
1887 cmc_pu2_config : unconfig
1888 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
1890 csb637_config : unconfig
1891 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
1893 mp2usb_config : unconfig
1894 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
1897 ########################################################################
1898 ## ARM Integrator boards - see doc/README-integrator for more info.
1899 integratorap_config \
1908 ap946es_config: unconfig
1909 @board/integratorap/split_by_variant.sh $@
1911 integratorcp_config \
1920 cp1026_config: unconfig
1921 @board/integratorcp/split_by_variant.sh $@
1923 kb9202_config : unconfig
1924 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
1927 lpd7a404_config: unconfig
1928 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
1930 mx1ads_config : unconfig
1931 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
1933 mx1fs2_config : unconfig
1934 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
1937 netstar_config: unconfig
1938 @mkdir -p $(obj)include
1939 @if [ "$(findstring _32_,$@)" ] ; then \
1940 echo "... 32MB SDRAM" ; \
1941 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
1943 echo "... 64MB SDRAM" ; \
1944 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
1946 @$(MKCONFIG) -a netstar arm arm925t netstar
1948 omap1510inn_config : unconfig
1949 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
1951 omap5912osk_config : unconfig
1952 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1954 omap1610inn_config \
1955 omap1610inn_cs0boot_config \
1956 omap1610inn_cs3boot_config \
1957 omap1610inn_cs_autoboot_config \
1959 omap1610h2_cs0boot_config \
1960 omap1610h2_cs3boot_config \
1961 omap1610h2_cs_autoboot_config: unconfig
1962 @mkdir -p $(obj)include
1963 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1964 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
1965 echo "... configured for CS0 boot"; \
1966 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
1967 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
1968 echo "... configured for CS_AUTO boot"; \
1970 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
1971 echo "... configured for CS3 boot"; \
1973 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
1976 omap730p2_cs0boot_config \
1977 omap730p2_cs3boot_config : unconfig
1978 @mkdir -p $(obj)include
1979 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1980 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
1981 echo "... configured for CS0 boot"; \
1983 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
1984 echo "... configured for CS3 boot"; \
1986 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
1988 sbc2410x_config: unconfig
1989 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
1991 scb9328_config : unconfig
1992 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
1994 smdk2400_config : unconfig
1995 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
1997 smdk2410_config : unconfig
1998 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
2000 SX1_config : unconfig
2001 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2003 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2005 trab_bigram_config \
2006 trab_bigflash_config \
2007 trab_old_config: unconfig
2008 @mkdir -p $(obj)include
2009 @mkdir -p $(obj)board/trab
2010 @ >$(obj)include/config.h
2011 @[ -z "$(findstring _bigram,$@)" ] || \
2012 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2013 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2014 echo "... with 8 MB Flash, 32 MB RAM" ; \
2016 @[ -z "$(findstring _bigflash,$@)" ] || \
2017 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2018 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2019 echo "... with 16 MB Flash, 16 MB RAM" ; \
2020 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2022 @[ -z "$(findstring _old,$@)" ] || \
2023 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2024 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2025 echo "... with 8 MB Flash, 16 MB RAM" ; \
2026 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2028 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2030 VCMA9_config : unconfig
2031 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2033 #========================================================================
2034 # ARM supplied Versatile development boards
2035 #========================================================================
2037 versatileab_config \
2038 versatilepb_config : unconfig
2039 @board/versatile/split_by_variant.sh $@
2041 voiceblue_smallflash_config \
2042 voiceblue_config: unconfig
2043 @mkdir -p $(obj)include
2044 @mkdir -p $(obj)board/voiceblue
2045 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2046 echo "... boot from lower flash bank" ; \
2047 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2048 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2050 echo "... boot from upper flash bank" ; \
2051 >$(obj)include/config.h ; \
2052 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2054 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2056 cm4008_config : unconfig
2057 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2059 cm41xx_config : unconfig
2060 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2062 gth2_config : unconfig
2063 @mkdir -p $(obj)include
2064 @ >$(obj)include/config.h
2065 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2066 @$(MKCONFIG) -a gth2 mips mips gth2
2068 #########################################################################
2070 #########################################################################
2072 B2_config : unconfig
2073 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2075 #########################################################################
2077 #########################################################################
2079 armadillo_config: unconfig
2080 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2082 ep7312_config : unconfig
2083 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2085 impa7_config : unconfig
2086 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2088 modnet50_config : unconfig
2089 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2091 evb4510_config : unconfig
2092 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2094 lpc2292sodimm_config: unconfig
2095 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2097 #########################################################################
2099 #########################################################################
2101 adsvix_config : unconfig
2102 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2104 cerf250_config : unconfig
2105 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2107 cradle_config : unconfig
2108 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2110 csb226_config : unconfig
2111 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2114 @$(MKCONFIG) $(@:_config=) arm pxa delta
2116 innokom_config : unconfig
2117 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2119 ixdp425_config : unconfig
2120 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2122 ixdpg425_config : unconfig
2123 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2125 lubbock_config : unconfig
2126 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2128 pleb2_config : unconfig
2129 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2131 logodl_config : unconfig
2132 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2135 scpu_config: unconfig
2136 @if [ "$(findstring scpu_,$@)" ] ; then \
2137 echo "#define CONFIG_SCPU" >>include/config.h ; \
2138 echo "... on SCPU board variant" ; \
2140 >include/config.h ; \
2142 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2144 pxa255_idp_config: unconfig
2145 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2147 wepep250_config : unconfig
2148 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2150 xaeniax_config : unconfig
2151 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2153 xm250_config : unconfig
2154 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2156 xsengine_config : unconfig
2157 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2160 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2162 #########################################################################
2164 #########################################################################
2165 omap2420h4_config : unconfig
2166 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2168 #========================================================================
2170 #========================================================================
2171 #########################################################################
2173 #########################################################################
2174 sc520_cdp_config : unconfig
2175 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2177 sc520_spunk_config : unconfig
2178 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2180 sc520_spunk_rel_config : unconfig
2181 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2183 #========================================================================
2185 #========================================================================
2186 #########################################################################
2188 #########################################################################
2190 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2192 incaip_100MHz_config \
2193 incaip_133MHz_config \
2194 incaip_150MHz_config \
2195 incaip_config: unconfig
2196 @mkdir -p $(obj)include
2197 @ >$(obj)include/config.h
2198 @[ -z "$(findstring _100MHz,$@)" ] || \
2199 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2200 echo "... with 100MHz system clock" ; \
2202 @[ -z "$(findstring _133MHz,$@)" ] || \
2203 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2204 echo "... with 133MHz system clock" ; \
2206 @[ -z "$(findstring _150MHz,$@)" ] || \
2207 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2208 echo "... with 150MHz system clock" ; \
2210 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2212 tb0229_config: unconfig
2213 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2215 #########################################################################
2217 #########################################################################
2218 dbau1000_config : unconfig
2219 @mkdir -p $(obj)include
2220 @ >$(obj)include/config.h
2221 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2222 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2224 dbau1100_config : unconfig
2225 @mkdir -p $(obj)include
2226 @ >$(obj)include/config.h
2227 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2228 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2230 dbau1500_config : unconfig
2231 @mkdir -p $(obj)include
2232 @ >$(obj)include/config.h
2233 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2234 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2236 dbau1550_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 dbau1550_el_config : unconfig
2243 @mkdir -p $(obj)include
2244 @ >$(obj)include/config.h
2245 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2246 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2248 pb1000_config : unconfig
2249 @mkdir -p $(obj)include
2250 @ >$(obj)include/config.h
2251 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2252 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2254 #########################################################################
2256 #########################################################################
2258 purple_config : unconfig
2259 @$(MKCONFIG) $(@:_config=) mips mips purple
2261 #========================================================================
2263 #========================================================================
2264 #########################################################################
2266 #########################################################################
2268 DK1C20_safe_32_config \
2269 DK1C20_standard_32_config \
2270 DK1C20_config: unconfig
2271 @mkdir -p $(obj)include
2272 @ >$(obj)include/config.h
2273 @[ -z "$(findstring _safe_32,$@)" ] || \
2274 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2275 echo "... NIOS 'safe_32' configuration" ; \
2277 @[ -z "$(findstring _standard_32,$@)" ] || \
2278 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2279 echo "... NIOS 'standard_32' configuration" ; \
2281 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2282 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2283 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2285 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2287 DK1S10_safe_32_config \
2288 DK1S10_standard_32_config \
2289 DK1S10_mtx_ldk_20_config \
2290 DK1S10_config: unconfig
2291 @mkdir -p $(obj)include
2292 @ >$(obj)include/config.h
2293 @[ -z "$(findstring _safe_32,$@)" ] || \
2294 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2295 echo "... NIOS 'safe_32' configuration" ; \
2297 @[ -z "$(findstring _standard_32,$@)" ] || \
2298 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2299 echo "... NIOS 'standard_32' configuration" ; \
2301 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2302 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2303 echo "... NIOS 'mtx_ldk_20' configuration" ; \
2305 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2306 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2307 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2309 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2311 ADNPESC1_DNPEVA2_base_32_config \
2312 ADNPESC1_base_32_config \
2313 ADNPESC1_config: unconfig
2314 @mkdir -p $(obj)include
2315 @ >$(obj)include/config.h
2316 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2317 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2318 echo "... DNP/EVA2 configuration" ; \
2320 @[ -z "$(findstring _base_32,$@)" ] || \
2321 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2322 echo "... NIOS 'base_32' configuration" ; \
2324 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2325 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2326 echo "... NIOS 'base_32' configuration (DEFAULT)" ; \
2328 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2330 #########################################################################
2332 #########################################################################
2334 EP1C20_config : unconfig
2335 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2337 EP1S10_config : unconfig
2338 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2340 EP1S40_config : unconfig
2341 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2343 PK1C20_config : unconfig
2344 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2346 PCI5441_config : unconfig
2347 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2349 #========================================================================
2351 #========================================================================
2352 #########################################################################
2354 #########################################################################
2355 suzaku_config: unconfig
2356 @mkdir -p $(obj)include
2357 @ >$(obj)include/config.h
2358 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2359 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2361 #########################################################################
2363 #########################################################################
2364 bf533-ezkit_config: unconfig
2365 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit
2367 bf533-stamp_config: unconfig
2368 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp
2370 bf537-stamp_config: unconfig
2371 @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp
2373 bf561-ezkit_config: unconfig
2374 @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit
2376 #========================================================================
2378 #========================================================================
2379 #########################################################################
2381 #########################################################################
2383 atstk1002_config : unconfig
2384 @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
2386 #########################################################################
2387 #########################################################################
2388 #########################################################################
2391 find $(OBJTREE) -type f \
2392 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2393 -o -name '*.o' -o -name '*.a' \) -print \
2395 rm -f $(obj)examples/hello_world $(obj)examples/timer \
2396 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2397 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2398 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2399 $(obj)examples/test_burst
2400 rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2401 $(obj)tools/gen_eth_addr
2402 rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2403 rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2404 rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2405 rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2406 rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2407 rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2408 rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2409 rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2410 rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2411 rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds
2412 rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds
2413 rm -f $(obj)include/bmp_logo.h
2414 rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2417 find $(OBJTREE) -type f \( -name .depend \
2418 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2421 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
2423 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2424 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
2425 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2426 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2427 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2429 ifeq ($(OBJTREE),$(SRCTREE))
2431 distclean: clobber unconfig
2434 distclean: clobber unconfig
2439 F=`basename $(TOPDIR)` ; cd .. ; \
2440 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2442 #########################################################################