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
201 LIBS += cpu/ixp/npe/libnpe.a
203 LIBS += lib_$(ARCH)/lib$(ARCH).a
204 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
205 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
207 LIBS += disk/libdisk.a
210 LIBS += drivers/libdrivers.a
211 LIBS += drivers/nand/libnand.a
212 LIBS += drivers/nand_legacy/libnand_legacy.a
213 ifeq ($(CPU),mpc83xx)
214 LIBS += drivers/qe/qe.a
216 LIBS += drivers/sk98lin/libsk98lin.a
217 LIBS += post/libpost.a post/drivers/libpostdrivers.a
218 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
219 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
220 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
221 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
222 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
223 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
224 LIBS += common/libcommon.a
225 LIBS += libfdt/libfdt.a
227 LIBS := $(addprefix $(obj),$(LIBS))
231 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
233 # The "tools" are needed early, so put this first
234 # Don't include stuff already done in $(LIBS)
240 ifeq ($(CONFIG_NAND_U_BOOT),y)
242 U_BOOT_NAND = $(obj)u-boot-nand.bin
245 __OBJS := $(subst $(obj),,$(OBJS))
246 __LIBS := $(subst $(obj),,$(LIBS))
248 #########################################################################
249 #########################################################################
251 ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
255 $(obj)u-boot.hex: $(obj)u-boot
256 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
258 $(obj)u-boot.srec: $(obj)u-boot
259 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
261 $(obj)u-boot.bin: $(obj)u-boot
262 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
264 $(obj)u-boot.img: $(obj)u-boot.bin
265 ./tools/mkimage -A $(ARCH) -T firmware -C none \
266 -a $(TEXT_BASE) -e 0 \
267 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
268 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
271 $(obj)u-boot.dis: $(obj)u-boot
272 $(OBJDUMP) -d $< > $@
274 $(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
275 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
276 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
277 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
278 -Map u-boot.map -o u-boot
281 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
284 $(MAKE) -C $(dir $(subst $(obj),,$@))
290 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
292 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
293 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
296 @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
297 echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
298 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
299 $(TOPDIR)) >> $(VERSION_FILE); \
300 echo "\"" >> $(VERSION_FILE)
303 $(MAKE) -C tools/gdb all || exit 1
306 $(MAKE) -C tools/updater all || exit 1
309 $(MAKE) -C tools/env all || exit 1
312 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
315 ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
316 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
317 fs/cramfs fs/fat fs/fdos fs/jffs2 \
318 net disk rtc dtt drivers drivers/sk98lin common \
319 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
322 etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
323 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
324 fs/cramfs fs/fat fs/fdos fs/jffs2 \
325 net disk rtc dtt drivers drivers/sk98lin common \
326 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
328 $(obj)System.map: $(obj)u-boot
330 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
331 sort > $(obj)System.map
333 #########################################################################
335 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
336 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
337 $(SUBDIRS) version gdbtools updater env depend \
338 dep tags ctags etags $(obj)System.map:
339 @echo "System not configured - see README" >&2
345 git log --no-merges U-Boot-1_1_5.. | \
346 unexpand -a | sed -e 's/\s\s*$$//' > $@
348 #########################################################################
351 @rm -f $(obj)include/config.h $(obj)include/config.mk \
352 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp
354 #========================================================================
356 #========================================================================
358 #########################################################################
360 #########################################################################
362 canmb_config: unconfig
363 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
365 cmi_mpc5xx_config: unconfig
366 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
368 PATI_config: unconfig
369 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
371 #########################################################################
373 #########################################################################
376 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
378 BC3450_config: unconfig
379 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
381 cpci5200_config: unconfig
382 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
384 hmi1001_config: unconfig
385 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
388 Lite5200_LOWBOOT_config \
389 Lite5200_LOWBOOT08_config \
390 icecube_5200_config \
391 icecube_5200_LOWBOOT_config \
392 icecube_5200_LOWBOOT08_config \
393 icecube_5200_DDR_config \
394 icecube_5200_DDR_LOWBOOT_config \
395 icecube_5200_DDR_LOWBOOT08_config \
396 icecube_5100_config: unconfig
397 @mkdir -p $(obj)include
398 @mkdir -p $(obj)board/icecube
399 @ >$(obj)include/config.h
400 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
401 { if [ "$(findstring DDR,$@)" ] ; \
402 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
403 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
405 echo "... with LOWBOOT configuration" ; \
407 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
408 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
409 echo "... with 8 MB flash only" ; \
410 echo "... with LOWBOOT configuration" ; \
412 @[ -z "$(findstring DDR,$@)" ] || \
413 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
414 echo "... DDR memory revision" ; \
416 @[ -z "$(findstring 5200,$@)" ] || \
417 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
418 echo "... with MPC5200 processor" ; \
420 @[ -z "$(findstring 5100,$@)" ] || \
421 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
422 echo "... with MGT5100 processor" ; \
424 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
426 jupiter_config: unconfig
427 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
429 v38b_config: unconfig
430 @./mkconfig -a v38b ppc mpc5xxx v38b
432 inka4x0_config: unconfig
433 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
436 lite5200b_PM_config \
437 lite5200b_LOWBOOT_config: unconfig
438 @mkdir -p $(obj)include
439 @mkdir -p $(obj)board/icecube
440 @ >$(obj)include/config.h
441 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
442 @ echo "... DDR memory revision"
443 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
444 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
445 @[ -z "$(findstring _PM_,$@)" ] || \
446 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
447 echo "... with power management (low-power mode) support" ; \
449 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
450 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
451 echo "... with LOWBOOT configuration" ; \
453 @ echo "... with MPC5200B processor"
454 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
457 mcc200_SDRAM_config \
458 mcc200_highboot_config \
459 mcc200_COM12_config \
460 mcc200_COM12_SDRAM_config \
461 mcc200_COM12_highboot_config \
462 mcc200_COM12_highboot_SDRAM_config \
463 mcc200_highboot_SDRAM_config \
466 prs200_highboot_config \
467 prs200_highboot_DDR_config: unconfig
468 @mkdir -p $(obj)include
469 @mkdir -p $(obj)board/mcc200
470 @ >$(obj)include/config.h
471 @[ -n "$(findstring highboot,$@)" ] || \
472 { echo "... with lowboot configuration" ; \
474 @[ -z "$(findstring highboot,$@)" ] || \
475 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
476 echo "... with highboot configuration" ; \
478 @[ -n "$(findstring _SDRAM,$@)" ] || \
479 { if [ -n "$(findstring mcc200,$@)" ]; \
481 echo "... with DDR" ; \
483 if [ -n "$(findstring _DDR,$@)" ];\
485 echo "... with DDR" ; \
487 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
488 echo "... with SDRAM" ; \
492 @[ -z "$(findstring _SDRAM,$@)" ] || \
493 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
494 echo "... with SDRAM" ; \
496 @[ -z "$(findstring COM12,$@)" ] || \
497 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
498 echo "... with console on COM12" ; \
500 @[ -z "$(findstring prs200,$@)" ] || \
501 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
503 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
505 mecp5200_config: unconfig
506 @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd
509 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
511 pf5200_config: unconfig
512 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
516 PM520_ROMBOOT_config \
517 PM520_ROMBOOT_DDR_config: unconfig
518 @mkdir -p $(obj)include
519 @ >$(obj)include/config.h
520 @[ -z "$(findstring DDR,$@)" ] || \
521 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
522 echo "... DDR memory revision" ; \
524 @[ -z "$(findstring ROMBOOT,$@)" ] || \
525 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
526 echo "... booting from 8-bit flash" ; \
528 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
530 smmaco4_config: unconfig
531 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
533 spieval_config: unconfig
534 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
537 TB5200_config: unconfig
538 @mkdir -p $(obj)include
539 @[ -z "$(findstring _B,$@)" ] || \
540 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
541 echo "... with MPC5200B processor" ; \
543 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
547 TOP5200_config: unconfig
548 @mkdir -p $(obj)include
549 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
550 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
554 Total5200_lowboot_config \
555 Total5200_Rev2_config \
556 Total5200_Rev2_lowboot_config: unconfig
557 @mkdir -p $(obj)include
558 @mkdir -p $(obj)board/total5200
559 @ >$(obj)include/config.h
560 @[ -z "$(findstring 5100,$@)" ] || \
561 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
562 echo "... with MGT5100 processor" ; \
564 @[ -z "$(findstring 5200,$@)" ] || \
565 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
566 echo "... with MPC5200 processor" ; \
568 @[ -n "$(findstring Rev,$@)" ] || \
569 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
570 echo "... revision 1 board" ; \
572 @[ -z "$(findstring Rev2_,$@)" ] || \
573 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
574 echo "... revision 2 board" ; \
576 @[ -z "$(findstring lowboot_,$@)" ] || \
577 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
578 echo "... with lowboot configuration" ; \
580 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
583 cam5200_niosflash_config \
587 TQM5200S_HIGHBOOT_config \
589 TQM5200_B_HIGHBOOT_config \
591 TQM5200_STK100_config: unconfig
592 @mkdir -p $(obj)include
593 @mkdir -p $(obj)board/tqm5200
594 @ >$(obj)include/config.h
595 @[ -z "$(findstring cam5200,$@)" ] || \
596 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
597 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
598 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
599 echo "... TQM5200S on Cam5200" ; \
601 @[ -z "$(findstring niosflash,$@)" ] || \
602 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
603 echo "... with NIOS flash driver" ; \
605 @[ -z "$(findstring fo300,$@)" ] || \
606 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
607 echo "... TQM5200 on FO300" ; \
609 @[ -z "$(findstring MiniFAP,$@)" ] || \
610 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
611 echo "... TQM5200_AC on MiniFAP" ; \
613 @[ -z "$(findstring STK100,$@)" ] || \
614 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
615 echo "... on a STK52XX.100 base board" ; \
617 @[ -z "$(findstring TQM5200_B,$@)" ] || \
618 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
620 @[ -z "$(findstring TQM5200S,$@)" ] || \
621 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
622 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
624 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
625 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
627 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
628 uc101_config: unconfig
629 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
630 motionpro_config: unconfig
631 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
634 #########################################################################
636 #########################################################################
642 @mkdir -p $(obj)include
643 $(if $(findstring AdderII,$@), \
644 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
645 @$(MKCONFIG) -a Adder ppc mpc8xx adder
652 FADS860T_config: unconfig
653 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
655 AMX860_config : unconfig
656 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
658 c2mon_config: unconfig
659 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
662 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
664 cogent_mpc8xx_config: unconfig
665 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
667 ELPT860_config: unconfig
668 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
670 EP88x_config: unconfig
671 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
673 ESTEEM192E_config: unconfig
674 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
676 ETX094_config : unconfig
677 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
679 FLAGADM_config: unconfig
680 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
682 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
685 GEN860T_config: unconfig
686 @mkdir -p $(obj)include
687 @ >$(obj)include/config.h
688 @[ -z "$(findstring _SC,$@)" ] || \
689 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
690 echo "With reduced H/W feature set (SC)..." ; \
692 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
694 GENIETV_config: unconfig
695 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
698 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
700 hermes_config : unconfig
701 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
703 HMI10_config : unconfig
704 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
706 IAD210_config: unconfig
707 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
709 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
711 ICU862_100MHz_config \
712 ICU862_config: unconfig
713 @mkdir -p $(obj)include
714 @ >$(obj)include/config.h
715 @[ -z "$(findstring _100MHz,$@)" ] || \
716 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
717 echo "... with 100MHz system clock" ; \
719 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
721 IP860_config : unconfig
722 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
726 IVML24_config: unconfig
727 @mkdir -p $(obj)include
728 @ >$(obj)include/config.h
729 @[ -z "$(findstring IVML24_config,$@)" ] || \
730 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
732 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
733 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
735 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
736 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
738 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
742 IVMS8_config: unconfig
743 @mkdir -p $(obj)include
744 @ >$(obj)include/config.h
745 @[ -z "$(findstring IVMS8_config,$@)" ] || \
746 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
748 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
749 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
751 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
752 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
754 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
756 KUP4K_config : unconfig
757 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
759 KUP4X_config : unconfig
760 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
762 LANTEC_config : unconfig
763 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
765 lwmon_config: unconfig
766 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
769 MBX860T_config: unconfig
770 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
772 MHPC_config: unconfig
773 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
775 MVS1_config : unconfig
776 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
778 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
781 NETVIA_config: unconfig
782 @mkdir -p $(obj)include
783 @ >$(obj)include/config.h
784 @[ -z "$(findstring NETVIA_config,$@)" ] || \
785 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
786 echo "... Version 1" ; \
788 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
789 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
790 echo "... Version 2" ; \
792 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
794 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
797 NETPHONE_config: unconfig
798 @mkdir -p $(obj)include
799 @ >$(obj)include/config.h
800 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
801 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
803 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
804 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
806 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
808 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
810 NETTA_ISDN_6412_SWAPHOOK_config \
811 NETTA_ISDN_SWAPHOOK_config \
812 NETTA_6412_SWAPHOOK_config \
813 NETTA_SWAPHOOK_config \
814 NETTA_ISDN_6412_config \
817 NETTA_config: unconfig
818 @mkdir -p $(obj)include
819 @ >$(obj)include/config.h
820 @[ -z "$(findstring ISDN_,$@)" ] || \
821 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
823 @[ -n "$(findstring ISDN_,$@)" ] || \
824 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
826 @[ -z "$(findstring 6412_,$@)" ] || \
827 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
829 @[ -n "$(findstring 6412_,$@)" ] || \
830 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
832 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
833 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
835 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
836 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
838 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
840 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
843 NETTA2_config: unconfig
844 @mkdir -p $(obj)include
845 @ >$(obj)include/config.h
846 @[ -z "$(findstring NETTA2_config,$@)" ] || \
847 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
849 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
850 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
852 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
856 CP850_config: unconfig
857 @mkdir -p $(obj)include
858 @ >$(obj)include/config.h
859 @[ -z "$(findstring CP850,$@)" ] || \
860 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
861 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
863 @[ -z "$(findstring Rev1,$@)" ] || \
864 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
866 @[ -z "$(findstring Rev2,$@)" ] || \
867 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
869 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
871 NX823_config: unconfig
872 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
874 pcu_e_config: unconfig
875 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
877 QS850_config: unconfig
878 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
880 QS823_config: unconfig
881 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
883 QS860T_config: unconfig
884 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
886 quantum_config: unconfig
887 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
889 R360MPI_config: unconfig
890 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
892 RBC823_config: unconfig
893 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
895 RPXClassic_config: unconfig
896 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
898 RPXlite_config: unconfig
899 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
901 RPXlite_DW_64_config \
902 RPXlite_DW_LCD_config \
903 RPXlite_DW_64_LCD_config \
904 RPXlite_DW_NVRAM_config \
905 RPXlite_DW_NVRAM_64_config \
906 RPXlite_DW_NVRAM_LCD_config \
907 RPXlite_DW_NVRAM_64_LCD_config \
908 RPXlite_DW_config: unconfig
909 @mkdir -p $(obj)include
910 @ >$(obj)include/config.h
911 @[ -z "$(findstring _64,$@)" ] || \
912 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
913 echo "... with 64MHz system clock ..."; \
915 @[ -z "$(findstring _LCD,$@)" ] || \
916 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
917 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
918 echo "... with LCD display ..."; \
920 @[ -z "$(findstring _NVRAM,$@)" ] || \
921 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
922 echo "... with ENV in NVRAM ..."; \
924 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
927 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
929 RRvision_config: unconfig
930 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
932 RRvision_LCD_config: unconfig
933 @mkdir -p $(obj)include
934 @echo "#define CONFIG_LCD" >$(obj)include/config.h
935 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
936 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
938 SM850_config : unconfig
939 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
942 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
944 SPD823TS_config: unconfig
945 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
947 stxxtc_config: unconfig
948 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
950 svm_sc8xx_config: unconfig
951 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
953 SXNI855T_config: unconfig
954 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
956 # EMK MPC8xx based modules
957 TOP860_config: unconfig
958 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
960 # Play some tricks for configuration selection
961 # Only 855 and 860 boards may come with FEC
962 # and only 823 boards may have LCD support
963 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
981 virtlab2_config: unconfig
982 @mkdir -p $(obj)include
983 @ >$(obj)include/config.h
984 @[ -z "$(findstring _LCD,$@)" ] || \
985 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
986 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
987 echo "... with LCD display" ; \
989 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
991 TTTech_config: unconfig
992 @mkdir -p $(obj)include
993 @echo "#define CONFIG_LCD" >$(obj)include/config.h
994 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
995 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
997 uc100_config : unconfig
998 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
1000 v37_config: unconfig
1001 @mkdir -p $(obj)include
1002 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1003 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1004 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1006 wtk_config: unconfig
1007 @mkdir -p $(obj)include
1008 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1009 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1010 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1012 #########################################################################
1014 #########################################################################
1015 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1017 acadia_config: unconfig
1018 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1020 ADCIOP_config: unconfig
1021 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1023 alpr_config: unconfig
1024 @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
1026 AP1000_config:unconfig
1027 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1029 APC405_config: unconfig
1030 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1032 AR405_config: unconfig
1033 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1035 ASH405_config: unconfig
1036 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1038 bamboo_config: unconfig
1039 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1041 bubinga_config: unconfig
1042 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1044 CANBT_config: unconfig
1045 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1048 CATcenter_25_config \
1049 CATcenter_33_config: unconfig
1050 @mkdir -p $(obj)include
1051 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1052 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1053 @[ -z "$(findstring _25,$@)" ] || \
1054 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1055 echo "SysClk = 25MHz" ; \
1057 @[ -z "$(findstring _33,$@)" ] || \
1058 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1059 echo "SysClk = 33MHz" ; \
1061 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1063 CPCI2DP_config: unconfig
1064 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1069 CPCI405AB_config: unconfig
1070 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1071 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1073 CPCI440_config: unconfig
1074 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd
1076 CPCIISER4_config: unconfig
1077 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1079 CRAYL1_config: unconfig
1080 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1082 csb272_config: unconfig
1083 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1085 csb472_config: unconfig
1086 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1088 DASA_SIM_config: unconfig
1089 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1091 DP405_config: unconfig
1092 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1094 DU405_config: unconfig
1095 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1097 ebony_config: unconfig
1098 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1100 ERIC_config: unconfig
1101 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1103 EXBITGEN_config: unconfig
1104 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1106 G2000_config: unconfig
1107 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1109 HH405_config: unconfig
1110 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1112 HUB405_config: unconfig
1113 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1115 JSE_config: unconfig
1116 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1118 KAREF_config: unconfig
1119 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1121 katmai_config: unconfig
1122 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1124 luan_config: unconfig
1125 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1127 METROBOX_config: unconfig
1128 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1130 MIP405_config: unconfig
1131 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1133 MIP405T_config: unconfig
1134 @mkdir -p $(obj)include
1135 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1136 @echo "Enable subset config for MIP405T"
1137 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1139 ML2_config: unconfig
1140 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1142 ml300_config: unconfig
1143 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1145 ocotea_config: unconfig
1146 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1149 ORSG_config: unconfig
1150 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1152 p3p440_config: unconfig
1153 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1155 PCI405_config: unconfig
1156 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1158 pcs440ep_config: unconfig
1159 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1161 PIP405_config: unconfig
1162 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1164 PLU405_config: unconfig
1165 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1167 PMC405_config: unconfig
1168 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1170 PPChameleonEVB_config \
1171 PPChameleonEVB_BA_25_config \
1172 PPChameleonEVB_ME_25_config \
1173 PPChameleonEVB_HI_25_config \
1174 PPChameleonEVB_BA_33_config \
1175 PPChameleonEVB_ME_33_config \
1176 PPChameleonEVB_HI_33_config: unconfig
1177 @mkdir -p $(obj)include
1178 @ >$(obj)include/config.h
1179 @[ -z "$(findstring EVB_BA,$@)" ] || \
1180 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1181 echo "... BASIC model" ; \
1183 @[ -z "$(findstring EVB_ME,$@)" ] || \
1184 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1185 echo "... MEDIUM model" ; \
1187 @[ -z "$(findstring EVB_HI,$@)" ] || \
1188 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1189 echo "... HIGH-END model" ; \
1191 @[ -z "$(findstring _25,$@)" ] || \
1192 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1193 echo "SysClk = 25MHz" ; \
1195 @[ -z "$(findstring _33,$@)" ] || \
1196 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1197 echo "SysClk = 33MHz" ; \
1199 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1201 sbc405_config: unconfig
1202 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1205 rainier_config: unconfig
1206 @mkdir -p $(obj)include
1207 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1208 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1209 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1211 sequoia_nand_config \
1212 rainier_nand_config: unconfig
1213 @mkdir -p $(obj)include
1214 @mkdir -p $(obj)nand_spl
1215 @mkdir -p $(obj)board/amcc/sequoia
1216 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1217 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1218 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1219 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1220 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1221 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1224 @./mkconfig $(@:_config=) ppc ppc4xx sc3
1226 taishan_config: unconfig
1227 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1229 VOH405_config: unconfig
1230 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1232 VOM405_config: unconfig
1233 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1235 CMS700_config: unconfig
1236 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1239 W7OLMG_config: unconfig
1240 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1242 # Walnut & Sycamore images are identical (recognized via PVR)
1244 sycamore_config: unconfig
1245 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1247 WUH405_config: unconfig
1248 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1250 XPEDITE1K_config: unconfig
1251 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1254 yellowstone_config: unconfig
1255 @mkdir -p $(obj)include
1256 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1257 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1258 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1260 yucca_config: unconfig
1261 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1263 #########################################################################
1265 #########################################################################
1268 Yukon8220_config: unconfig
1269 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1271 sorcery_config: unconfig
1272 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1274 #########################################################################
1276 #########################################################################
1277 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1279 A3000_config: unconfig
1280 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1282 barco_config: unconfig
1283 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1285 BMW_config: unconfig
1286 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1289 CPC45_ROMBOOT_config: unconfig
1290 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1291 @cd $(obj)include ; \
1292 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1293 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1294 echo "... booting from 8-bit flash" ; \
1296 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1297 echo "... booting from 64-bit flash" ; \
1299 echo "export CONFIG_BOOT_ROM" >> config.mk;
1301 CU824_config: unconfig
1302 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1304 debris_config: unconfig
1305 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1307 eXalion_config: unconfig
1308 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1310 HIDDEN_DRAGON_config: unconfig
1311 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1313 kvme080_config: unconfig
1314 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1316 MOUSSE_config: unconfig
1317 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1319 MUSENKI_config: unconfig
1320 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1322 MVBLUE_config: unconfig
1323 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1325 OXC_config: unconfig
1326 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1328 PN62_config: unconfig
1329 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1331 Sandpoint8240_config: unconfig
1332 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1334 Sandpoint8245_config: unconfig
1335 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1337 sbc8240_config: unconfig
1338 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1340 SL8245_config: unconfig
1341 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1343 utx8245_config: unconfig
1344 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1346 #########################################################################
1348 #########################################################################
1350 atc_config: unconfig
1351 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1353 cogent_mpc8260_config: unconfig
1354 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1357 CPU86_ROMBOOT_config: unconfig
1358 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1359 @cd $(obj)include ; \
1360 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1361 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1362 echo "... booting from 8-bit flash" ; \
1364 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1365 echo "... booting from 64-bit flash" ; \
1367 echo "export CONFIG_BOOT_ROM" >> config.mk;
1370 CPU87_ROMBOOT_config: unconfig
1371 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1372 @cd $(obj)include ; \
1373 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1374 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1375 echo "... booting from 8-bit flash" ; \
1377 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1378 echo "... booting from 64-bit flash" ; \
1380 echo "export CONFIG_BOOT_ROM" >> config.mk;
1383 ep8248E_config : unconfig
1384 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1386 ep8260_config: unconfig
1387 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1389 ep82xxm_config: unconfig
1390 @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
1392 gw8260_config: unconfig
1393 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1395 hymod_config: unconfig
1396 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1398 IDS8247_config: unconfig
1399 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1401 IPHASE4539_config: unconfig
1402 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1405 ISPAN_REVB_config: unconfig
1406 @mkdir -p $(obj)include
1407 @if [ "$(findstring _REVB_,$@)" ] ; then \
1408 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1410 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1413 MPC8260ADS_lowboot_config \
1414 MPC8260ADS_33MHz_config \
1415 MPC8260ADS_33MHz_lowboot_config \
1416 MPC8260ADS_40MHz_config \
1417 MPC8260ADS_40MHz_lowboot_config \
1419 MPC8272ADS_lowboot_config \
1421 PQ2FADS_lowboot_config \
1423 PQ2FADS-VR_lowboot_config \
1425 PQ2FADS-ZU_lowboot_config \
1426 PQ2FADS-ZU_66MHz_config \
1427 PQ2FADS-ZU_66MHz_lowboot_config \
1429 @mkdir -p $(obj)include
1430 @mkdir -p $(obj)board/mpc8260ads
1431 $(if $(findstring PQ2FADS,$@), \
1432 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1433 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1434 $(if $(findstring MHz,$@), \
1435 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1436 $(if $(findstring VR,$@), \
1437 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1438 @[ -z "$(findstring lowboot_,$@)" ] || \
1439 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1440 echo "... with lowboot configuration" ; \
1442 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1444 MPC8266ADS_config: unconfig
1445 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1447 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1449 PM825_ROMBOOT_config \
1450 PM825_BIGFLASH_config \
1451 PM825_ROMBOOT_BIGFLASH_config \
1453 PM826_ROMBOOT_config \
1454 PM826_BIGFLASH_config \
1455 PM826_ROMBOOT_BIGFLASH_config: unconfig
1456 @mkdir -p $(obj)include
1457 @mkdir -p $(obj)board/pm826
1458 @if [ "$(findstring PM825_,$@)" ] ; then \
1459 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1461 >$(obj)include/config.h ; \
1463 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1464 echo "... booting from 8-bit flash" ; \
1465 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1466 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1467 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1468 echo "... with 32 MB Flash" ; \
1469 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1472 echo "... booting from 64-bit flash" ; \
1473 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1474 echo "... with 32 MB Flash" ; \
1475 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1476 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1478 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1481 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1485 PM828_ROMBOOT_config \
1486 PM828_ROMBOOT_PCI_config: unconfig
1487 @mkdir -p $(obj)include
1488 @mkdir -p $(obj)board/pm826
1489 @if [ "$(findstring _PCI_,$@)" ] ; then \
1490 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1491 echo "... with PCI enabled" ; \
1493 >$(obj)include/config.h ; \
1495 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1496 echo "... booting from 8-bit flash" ; \
1497 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1498 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1500 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1502 ppmc8260_config: unconfig
1503 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1505 Rattler8248_config \
1506 Rattler_config: unconfig
1507 @mkdir -p $(obj)include
1508 $(if $(findstring 8248,$@), \
1509 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1510 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1512 RPXsuper_config: unconfig
1513 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1515 rsdproto_config: unconfig
1516 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1518 sacsng_config: unconfig
1519 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1521 sbc8260_config: unconfig
1522 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1524 SCM_config: unconfig
1525 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1537 TQM8265_AA_config: unconfig
1538 @mkdir -p $(obj)include
1540 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1541 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1542 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1543 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1544 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1545 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1546 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1547 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1548 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1549 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1550 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1552 >$(obj)include/config.h ; \
1553 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1554 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1556 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1557 echo "... with $${CFREQ}MHz system clock" ; \
1558 if [ "$${CACHE}" == "yes" ] ; then \
1559 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1560 echo "... with L2 Cache support" ; \
1562 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1563 echo "... without L2 Cache support" ; \
1565 if [ "$${BMODE}" == "60x" ] ; then \
1566 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1567 echo "... with 60x Bus Mode" ; \
1569 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1570 echo "... without 60x Bus Mode" ; \
1572 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1574 TQM8272_config: unconfig
1575 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1577 VoVPN-GW_66MHz_config \
1578 VoVPN-GW_100MHz_config: unconfig
1579 @mkdir -p $(obj)include
1580 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1581 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1583 ZPC1900_config: unconfig
1584 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1586 #########################################################################
1588 #########################################################################
1590 cobra5272_config : unconfig
1591 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1593 EB+MCF-EV123_config : unconfig
1594 @mkdir -p $(obj)include
1595 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1596 @ >$(obj)include/config.h
1597 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1598 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1600 EB+MCF-EV123_internal_config : unconfig
1601 @mkdir -p $(obj)include
1602 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1603 @ >$(obj)include/config.h
1604 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1605 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1607 idmr_config : unconfig
1608 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1610 M5271EVB_config : unconfig
1611 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1613 M5272C3_config : unconfig
1614 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1616 M5282EVB_config : unconfig
1617 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1619 TASREG_config : unconfig
1620 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1622 r5200_config : unconfig
1623 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1625 #########################################################################
1627 #########################################################################
1629 MPC832XEMDS_config \
1630 MPC832XEMDS_HOST_33_config \
1631 MPC832XEMDS_HOST_66_config \
1632 MPC832XEMDS_SLAVE_config: unconfig
1633 @echo "" >include/config.h ; \
1634 if [ "$(findstring _HOST_,$@)" ] ; then \
1635 echo -n "... PCI HOST " ; \
1636 echo "#define CONFIG_PCI" >>include/config.h ; \
1638 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1639 echo "...PCI SLAVE 66M" ; \
1640 echo "#define CONFIG_PCI" >>include/config.h ; \
1641 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1643 if [ "$(findstring _33_,$@)" ] ; then \
1644 echo -n "...33M ..." ; \
1645 echo "#define PCI_33M" >>include/config.h ; \
1647 if [ "$(findstring _66_,$@)" ] ; then \
1648 echo -n "...66M..." ; \
1649 echo "#define PCI_66M" >>include/config.h ; \
1651 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
1653 MPC8349EMDS_config: unconfig
1654 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
1657 MPC8349ITX_LOWBOOT_config \
1658 MPC8349ITXGP_config: unconfig
1659 @mkdir -p $(obj)include
1660 @mkdir -p $(obj)board/mpc8349itx
1661 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1662 @if [ "$(findstring GP,$@)" ] ; then \
1663 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1665 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1666 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1668 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx
1670 MPC8360EMDS_config \
1671 MPC8360EMDS_HOST_33_config \
1672 MPC8360EMDS_HOST_66_config \
1673 MPC8360EMDS_SLAVE_config: unconfig
1674 @echo "" >include/config.h ; \
1675 if [ "$(findstring _HOST_,$@)" ] ; then \
1676 echo -n "... PCI HOST " ; \
1677 echo "#define CONFIG_PCI" >>include/config.h ; \
1679 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1680 echo "...PCI SLAVE 66M" ; \
1681 echo "#define CONFIG_PCI" >>include/config.h ; \
1682 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1684 if [ "$(findstring _33_,$@)" ] ; then \
1685 echo -n "...33M ..." ; \
1686 echo "#define PCI_33M" >>include/config.h ; \
1688 if [ "$(findstring _66_,$@)" ] ; then \
1689 echo -n "...66M..." ; \
1690 echo "#define PCI_66M" >>include/config.h ; \
1692 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1694 sbc8349_config: unconfig
1695 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1697 TQM834x_config: unconfig
1698 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1701 #########################################################################
1703 #########################################################################
1705 MPC8540ADS_config: unconfig
1706 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
1708 MPC8540EVAL_config \
1709 MPC8540EVAL_33_config \
1710 MPC8540EVAL_66_config \
1711 MPC8540EVAL_33_slave_config \
1712 MPC8540EVAL_66_slave_config: unconfig
1713 @mkdir -p $(obj)include
1714 @echo "" >$(obj)include/config.h ; \
1715 if [ "$(findstring _33_,$@)" ] ; then \
1716 echo -n "... 33 MHz PCI" ; \
1718 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1719 echo -n "... 66 MHz PCI" ; \
1721 if [ "$(findstring _slave_,$@)" ] ; then \
1722 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
1727 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1729 MPC8560ADS_config: unconfig
1730 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
1732 MPC8541CDS_config: unconfig
1733 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
1735 MPC8548CDS_config: unconfig
1736 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
1738 MPC8555CDS_config: unconfig
1739 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
1741 PM854_config: unconfig
1742 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
1744 PM856_config: unconfig
1745 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
1749 sbc8540_66_config: unconfig
1750 @mkdir -p $(obj)include
1751 @if [ "$(findstring _66_,$@)" ] ; then \
1752 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1753 echo "... 66 MHz PCI" ; \
1755 >$(obj)include/config.h ; \
1756 echo "... 33 MHz PCI" ; \
1758 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
1762 sbc8560_66_config: unconfig
1763 @mkdir -p $(obj)include
1764 @if [ "$(findstring _66_,$@)" ] ; then \
1765 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1766 echo "... 66 MHz PCI" ; \
1768 >$(obj)include/config.h ; \
1769 echo "... 33 MHz PCI" ; \
1771 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
1773 stxgp3_config: unconfig
1774 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
1776 stxssa_config: unconfig
1777 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxssa
1782 TQM8560_config: unconfig
1783 @mkdir -p $(obj)include
1784 @CTYPE=$(subst TQM,,$(@:_config=)); \
1785 >$(obj)include/config.h ; \
1786 echo "... TQM"$${CTYPE}; \
1787 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1788 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1789 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1790 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1791 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1792 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
1794 #########################################################################
1796 #########################################################################
1798 MPC8641HPCN_config: unconfig
1799 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1802 #########################################################################
1804 #########################################################################
1806 AmigaOneG3SE_config: unconfig
1807 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
1809 BAB7xx_config: unconfig
1810 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
1812 CPCI750_config: unconfig
1813 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
1815 DB64360_config: unconfig
1816 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
1818 DB64460_config: unconfig
1819 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
1821 ELPPC_config: unconfig
1822 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
1825 EVB64260_750CX_config: unconfig
1826 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
1828 mpc7448hpc2_config: unconfig
1829 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2
1831 P3G4_config: unconfig
1832 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1835 p3m7448_config: unconfig
1836 @mkdir -p $(obj)include
1837 @if [ "$(findstring 750_,$@)" ] ; then \
1838 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1840 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1842 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1845 PCIPPC6_config: unconfig
1846 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
1848 ZUMA_config: unconfig
1849 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1851 ppmc7xx_config: unconfig
1852 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
1854 #========================================================================
1856 #========================================================================
1857 #########################################################################
1858 ## StrongARM Systems
1859 #########################################################################
1861 assabet_config : unconfig
1862 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
1864 dnp1110_config : unconfig
1865 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
1867 gcplus_config : unconfig
1868 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
1870 lart_config : unconfig
1871 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
1873 shannon_config : unconfig
1874 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
1876 #########################################################################
1878 #########################################################################
1880 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
1882 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
1884 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1886 at91rm9200dk_config : unconfig
1887 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
1889 cmc_pu2_config : unconfig
1890 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
1892 csb637_config : unconfig
1893 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
1895 mp2usb_config : unconfig
1896 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
1899 ########################################################################
1900 ## ARM Integrator boards - see doc/README-integrator for more info.
1901 integratorap_config \
1910 ap946es_config: unconfig
1911 @board/integratorap/split_by_variant.sh $@
1913 integratorcp_config \
1922 cp1026_config: unconfig
1923 @board/integratorcp/split_by_variant.sh $@
1925 kb9202_config : unconfig
1926 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
1929 lpd7a404_config: unconfig
1930 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
1932 mx1ads_config : unconfig
1933 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
1935 mx1fs2_config : unconfig
1936 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
1939 netstar_config: unconfig
1940 @mkdir -p $(obj)include
1941 @if [ "$(findstring _32_,$@)" ] ; then \
1942 echo "... 32MB SDRAM" ; \
1943 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
1945 echo "... 64MB SDRAM" ; \
1946 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
1948 @$(MKCONFIG) -a netstar arm arm925t netstar
1950 omap1510inn_config : unconfig
1951 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
1953 omap5912osk_config : unconfig
1954 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1956 omap1610inn_config \
1957 omap1610inn_cs0boot_config \
1958 omap1610inn_cs3boot_config \
1959 omap1610inn_cs_autoboot_config \
1961 omap1610h2_cs0boot_config \
1962 omap1610h2_cs3boot_config \
1963 omap1610h2_cs_autoboot_config: unconfig
1964 @mkdir -p $(obj)include
1965 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1966 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
1967 echo "... configured for CS0 boot"; \
1968 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
1969 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
1970 echo "... configured for CS_AUTO boot"; \
1972 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
1973 echo "... configured for CS3 boot"; \
1975 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
1978 omap730p2_cs0boot_config \
1979 omap730p2_cs3boot_config : unconfig
1980 @mkdir -p $(obj)include
1981 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1982 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
1983 echo "... configured for CS0 boot"; \
1985 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
1986 echo "... configured for CS3 boot"; \
1988 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
1990 sbc2410x_config: unconfig
1991 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
1993 scb9328_config : unconfig
1994 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
1996 smdk2400_config : unconfig
1997 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
1999 smdk2410_config : unconfig
2000 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
2002 SX1_config : unconfig
2003 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2005 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2007 trab_bigram_config \
2008 trab_bigflash_config \
2009 trab_old_config: unconfig
2010 @mkdir -p $(obj)include
2011 @mkdir -p $(obj)board/trab
2012 @ >$(obj)include/config.h
2013 @[ -z "$(findstring _bigram,$@)" ] || \
2014 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2015 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2016 echo "... with 8 MB Flash, 32 MB RAM" ; \
2018 @[ -z "$(findstring _bigflash,$@)" ] || \
2019 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2020 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2021 echo "... with 16 MB Flash, 16 MB RAM" ; \
2022 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2024 @[ -z "$(findstring _old,$@)" ] || \
2025 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2026 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2027 echo "... with 8 MB Flash, 16 MB RAM" ; \
2028 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2030 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2032 VCMA9_config : unconfig
2033 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2035 #========================================================================
2036 # ARM supplied Versatile development boards
2037 #========================================================================
2039 versatileab_config \
2040 versatilepb_config : unconfig
2041 @board/versatile/split_by_variant.sh $@
2043 voiceblue_smallflash_config \
2044 voiceblue_config: unconfig
2045 @mkdir -p $(obj)include
2046 @mkdir -p $(obj)board/voiceblue
2047 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2048 echo "... boot from lower flash bank" ; \
2049 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2050 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2052 echo "... boot from upper flash bank" ; \
2053 >$(obj)include/config.h ; \
2054 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2056 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2058 cm4008_config : unconfig
2059 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2061 cm41xx_config : unconfig
2062 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2064 gth2_config : unconfig
2065 @mkdir -p $(obj)include
2066 @ >$(obj)include/config.h
2067 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2068 @$(MKCONFIG) -a gth2 mips mips gth2
2070 #########################################################################
2072 #########################################################################
2074 B2_config : unconfig
2075 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2077 #########################################################################
2079 #########################################################################
2081 armadillo_config: unconfig
2082 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2084 ep7312_config : unconfig
2085 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2087 impa7_config : unconfig
2088 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2090 modnet50_config : unconfig
2091 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2093 evb4510_config : unconfig
2094 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2096 lpc2292sodimm_config: unconfig
2097 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2099 #########################################################################
2101 #########################################################################
2103 adsvix_config : unconfig
2104 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2106 cerf250_config : unconfig
2107 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2109 cradle_config : unconfig
2110 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2112 csb226_config : unconfig
2113 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2116 @$(MKCONFIG) $(@:_config=) arm pxa delta
2118 innokom_config : unconfig
2119 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2121 ixdp425_config : unconfig
2122 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2124 ixdpg425_config : unconfig
2125 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2127 lubbock_config : unconfig
2128 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2130 pleb2_config : unconfig
2131 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2133 logodl_config : unconfig
2134 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2137 scpu_config: unconfig
2138 @if [ "$(findstring scpu_,$@)" ] ; then \
2139 echo "#define CONFIG_SCPU" >>include/config.h ; \
2140 echo "... on SCPU board variant" ; \
2142 >include/config.h ; \
2144 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2146 pxa255_idp_config: unconfig
2147 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2149 wepep250_config : unconfig
2150 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2152 xaeniax_config : unconfig
2153 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2155 xm250_config : unconfig
2156 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2158 xsengine_config : unconfig
2159 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2162 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2164 #########################################################################
2166 #########################################################################
2167 omap2420h4_config : unconfig
2168 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2170 #========================================================================
2172 #========================================================================
2173 #########################################################################
2175 #########################################################################
2176 sc520_cdp_config : unconfig
2177 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2179 sc520_spunk_config : unconfig
2180 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2182 sc520_spunk_rel_config : unconfig
2183 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2185 #========================================================================
2187 #========================================================================
2188 #########################################################################
2190 #########################################################################
2192 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2194 incaip_100MHz_config \
2195 incaip_133MHz_config \
2196 incaip_150MHz_config \
2197 incaip_config: unconfig
2198 @mkdir -p $(obj)include
2199 @ >$(obj)include/config.h
2200 @[ -z "$(findstring _100MHz,$@)" ] || \
2201 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2202 echo "... with 100MHz system clock" ; \
2204 @[ -z "$(findstring _133MHz,$@)" ] || \
2205 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2206 echo "... with 133MHz system clock" ; \
2208 @[ -z "$(findstring _150MHz,$@)" ] || \
2209 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2210 echo "... with 150MHz system clock" ; \
2212 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2214 tb0229_config: unconfig
2215 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2217 #########################################################################
2219 #########################################################################
2220 dbau1000_config : unconfig
2221 @mkdir -p $(obj)include
2222 @ >$(obj)include/config.h
2223 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2224 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2226 dbau1100_config : unconfig
2227 @mkdir -p $(obj)include
2228 @ >$(obj)include/config.h
2229 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2230 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2232 dbau1500_config : unconfig
2233 @mkdir -p $(obj)include
2234 @ >$(obj)include/config.h
2235 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2236 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2238 dbau1550_config : unconfig
2239 @mkdir -p $(obj)include
2240 @ >$(obj)include/config.h
2241 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2242 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2244 dbau1550_el_config : unconfig
2245 @mkdir -p $(obj)include
2246 @ >$(obj)include/config.h
2247 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2248 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2250 pb1000_config : unconfig
2251 @mkdir -p $(obj)include
2252 @ >$(obj)include/config.h
2253 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2254 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2256 #########################################################################
2258 #########################################################################
2260 purple_config : unconfig
2261 @$(MKCONFIG) $(@:_config=) mips mips purple
2263 #========================================================================
2265 #========================================================================
2266 #########################################################################
2268 #########################################################################
2270 DK1C20_safe_32_config \
2271 DK1C20_standard_32_config \
2272 DK1C20_config: unconfig
2273 @mkdir -p $(obj)include
2274 @ >$(obj)include/config.h
2275 @[ -z "$(findstring _safe_32,$@)" ] || \
2276 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2277 echo "... NIOS 'safe_32' configuration" ; \
2279 @[ -z "$(findstring _standard_32,$@)" ] || \
2280 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2281 echo "... NIOS 'standard_32' configuration" ; \
2283 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2284 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2285 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2287 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2289 DK1S10_safe_32_config \
2290 DK1S10_standard_32_config \
2291 DK1S10_mtx_ldk_20_config \
2292 DK1S10_config: unconfig
2293 @mkdir -p $(obj)include
2294 @ >$(obj)include/config.h
2295 @[ -z "$(findstring _safe_32,$@)" ] || \
2296 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2297 echo "... NIOS 'safe_32' configuration" ; \
2299 @[ -z "$(findstring _standard_32,$@)" ] || \
2300 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2301 echo "... NIOS 'standard_32' configuration" ; \
2303 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2304 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2305 echo "... NIOS 'mtx_ldk_20' configuration" ; \
2307 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2308 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2309 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2311 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2313 ADNPESC1_DNPEVA2_base_32_config \
2314 ADNPESC1_base_32_config \
2315 ADNPESC1_config: unconfig
2316 @mkdir -p $(obj)include
2317 @ >$(obj)include/config.h
2318 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2319 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2320 echo "... DNP/EVA2 configuration" ; \
2322 @[ -z "$(findstring _base_32,$@)" ] || \
2323 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2324 echo "... NIOS 'base_32' configuration" ; \
2326 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2327 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2328 echo "... NIOS 'base_32' configuration (DEFAULT)" ; \
2330 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2332 #########################################################################
2334 #########################################################################
2336 EP1C20_config : unconfig
2337 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2339 EP1S10_config : unconfig
2340 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2342 EP1S40_config : unconfig
2343 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2345 PK1C20_config : unconfig
2346 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2348 PCI5441_config : unconfig
2349 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2351 #========================================================================
2353 #========================================================================
2354 #########################################################################
2356 #########################################################################
2357 suzaku_config: unconfig
2358 @mkdir -p $(obj)include
2359 @ >$(obj)include/config.h
2360 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2361 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2363 ml401_config: unconfig
2365 @echo "#define CONFIG_ML401 1" >> include/config.h
2366 @./mkconfig -a $(@:_config=) microblaze microblaze ml401 xilinx
2368 xupv2p_config: unconfig
2370 @echo "#define CONFIG_XUPV2P 1" >> include/config.h
2371 @./mkconfig -a $(@:_config=) microblaze microblaze xupv2p xilinx
2373 #########################################################################
2375 #########################################################################
2376 bf533-ezkit_config: unconfig
2377 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit
2379 bf533-stamp_config: unconfig
2380 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp
2382 bf537-stamp_config: unconfig
2383 @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp
2385 bf561-ezkit_config: unconfig
2386 @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit
2388 #========================================================================
2390 #========================================================================
2391 #########################################################################
2393 #########################################################################
2395 atstk1002_config : unconfig
2396 @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
2398 #########################################################################
2399 #########################################################################
2400 #########################################################################
2403 find $(OBJTREE) -type f \
2404 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2405 -o -name '*.o' -o -name '*.a' \) -print \
2407 rm -f $(obj)examples/hello_world $(obj)examples/timer \
2408 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2409 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2410 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2411 $(obj)examples/test_burst
2412 rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2413 $(obj)tools/gen_eth_addr
2414 rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2415 rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2416 rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2417 rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2418 rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2419 rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2420 rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2421 rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2422 rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2423 rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds
2424 rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds
2425 rm -f $(obj)include/bmp_logo.h
2426 rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2429 find $(OBJTREE) -type f \( -name .depend \
2430 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2433 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
2435 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2436 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
2437 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2438 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2439 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2441 ifeq ($(OBJTREE),$(SRCTREE))
2443 distclean: clobber unconfig
2446 distclean: clobber unconfig
2451 F=`basename $(TOPDIR)` ; cd .. ; \
2452 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2454 #########################################################################