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),ppc)
125 CROSS_COMPILE = powerpc-linux-
128 CROSS_COMPILE = arm-linux-
131 ifeq ($(HOSTARCH),i386)
134 CROSS_COMPILE = i386-linux-
138 CROSS_COMPILE = mips_4KC-
141 CROSS_COMPILE = nios-elf-
144 CROSS_COMPILE = nios2-elf-
147 CROSS_COMPILE = m68k-elf-
149 ifeq ($(ARCH),microblaze)
152 ifeq ($(ARCH),blackfin)
153 CROSS_COMPILE = bfin-elf-
156 CROSS_COMPILE = avr32-
163 # load other configuration
164 include $(TOPDIR)/config.mk
166 #########################################################################
167 # U-Boot objects....order is important (i.e. start must be first)
169 OBJS = cpu/$(CPU)/start.o
171 OBJS += cpu/$(CPU)/start16.o
172 OBJS += cpu/$(CPU)/reset.o
175 OBJS += cpu/$(CPU)/resetvec.o
177 ifeq ($(CPU),mpc85xx)
178 OBJS += cpu/$(CPU)/resetvec.o
180 ifeq ($(CPU),mpc86xx)
181 OBJS += cpu/$(CPU)/resetvec.o
184 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
185 OBJS += cpu/$(CPU)/cplbhdlr.o cpu/$(CPU)/cplbmgr.o cpu/$(CPU)/flush.o
188 OBJS := $(addprefix $(obj),$(OBJS))
190 LIBS = lib_generic/libgeneric.a
191 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
192 LIBS += cpu/$(CPU)/lib$(CPU).a
194 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
196 LIBS += lib_$(ARCH)/lib$(ARCH).a
197 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
198 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
200 LIBS += disk/libdisk.a
203 LIBS += drivers/libdrivers.a
204 LIBS += drivers/nand/libnand.a
205 LIBS += drivers/nand_legacy/libnand_legacy.a
206 ifeq ($(CPU),mpc83xx)
207 LIBS += drivers/qe/qe.a
209 LIBS += drivers/sk98lin/libsk98lin.a
210 LIBS += post/libpost.a post/cpu/libcpu.a
211 LIBS += common/libcommon.a
214 LIBS := $(addprefix $(obj),$(LIBS))
218 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
220 # The "tools" are needed early, so put this first
221 # Don't include stuff already done in $(LIBS)
228 ifeq ($(CONFIG_NAND_U_BOOT),y)
230 U_BOOT_NAND = $(obj)u-boot-nand.bin
233 __OBJS := $(subst $(obj),,$(OBJS))
234 __LIBS := $(subst $(obj),,$(LIBS))
236 #########################################################################
237 #########################################################################
239 ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
243 $(obj)u-boot.hex: $(obj)u-boot
244 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
246 $(obj)u-boot.srec: $(obj)u-boot
247 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
249 $(obj)u-boot.bin: $(obj)u-boot
250 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
252 $(obj)u-boot.img: $(obj)u-boot.bin
253 ./tools/mkimage -A $(ARCH) -T firmware -C none \
254 -a $(TEXT_BASE) -e 0 \
255 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
256 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
259 $(obj)u-boot.dis: $(obj)u-boot
260 $(OBJDUMP) -d $< > $@
262 $(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
263 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
264 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
265 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
266 -Map u-boot.map -o u-boot
269 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
272 $(MAKE) -C $(dir $(subst $(obj),,$@))
278 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
280 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
281 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
284 @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
285 echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
286 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
287 $(TOPDIR)) >> $(VERSION_FILE); \
288 echo "\"" >> $(VERSION_FILE)
291 $(MAKE) -C tools/gdb all || exit 1
294 $(MAKE) -C tools/updater all || exit 1
297 $(MAKE) -C tools/env all || exit 1
300 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
303 ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
304 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
305 fs/cramfs fs/fat fs/fdos fs/jffs2 \
306 net disk rtc dtt drivers drivers/sk98lin common \
307 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
310 etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
311 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
312 fs/cramfs fs/fat fs/fdos fs/jffs2 \
313 net disk rtc dtt drivers drivers/sk98lin common \
314 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
316 $(obj)System.map: $(obj)u-boot
318 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
319 sort > $(obj)System.map
321 #########################################################################
323 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
324 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
325 $(SUBDIRS) version gdbtools updater env depend \
326 dep tags ctags etags $(obj)System.map:
327 @echo "System not configured - see README" >&2
333 git log --no-merges U-Boot-1_1_5.. | \
334 unexpand -a | sed -e 's/\s\s*$$//' > $@
336 #########################################################################
339 @rm -f $(obj)include/config.h $(obj)include/config.mk \
340 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp
342 #========================================================================
344 #========================================================================
346 #########################################################################
348 #########################################################################
350 canmb_config: unconfig
351 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
353 cmi_mpc5xx_config: unconfig
354 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
356 PATI_config: unconfig
357 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
359 #########################################################################
361 #########################################################################
364 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
366 BC3450_config: unconfig
367 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
369 cpci5200_config: unconfig
370 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
372 hmi1001_config: unconfig
373 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
376 Lite5200_LOWBOOT_config \
377 Lite5200_LOWBOOT08_config \
378 icecube_5200_config \
379 icecube_5200_LOWBOOT_config \
380 icecube_5200_LOWBOOT08_config \
381 icecube_5200_DDR_config \
382 icecube_5200_DDR_LOWBOOT_config \
383 icecube_5200_DDR_LOWBOOT08_config \
384 icecube_5100_config: unconfig
385 @mkdir -p $(obj)include
386 @mkdir -p $(obj)board/icecube
387 @ >$(obj)include/config.h
388 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
389 { if [ "$(findstring DDR,$@)" ] ; \
390 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
391 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
393 echo "... with LOWBOOT configuration" ; \
395 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
396 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
397 echo "... with 8 MB flash only" ; \
398 echo "... with LOWBOOT configuration" ; \
400 @[ -z "$(findstring DDR,$@)" ] || \
401 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
402 echo "... DDR memory revision" ; \
404 @[ -z "$(findstring 5200,$@)" ] || \
405 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
406 echo "... with MPC5200 processor" ; \
408 @[ -z "$(findstring 5100,$@)" ] || \
409 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
410 echo "... with MGT5100 processor" ; \
412 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
414 v38b_config: unconfig
415 @./mkconfig -a v38b ppc mpc5xxx v38b
417 inka4x0_config: unconfig
418 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
421 lite5200b_LOWBOOT_config: unconfig
422 @mkdir -p $(obj)include
423 @mkdir -p $(obj)board/icecube
424 @ >$(obj)include/config.h
425 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
426 @ echo "... DDR memory revision"
427 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
428 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
429 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
430 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
431 echo "... with LOWBOOT configuration" ; \
433 @ echo "... with MPC5200B processor"
434 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
437 mcc200_SDRAM_config \
438 mcc200_highboot_config \
439 mcc200_COM12_config \
440 mcc200_COM12_SDRAM_config \
441 mcc200_COM12_highboot_config \
442 mcc200_COM12_highboot_SDRAM_config \
443 mcc200_highboot_SDRAM_config \
446 prs200_highboot_config \
447 prs200_highboot_DDR_config: unconfig
448 @mkdir -p $(obj)include
449 @mkdir -p $(obj)board/mcc200
450 @ >$(obj)include/config.h
451 @[ -n "$(findstring highboot,$@)" ] || \
452 { echo "... with lowboot configuration" ; \
454 @[ -z "$(findstring highboot,$@)" ] || \
455 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
456 echo "... with highboot configuration" ; \
458 @[ -n "$(findstring _SDRAM,$@)" ] || \
459 { if [ -n "$(findstring mcc200,$@)" ]; \
461 echo "... with DDR" ; \
463 if [ -n "$(findstring _DDR,$@)" ];\
465 echo "... with DDR" ; \
467 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
468 echo "... with SDRAM" ; \
472 @[ -z "$(findstring _SDRAM,$@)" ] || \
473 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
474 echo "... with SDRAM" ; \
476 @[ -z "$(findstring COM12,$@)" ] || \
477 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
478 echo "... with console on COM12" ; \
480 @[ -z "$(findstring prs200,$@)" ] || \
481 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
483 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
485 mecp5200_config: unconfig
486 @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd
489 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
491 pf5200_config: unconfig
492 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
496 PM520_ROMBOOT_config \
497 PM520_ROMBOOT_DDR_config: unconfig
498 @mkdir -p $(obj)include
499 @ >$(obj)include/config.h
500 @[ -z "$(findstring DDR,$@)" ] || \
501 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
502 echo "... DDR memory revision" ; \
504 @[ -z "$(findstring ROMBOOT,$@)" ] || \
505 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
506 echo "... booting from 8-bit flash" ; \
508 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
510 smmaco4_config: unconfig
511 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
513 spieval_config: unconfig
514 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
517 TB5200_config: unconfig
518 @mkdir -p $(obj)include
519 @[ -z "$(findstring _B,$@)" ] || \
520 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
521 echo "... with MPC5200B processor" ; \
523 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
527 TOP5200_config: unconfig
528 @mkdir -p $(obj)include
529 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
530 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
534 Total5200_lowboot_config \
535 Total5200_Rev2_config \
536 Total5200_Rev2_lowboot_config: unconfig
537 @mkdir -p $(obj)include
538 @mkdir -p $(obj)board/total5200
539 @ >$(obj)include/config.h
540 @[ -z "$(findstring 5100,$@)" ] || \
541 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
542 echo "... with MGT5100 processor" ; \
544 @[ -z "$(findstring 5200,$@)" ] || \
545 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
546 echo "... with MPC5200 processor" ; \
548 @[ -n "$(findstring Rev,$@)" ] || \
549 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
550 echo "... revision 1 board" ; \
552 @[ -z "$(findstring Rev2_,$@)" ] || \
553 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
554 echo "... revision 2 board" ; \
556 @[ -z "$(findstring lowboot_,$@)" ] || \
557 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
558 echo "... with lowboot configuration" ; \
560 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
563 cam5200_niosflash_config \
567 TQM5200S_HIGHBOOT_config \
569 TQM5200_B_HIGHBOOT_config \
571 TQM5200_STK100_config: unconfig
572 @mkdir -p $(obj)include
573 @mkdir -p $(obj)board/tqm5200
574 @ >$(obj)include/config.h
575 @[ -z "$(findstring cam5200,$@)" ] || \
576 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
577 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
578 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
579 echo "... TQM5200S on Cam5200" ; \
581 @[ -z "$(findstring niosflash,$@)" ] || \
582 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
583 echo "... with NIOS flash driver" ; \
585 @[ -z "$(findstring fo300,$@)" ] || \
586 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
587 echo "... TQM5200 on FO300" ; \
589 @[ -z "$(findstring MiniFAP,$@)" ] || \
590 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
591 echo "... TQM5200_AC on MiniFAP" ; \
593 @[ -z "$(findstring STK100,$@)" ] || \
594 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
595 echo "... on a STK52XX.100 base board" ; \
597 @[ -z "$(findstring TQM5200_B,$@)" ] || \
598 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
600 @[ -z "$(findstring TQM5200S,$@)" ] || \
601 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
602 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
604 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
605 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
607 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
608 uc101_config: unconfig
609 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
611 #########################################################################
613 #########################################################################
619 @mkdir -p $(obj)include
620 $(if $(findstring AdderII,$@), \
621 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
622 @$(MKCONFIG) -a Adder ppc mpc8xx adder
629 FADS860T_config: unconfig
630 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
632 AMX860_config : unconfig
633 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
635 c2mon_config: unconfig
636 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
639 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
641 cogent_mpc8xx_config: unconfig
642 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
644 ELPT860_config: unconfig
645 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
647 EP88x_config: unconfig
648 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
650 ESTEEM192E_config: unconfig
651 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
653 ETX094_config : unconfig
654 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
656 FLAGADM_config: unconfig
657 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
659 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
662 GEN860T_config: unconfig
663 @mkdir -p $(obj)include
664 @ >$(obj)include/config.h
665 @[ -z "$(findstring _SC,$@)" ] || \
666 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
667 echo "With reduced H/W feature set (SC)..." ; \
669 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
671 GENIETV_config: unconfig
672 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
675 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
677 hermes_config : unconfig
678 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
680 HMI10_config : unconfig
681 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
683 IAD210_config: unconfig
684 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
686 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
688 ICU862_100MHz_config \
689 ICU862_config: unconfig
690 @mkdir -p $(obj)include
691 @ >$(obj)include/config.h
692 @[ -z "$(findstring _100MHz,$@)" ] || \
693 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
694 echo "... with 100MHz system clock" ; \
696 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
698 IP860_config : unconfig
699 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
703 IVML24_config: unconfig
704 @mkdir -p $(obj)include
705 @ >$(obj)include/config.h
706 @[ -z "$(findstring IVML24_config,$@)" ] || \
707 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
709 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
710 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
712 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
713 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
715 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
719 IVMS8_config: unconfig
720 @mkdir -p $(obj)include
721 @ >$(obj)include/config.h
722 @[ -z "$(findstring IVMS8_config,$@)" ] || \
723 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
725 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
726 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
728 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
729 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
731 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
733 KUP4K_config : unconfig
734 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
736 KUP4X_config : unconfig
737 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
739 LANTEC_config : unconfig
740 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
742 lwmon_config: unconfig
743 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
746 MBX860T_config: unconfig
747 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
749 MHPC_config: unconfig
750 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
752 MVS1_config : unconfig
753 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
755 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
758 NETVIA_config: unconfig
759 @mkdir -p $(obj)include
760 @ >$(obj)include/config.h
761 @[ -z "$(findstring NETVIA_config,$@)" ] || \
762 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
763 echo "... Version 1" ; \
765 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
766 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
767 echo "... Version 2" ; \
769 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
771 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
774 NETPHONE_config: unconfig
775 @mkdir -p $(obj)include
776 @ >$(obj)include/config.h
777 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
778 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
780 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
781 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
783 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
785 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
787 NETTA_ISDN_6412_SWAPHOOK_config \
788 NETTA_ISDN_SWAPHOOK_config \
789 NETTA_6412_SWAPHOOK_config \
790 NETTA_SWAPHOOK_config \
791 NETTA_ISDN_6412_config \
794 NETTA_config: unconfig
795 @mkdir -p $(obj)include
796 @ >$(obj)include/config.h
797 @[ -z "$(findstring ISDN_,$@)" ] || \
798 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
800 @[ -n "$(findstring ISDN_,$@)" ] || \
801 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
803 @[ -z "$(findstring 6412_,$@)" ] || \
804 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
806 @[ -n "$(findstring 6412_,$@)" ] || \
807 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
809 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
810 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
812 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
813 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
815 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
817 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
820 NETTA2_config: unconfig
821 @mkdir -p $(obj)include
822 @ >$(obj)include/config.h
823 @[ -z "$(findstring NETTA2_config,$@)" ] || \
824 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
826 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
827 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
829 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
833 CP850_config: unconfig
834 @mkdir -p $(obj)include
835 @ >$(obj)include/config.h
836 @[ -z "$(findstring CP850,$@)" ] || \
837 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
838 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
840 @[ -z "$(findstring Rev1,$@)" ] || \
841 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
843 @[ -z "$(findstring Rev2,$@)" ] || \
844 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
846 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
848 NX823_config: unconfig
849 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
851 pcu_e_config: unconfig
852 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
854 QS850_config: unconfig
855 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
857 QS823_config: unconfig
858 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
860 QS860T_config: unconfig
861 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
863 quantum_config: unconfig
864 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
866 R360MPI_config: unconfig
867 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
869 RBC823_config: unconfig
870 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
872 RPXClassic_config: unconfig
873 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
875 RPXlite_config: unconfig
876 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
878 RPXlite_DW_64_config \
879 RPXlite_DW_LCD_config \
880 RPXlite_DW_64_LCD_config \
881 RPXlite_DW_NVRAM_config \
882 RPXlite_DW_NVRAM_64_config \
883 RPXlite_DW_NVRAM_LCD_config \
884 RPXlite_DW_NVRAM_64_LCD_config \
885 RPXlite_DW_config: unconfig
886 @mkdir -p $(obj)include
887 @ >$(obj)include/config.h
888 @[ -z "$(findstring _64,$@)" ] || \
889 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
890 echo "... with 64MHz system clock ..."; \
892 @[ -z "$(findstring _LCD,$@)" ] || \
893 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
894 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
895 echo "... with LCD display ..."; \
897 @[ -z "$(findstring _NVRAM,$@)" ] || \
898 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
899 echo "... with ENV in NVRAM ..."; \
901 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
904 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
906 RRvision_config: unconfig
907 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
909 RRvision_LCD_config: unconfig
910 @mkdir -p $(obj)include
911 @echo "#define CONFIG_LCD" >$(obj)include/config.h
912 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
913 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
915 SM850_config : unconfig
916 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
919 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
921 SPD823TS_config: unconfig
922 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
924 stxxtc_config: unconfig
925 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
927 svm_sc8xx_config: unconfig
928 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
930 SXNI855T_config: unconfig
931 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
933 # EMK MPC8xx based modules
934 TOP860_config: unconfig
935 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
937 # Play some tricks for configuration selection
938 # Only 855 and 860 boards may come with FEC
939 # and only 823 boards may have LCD support
940 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
958 virtlab2_config: unconfig
959 @mkdir -p $(obj)include
960 @ >$(obj)include/config.h
961 @[ -z "$(findstring _LCD,$@)" ] || \
962 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
963 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
964 echo "... with LCD display" ; \
966 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
968 TTTech_config: unconfig
969 @mkdir -p $(obj)include
970 @echo "#define CONFIG_LCD" >$(obj)include/config.h
971 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
972 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
974 uc100_config : unconfig
975 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
978 @mkdir -p $(obj)include
979 @echo "#define CONFIG_LCD" >$(obj)include/config.h
980 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
981 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
984 @mkdir -p $(obj)include
985 @echo "#define CONFIG_LCD" >$(obj)include/config.h
986 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
987 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
989 #########################################################################
991 #########################################################################
992 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
994 ADCIOP_config: unconfig
995 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
997 alpr_config: unconfig
998 @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
1000 AP1000_config:unconfig
1001 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1003 APC405_config: unconfig
1004 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1006 AR405_config: unconfig
1007 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1009 ASH405_config: unconfig
1010 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1012 bamboo_config: unconfig
1013 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1015 bubinga_config: unconfig
1016 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1018 CANBT_config: unconfig
1019 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1022 CATcenter_25_config \
1023 CATcenter_33_config: unconfig
1024 @mkdir -p $(obj)include
1025 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1026 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1027 @[ -z "$(findstring _25,$@)" ] || \
1028 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1029 echo "SysClk = 25MHz" ; \
1031 @[ -z "$(findstring _33,$@)" ] || \
1032 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1033 echo "SysClk = 33MHz" ; \
1035 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1037 CPCI2DP_config: unconfig
1038 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1043 CPCI405AB_config: unconfig
1044 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1045 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1047 CPCI440_config: unconfig
1048 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd
1050 CPCIISER4_config: unconfig
1051 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1053 CRAYL1_config: unconfig
1054 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1056 csb272_config: unconfig
1057 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1059 csb472_config: unconfig
1060 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1062 DASA_SIM_config: unconfig
1063 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1065 DP405_config: unconfig
1066 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1068 DU405_config: unconfig
1069 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1071 ebony_config: unconfig
1072 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1074 ERIC_config: unconfig
1075 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1077 EXBITGEN_config: unconfig
1078 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1080 G2000_config: unconfig
1081 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1083 HH405_config: unconfig
1084 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1086 HUB405_config: unconfig
1087 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1089 JSE_config: unconfig
1090 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1092 KAREF_config: unconfig
1093 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1095 luan_config: unconfig
1096 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1098 METROBOX_config: unconfig
1099 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1101 MIP405_config: unconfig
1102 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1104 MIP405T_config: unconfig
1105 @mkdir -p $(obj)include
1106 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1107 @echo "Enable subset config for MIP405T"
1108 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1110 ML2_config: unconfig
1111 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1113 ml300_config: unconfig
1114 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1116 ocotea_config: unconfig
1117 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1120 ORSG_config: unconfig
1121 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1123 p3p440_config: unconfig
1124 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1126 PCI405_config: unconfig
1127 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1129 pcs440ep_config: unconfig
1130 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1132 PIP405_config: unconfig
1133 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1135 PLU405_config: unconfig
1136 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1138 PMC405_config: unconfig
1139 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1141 PPChameleonEVB_config \
1142 PPChameleonEVB_BA_25_config \
1143 PPChameleonEVB_ME_25_config \
1144 PPChameleonEVB_HI_25_config \
1145 PPChameleonEVB_BA_33_config \
1146 PPChameleonEVB_ME_33_config \
1147 PPChameleonEVB_HI_33_config: unconfig
1148 @mkdir -p $(obj)include
1149 @ >$(obj)include/config.h
1150 @[ -z "$(findstring EVB_BA,$@)" ] || \
1151 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1152 echo "... BASIC model" ; \
1154 @[ -z "$(findstring EVB_ME,$@)" ] || \
1155 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1156 echo "... MEDIUM model" ; \
1158 @[ -z "$(findstring EVB_HI,$@)" ] || \
1159 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1160 echo "... HIGH-END model" ; \
1162 @[ -z "$(findstring _25,$@)" ] || \
1163 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1164 echo "SysClk = 25MHz" ; \
1166 @[ -z "$(findstring _33,$@)" ] || \
1167 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1168 echo "SysClk = 33MHz" ; \
1170 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1172 rainier_config: unconfig
1173 @mkdir -p $(obj)include
1174 @echo "#define CONFIG_RAINIER" > $(obj)include/config.h
1175 @echo "Configuring for rainier board as subset of sequoia..."
1176 @$(MKCONFIG) -a sequoia ppc ppc4xx sequoia amcc
1178 rainier_nand_config: unconfig
1179 @mkdir -p $(obj)include
1180 @mkdir -p $(obj)nand_spl
1181 @mkdir -p $(obj)board/amcc/sequoia
1182 @echo "#define CONFIG_RAINIER" > $(obj)include/config.h
1183 @echo "Configuring for rainier board as subset of sequoia..."
1184 @echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h
1185 @echo "Compile NAND boot image for sequoia"
1186 @$(MKCONFIG) -a sequoia ppc ppc4xx sequoia amcc
1187 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1188 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1190 sbc405_config: unconfig
1191 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1193 sequoia_config: unconfig
1194 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sequoia amcc
1196 sequoia_nand_config: unconfig
1197 @mkdir -p $(obj)include
1198 @mkdir -p $(obj)nand_spl
1199 @mkdir -p $(obj)board/amcc/sequoia
1200 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1201 @echo "Compile NAND boot image for sequoia"
1202 @$(MKCONFIG) -a sequoia ppc ppc4xx sequoia amcc
1203 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1204 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1207 @./mkconfig $(@:_config=) ppc ppc4xx sc3
1209 sycamore_config: unconfig
1210 @echo "Configuring for sycamore board as subset of walnut..."
1211 @$(MKCONFIG) -a walnut ppc ppc4xx walnut amcc
1213 taishan_config: unconfig
1214 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1216 VOH405_config: unconfig
1217 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1219 VOM405_config: unconfig
1220 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1222 CMS700_config: unconfig
1223 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1226 W7OLMG_config: unconfig
1227 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1229 walnut_config: unconfig
1230 @$(MKCONFIG) $(@:_config=) ppc ppc4xx walnut amcc
1232 WUH405_config: unconfig
1233 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1235 XPEDITE1K_config: unconfig
1236 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1238 yosemite_config: unconfig
1239 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yosemite amcc
1241 yellowstone_config: unconfig
1242 @mkdir -p $(obj)include
1243 @echo "#define CONFIG_YELLOWSTONE" > $(obj)include/config.h
1244 @echo "Configuring for yellowstone board as subset of yosemite..."
1245 @$(MKCONFIG) -a yosemite ppc ppc4xx yosemite amcc
1247 yucca_config: unconfig
1248 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1250 #########################################################################
1252 #########################################################################
1255 Yukon8220_config: unconfig
1256 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1258 sorcery_config: unconfig
1259 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1261 #########################################################################
1263 #########################################################################
1264 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1266 A3000_config: unconfig
1267 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1269 barco_config: unconfig
1270 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1272 BMW_config: unconfig
1273 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1276 CPC45_ROMBOOT_config: unconfig
1277 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1278 @cd $(obj)include ; \
1279 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1280 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1281 echo "... booting from 8-bit flash" ; \
1283 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1284 echo "... booting from 64-bit flash" ; \
1286 echo "export CONFIG_BOOT_ROM" >> config.mk;
1288 CU824_config: unconfig
1289 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1291 debris_config: unconfig
1292 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1294 eXalion_config: unconfig
1295 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1297 HIDDEN_DRAGON_config: unconfig
1298 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1300 kvme080_config: unconfig
1301 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1303 MOUSSE_config: unconfig
1304 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1306 MUSENKI_config: unconfig
1307 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1309 MVBLUE_config: unconfig
1310 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1312 OXC_config: unconfig
1313 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1315 PN62_config: unconfig
1316 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1318 Sandpoint8240_config: unconfig
1319 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1321 Sandpoint8245_config: unconfig
1322 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1324 sbc8240_config: unconfig
1325 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1327 SL8245_config: unconfig
1328 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1330 utx8245_config: unconfig
1331 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1333 #########################################################################
1335 #########################################################################
1337 atc_config: unconfig
1338 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1340 cogent_mpc8260_config: unconfig
1341 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1344 CPU86_ROMBOOT_config: unconfig
1345 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1346 @cd $(obj)include ; \
1347 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1348 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1349 echo "... booting from 8-bit flash" ; \
1351 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1352 echo "... booting from 64-bit flash" ; \
1354 echo "export CONFIG_BOOT_ROM" >> config.mk;
1357 CPU87_ROMBOOT_config: unconfig
1358 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
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 ep8248E_config : unconfig
1371 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1373 ep8260_config: unconfig
1374 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1376 ep82xxm_config: unconfig
1377 @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
1379 gw8260_config: unconfig
1380 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1382 hymod_config: unconfig
1383 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1385 IDS8247_config: unconfig
1386 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1388 IPHASE4539_config: unconfig
1389 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1392 ISPAN_REVB_config: unconfig
1393 @mkdir -p $(obj)include
1394 @if [ "$(findstring _REVB_,$@)" ] ; then \
1395 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1397 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1400 MPC8260ADS_lowboot_config \
1401 MPC8260ADS_33MHz_config \
1402 MPC8260ADS_33MHz_lowboot_config \
1403 MPC8260ADS_40MHz_config \
1404 MPC8260ADS_40MHz_lowboot_config \
1406 MPC8272ADS_lowboot_config \
1408 PQ2FADS_lowboot_config \
1410 PQ2FADS-VR_lowboot_config \
1412 PQ2FADS-ZU_lowboot_config \
1413 PQ2FADS-ZU_66MHz_config \
1414 PQ2FADS-ZU_66MHz_lowboot_config \
1416 @mkdir -p $(obj)include
1417 @mkdir -p $(obj)board/mpc8260ads
1418 $(if $(findstring PQ2FADS,$@), \
1419 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1420 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1421 $(if $(findstring MHz,$@), \
1422 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1423 $(if $(findstring VR,$@), \
1424 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1425 @[ -z "$(findstring lowboot_,$@)" ] || \
1426 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1427 echo "... with lowboot configuration" ; \
1429 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1431 MPC8266ADS_config: unconfig
1432 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1434 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1436 PM825_ROMBOOT_config \
1437 PM825_BIGFLASH_config \
1438 PM825_ROMBOOT_BIGFLASH_config \
1440 PM826_ROMBOOT_config \
1441 PM826_BIGFLASH_config \
1442 PM826_ROMBOOT_BIGFLASH_config: unconfig
1443 @mkdir -p $(obj)include
1444 @mkdir -p $(obj)board/pm826
1445 @if [ "$(findstring PM825_,$@)" ] ; then \
1446 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1448 >$(obj)include/config.h ; \
1450 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1451 echo "... booting from 8-bit flash" ; \
1452 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1453 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1454 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1455 echo "... with 32 MB Flash" ; \
1456 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1459 echo "... booting from 64-bit flash" ; \
1460 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1461 echo "... with 32 MB Flash" ; \
1462 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1463 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1465 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1468 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1472 PM828_ROMBOOT_config \
1473 PM828_ROMBOOT_PCI_config: unconfig
1474 @mkdir -p $(obj)include
1475 @mkdir -p $(obj)board/pm826
1476 @if [ "$(findstring _PCI_,$@)" ] ; then \
1477 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1478 echo "... with PCI enabled" ; \
1480 >$(obj)include/config.h ; \
1482 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1483 echo "... booting from 8-bit flash" ; \
1484 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1485 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1487 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1489 ppmc8260_config: unconfig
1490 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1492 Rattler8248_config \
1493 Rattler_config: unconfig
1494 @mkdir -p $(obj)include
1495 $(if $(findstring 8248,$@), \
1496 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1497 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1499 RPXsuper_config: unconfig
1500 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1502 rsdproto_config: unconfig
1503 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1505 sacsng_config: unconfig
1506 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1508 sbc8260_config: unconfig
1509 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1511 SCM_config: unconfig
1512 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1524 TQM8265_AA_config: unconfig
1525 @mkdir -p $(obj)include
1527 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1528 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1529 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1530 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1531 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1532 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1533 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1534 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1535 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1536 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1537 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1539 >$(obj)include/config.h ; \
1540 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1541 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1543 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1544 echo "... with $${CFREQ}MHz system clock" ; \
1545 if [ "$${CACHE}" == "yes" ] ; then \
1546 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1547 echo "... with L2 Cache support" ; \
1549 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1550 echo "... without L2 Cache support" ; \
1552 if [ "$${BMODE}" == "60x" ] ; then \
1553 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1554 echo "... with 60x Bus Mode" ; \
1556 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1557 echo "... without 60x Bus Mode" ; \
1559 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1561 TQM8272_config: unconfig
1562 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1564 VoVPN-GW_66MHz_config \
1565 VoVPN-GW_100MHz_config: unconfig
1566 @mkdir -p $(obj)include
1567 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1568 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1570 ZPC1900_config: unconfig
1571 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1573 #########################################################################
1575 #########################################################################
1577 cobra5272_config : unconfig
1578 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1580 EB+MCF-EV123_config : unconfig
1581 @mkdir -p $(obj)include
1582 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1583 @ >$(obj)include/config.h
1584 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1585 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1587 EB+MCF-EV123_internal_config : unconfig
1588 @mkdir -p $(obj)include
1589 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1590 @ >$(obj)include/config.h
1591 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1592 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1594 idmr_config : unconfig
1595 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1597 M5271EVB_config : unconfig
1598 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1600 M5272C3_config : unconfig
1601 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1603 M5282EVB_config : unconfig
1604 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1606 TASREG_config : unconfig
1607 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1609 r5200_config : unconfig
1610 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1612 #########################################################################
1614 #########################################################################
1616 TQM834x_config: unconfig
1617 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1619 MPC8349EMDS_config: unconfig
1620 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
1622 MPC8360EMDS_config \
1623 MPC8360EMDS_HOST_33_config \
1624 MPC8360EMDS_HOST_66_config \
1625 MPC8360EMDS_SLAVE_config: unconfig
1626 @echo "" >include/config.h ; \
1627 if [ "$(findstring _HOST_,$@)" ] ; then \
1628 echo -n "... PCI HOST " ; \
1629 echo "#define CONFIG_PCI" >>include/config.h ; \
1631 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1632 echo "...PCI SLAVE 66M" ; \
1633 echo "#define CONFIG_PCI" >>include/config.h ; \
1634 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1636 if [ "$(findstring _33_,$@)" ] ; then \
1637 echo -n "...33M ..." ; \
1638 echo "#define PCI_33M" >>include/config.h ; \
1640 if [ "$(findstring _66_,$@)" ] ; then \
1641 echo -n "...66M..." ; \
1642 echo "#define PCI_66M" >>include/config.h ; \
1644 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1646 MPC8349ITX_config: unconfig
1647 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349itx
1649 #########################################################################
1651 #########################################################################
1653 MPC8540ADS_config: unconfig
1654 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
1656 MPC8540EVAL_config \
1657 MPC8540EVAL_33_config \
1658 MPC8540EVAL_66_config \
1659 MPC8540EVAL_33_slave_config \
1660 MPC8540EVAL_66_slave_config: unconfig
1661 @mkdir -p $(obj)include
1662 @echo "" >$(obj)include/config.h ; \
1663 if [ "$(findstring _33_,$@)" ] ; then \
1664 echo -n "... 33 MHz PCI" ; \
1666 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1667 echo -n "... 66 MHz PCI" ; \
1669 if [ "$(findstring _slave_,$@)" ] ; then \
1670 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
1675 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1677 MPC8560ADS_config: unconfig
1678 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
1680 MPC8541CDS_config: unconfig
1681 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
1683 MPC8548CDS_config: unconfig
1684 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
1686 MPC8555CDS_config: unconfig
1687 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
1689 PM854_config: unconfig
1690 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
1692 PM856_config: unconfig
1693 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
1697 sbc8540_66_config: unconfig
1698 @mkdir -p $(obj)include
1699 @if [ "$(findstring _66_,$@)" ] ; then \
1700 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1701 echo "... 66 MHz PCI" ; \
1703 >$(obj)include/config.h ; \
1704 echo "... 33 MHz PCI" ; \
1706 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
1710 sbc8560_66_config: unconfig
1711 @mkdir -p $(obj)include
1712 @if [ "$(findstring _66_,$@)" ] ; then \
1713 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
1714 echo "... 66 MHz PCI" ; \
1716 >$(obj)include/config.h ; \
1717 echo "... 33 MHz PCI" ; \
1719 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
1721 stxgp3_config: unconfig
1722 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
1727 TQM8560_config: unconfig
1728 @mkdir -p $(obj)include
1729 @CTYPE=$(subst TQM,,$(@:_config=)); \
1730 >$(obj)include/config.h ; \
1731 echo "... TQM"$${CTYPE}; \
1732 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1733 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1734 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1735 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1736 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1737 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
1739 #########################################################################
1741 #########################################################################
1743 MPC8641HPCN_config: unconfig
1744 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1747 #########################################################################
1749 #########################################################################
1751 AmigaOneG3SE_config: unconfig
1752 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
1754 BAB7xx_config: unconfig
1755 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
1757 CPCI750_config: unconfig
1758 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
1760 DB64360_config: unconfig
1761 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
1763 DB64460_config: unconfig
1764 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
1766 ELPPC_config: unconfig
1767 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
1770 EVB64260_750CX_config: unconfig
1771 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
1773 P3G4_config: unconfig
1774 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1777 p3m7448_config: unconfig
1778 @mkdir -p $(obj)include
1779 @if [ "$(findstring 750_,$@)" ] ; then \
1780 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1782 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1784 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1787 PCIPPC6_config: unconfig
1788 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
1790 ZUMA_config: unconfig
1791 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
1793 ppmc7xx_config: unconfig
1794 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
1796 #========================================================================
1798 #========================================================================
1799 #########################################################################
1800 ## StrongARM Systems
1801 #########################################################################
1803 assabet_config : unconfig
1804 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
1806 dnp1110_config : unconfig
1807 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
1809 gcplus_config : unconfig
1810 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
1812 lart_config : unconfig
1813 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
1815 shannon_config : unconfig
1816 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
1818 #########################################################################
1820 #########################################################################
1822 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
1824 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
1826 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1828 at91rm9200dk_config : unconfig
1829 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
1831 cmc_pu2_config : unconfig
1832 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
1834 csb637_config : unconfig
1835 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
1837 mp2usb_config : unconfig
1838 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
1841 ########################################################################
1842 ## ARM Integrator boards - see doc/README-integrator for more info.
1843 integratorap_config \
1852 ap946es_config: unconfig
1853 @board/integratorap/split_by_variant.sh $@
1855 integratorcp_config \
1864 cp1026_config: unconfig
1865 @board/integratorcp/split_by_variant.sh $@
1867 kb9202_config : unconfig
1868 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
1871 lpd7a404_config: unconfig
1872 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
1874 mx1ads_config : unconfig
1875 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
1877 mx1fs2_config : unconfig
1878 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
1881 netstar_config: unconfig
1882 @mkdir -p $(obj)include
1883 @if [ "$(findstring _32_,$@)" ] ; then \
1884 echo "... 32MB SDRAM" ; \
1885 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
1887 echo "... 64MB SDRAM" ; \
1888 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
1890 @$(MKCONFIG) -a netstar arm arm925t netstar
1892 omap1510inn_config : unconfig
1893 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
1895 omap5912osk_config : unconfig
1896 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1898 omap1610inn_config \
1899 omap1610inn_cs0boot_config \
1900 omap1610inn_cs3boot_config \
1901 omap1610inn_cs_autoboot_config \
1903 omap1610h2_cs0boot_config \
1904 omap1610h2_cs3boot_config \
1905 omap1610h2_cs_autoboot_config: unconfig
1906 @mkdir -p $(obj)include
1907 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1908 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
1909 echo "... configured for CS0 boot"; \
1910 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
1911 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
1912 echo "... configured for CS_AUTO boot"; \
1914 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
1915 echo "... configured for CS3 boot"; \
1917 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
1920 omap730p2_cs0boot_config \
1921 omap730p2_cs3boot_config : unconfig
1922 @mkdir -p $(obj)include
1923 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
1924 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
1925 echo "... configured for CS0 boot"; \
1927 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
1928 echo "... configured for CS3 boot"; \
1930 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
1932 sbc2410x_config: unconfig
1933 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
1935 scb9328_config : unconfig
1936 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
1938 smdk2400_config : unconfig
1939 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
1941 smdk2410_config : unconfig
1942 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
1944 SX1_config : unconfig
1945 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
1947 # TRAB default configuration: 8 MB Flash, 32 MB RAM
1949 trab_bigram_config \
1950 trab_bigflash_config \
1951 trab_old_config: unconfig
1952 @mkdir -p $(obj)include
1953 @mkdir -p $(obj)board/trab
1954 @ >$(obj)include/config.h
1955 @[ -z "$(findstring _bigram,$@)" ] || \
1956 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
1957 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
1958 echo "... with 8 MB Flash, 32 MB RAM" ; \
1960 @[ -z "$(findstring _bigflash,$@)" ] || \
1961 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
1962 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
1963 echo "... with 16 MB Flash, 16 MB RAM" ; \
1964 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
1966 @[ -z "$(findstring _old,$@)" ] || \
1967 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
1968 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
1969 echo "... with 8 MB Flash, 16 MB RAM" ; \
1970 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
1972 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
1974 VCMA9_config : unconfig
1975 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
1977 #========================================================================
1978 # ARM supplied Versatile development boards
1979 #========================================================================
1981 versatileab_config \
1982 versatilepb_config : unconfig
1983 @board/versatile/split_by_variant.sh $@
1985 voiceblue_smallflash_config \
1986 voiceblue_config: unconfig
1987 @mkdir -p $(obj)include
1988 @mkdir -p $(obj)board/voiceblue
1989 @if [ "$(findstring _smallflash_,$@)" ] ; then \
1990 echo "... boot from lower flash bank" ; \
1991 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
1992 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
1994 echo "... boot from upper flash bank" ; \
1995 >$(obj)include/config.h ; \
1996 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
1998 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2000 cm4008_config : unconfig
2001 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2003 cm41xx_config : unconfig
2004 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2006 gth2_config : unconfig
2007 @mkdir -p $(obj)include
2008 @ >$(obj)include/config.h
2009 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2010 @$(MKCONFIG) -a gth2 mips mips gth2
2012 #########################################################################
2014 #########################################################################
2016 B2_config : unconfig
2017 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2019 #########################################################################
2021 #########################################################################
2023 armadillo_config: unconfig
2024 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2026 ep7312_config : unconfig
2027 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2029 impa7_config : unconfig
2030 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2032 modnet50_config : unconfig
2033 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2035 evb4510_config : unconfig
2036 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2038 lpc2292sodimm_config: unconfig
2039 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2041 #########################################################################
2043 #########################################################################
2045 adsvix_config : unconfig
2046 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2048 cerf250_config : unconfig
2049 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2051 cradle_config : unconfig
2052 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2054 csb226_config : unconfig
2055 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2058 @$(MKCONFIG) $(@:_config=) arm pxa delta
2060 innokom_config : unconfig
2061 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2063 ixdp425_config : unconfig
2064 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2066 ixdpg425_config : unconfig
2067 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2069 lubbock_config : unconfig
2070 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2072 pleb2_config : unconfig
2073 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2075 logodl_config : unconfig
2076 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2079 scpu_config: unconfig
2080 @if [ "$(findstring scpu_,$@)" ] ; then \
2081 echo "#define CONFIG_SCPU" >>include/config.h ; \
2082 echo "... on SCPU board variant" ; \
2084 >include/config.h ; \
2086 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2088 pxa255_idp_config: unconfig
2089 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2091 wepep250_config : unconfig
2092 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2094 xaeniax_config : unconfig
2095 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2097 xm250_config : unconfig
2098 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2100 xsengine_config : unconfig
2101 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2104 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2106 #########################################################################
2108 #########################################################################
2109 omap2420h4_config : unconfig
2110 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2112 #========================================================================
2114 #========================================================================
2115 #########################################################################
2117 #########################################################################
2118 sc520_cdp_config : unconfig
2119 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2121 sc520_spunk_config : unconfig
2122 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2124 sc520_spunk_rel_config : unconfig
2125 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2127 #========================================================================
2129 #========================================================================
2130 #########################################################################
2132 #########################################################################
2134 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2136 incaip_100MHz_config \
2137 incaip_133MHz_config \
2138 incaip_150MHz_config \
2139 incaip_config: unconfig
2140 @mkdir -p $(obj)include
2141 @ >$(obj)include/config.h
2142 @[ -z "$(findstring _100MHz,$@)" ] || \
2143 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2144 echo "... with 100MHz system clock" ; \
2146 @[ -z "$(findstring _133MHz,$@)" ] || \
2147 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2148 echo "... with 133MHz system clock" ; \
2150 @[ -z "$(findstring _150MHz,$@)" ] || \
2151 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2152 echo "... with 150MHz system clock" ; \
2154 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2156 tb0229_config: unconfig
2157 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2159 #########################################################################
2161 #########################################################################
2162 dbau1000_config : unconfig
2163 @mkdir -p $(obj)include
2164 @ >$(obj)include/config.h
2165 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2166 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2168 dbau1100_config : unconfig
2169 @mkdir -p $(obj)include
2170 @ >$(obj)include/config.h
2171 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2172 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2174 dbau1500_config : unconfig
2175 @mkdir -p $(obj)include
2176 @ >$(obj)include/config.h
2177 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2178 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2180 dbau1550_config : unconfig
2181 @mkdir -p $(obj)include
2182 @ >$(obj)include/config.h
2183 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2184 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2186 dbau1550_el_config : unconfig
2187 @mkdir -p $(obj)include
2188 @ >$(obj)include/config.h
2189 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2190 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2192 pb1000_config : unconfig
2193 @mkdir -p $(obj)include
2194 @ >$(obj)include/config.h
2195 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2196 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2198 #########################################################################
2200 #########################################################################
2202 purple_config : unconfig
2203 @$(MKCONFIG) $(@:_config=) mips mips purple
2205 #========================================================================
2207 #========================================================================
2208 #########################################################################
2210 #########################################################################
2212 DK1C20_safe_32_config \
2213 DK1C20_standard_32_config \
2214 DK1C20_config: unconfig
2215 @mkdir -p $(obj)include
2216 @ >$(obj)include/config.h
2217 @[ -z "$(findstring _safe_32,$@)" ] || \
2218 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2219 echo "... NIOS 'safe_32' configuration" ; \
2221 @[ -z "$(findstring _standard_32,$@)" ] || \
2222 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2223 echo "... NIOS 'standard_32' configuration" ; \
2225 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2226 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2227 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2229 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2231 DK1S10_safe_32_config \
2232 DK1S10_standard_32_config \
2233 DK1S10_mtx_ldk_20_config \
2234 DK1S10_config: unconfig
2235 @mkdir -p $(obj)include
2236 @ >$(obj)include/config.h
2237 @[ -z "$(findstring _safe_32,$@)" ] || \
2238 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2239 echo "... NIOS 'safe_32' configuration" ; \
2241 @[ -z "$(findstring _standard_32,$@)" ] || \
2242 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2243 echo "... NIOS 'standard_32' configuration" ; \
2245 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2246 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2247 echo "... NIOS 'mtx_ldk_20' configuration" ; \
2249 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2250 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2251 echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2253 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2255 ADNPESC1_DNPEVA2_base_32_config \
2256 ADNPESC1_base_32_config \
2257 ADNPESC1_config: unconfig
2258 @mkdir -p $(obj)include
2259 @ >$(obj)include/config.h
2260 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2261 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2262 echo "... DNP/EVA2 configuration" ; \
2264 @[ -z "$(findstring _base_32,$@)" ] || \
2265 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2266 echo "... NIOS 'base_32' configuration" ; \
2268 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2269 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2270 echo "... NIOS 'base_32' configuration (DEFAULT)" ; \
2272 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2274 #########################################################################
2276 #########################################################################
2278 EP1C20_config : unconfig
2279 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2281 EP1S10_config : unconfig
2282 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2284 EP1S40_config : unconfig
2285 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2287 PK1C20_config : unconfig
2288 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2290 PCI5441_config : unconfig
2291 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2293 #========================================================================
2295 #========================================================================
2296 #########################################################################
2298 #########################################################################
2299 suzaku_config: unconfig
2300 @mkdir -p $(obj)include
2301 @ >$(obj)include/config.h
2302 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2303 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2305 #########################################################################
2307 #########################################################################
2308 ezkit533_config : unconfig
2309 @$(MKCONFIG) $(@:_config=) blackfin bf533 ezkit533
2311 stamp_config : unconfig
2312 @$(MKCONFIG) $(@:_config=) blackfin bf533 stamp
2314 dspstamp_config : unconfig
2315 @$(MKCONFIG) $(@:_config=) blackfin bf533 dsp_stamp
2317 #========================================================================
2319 #========================================================================
2320 #########################################################################
2322 #########################################################################
2324 atstk1002_config : unconfig
2325 @./mkconfig $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
2327 #########################################################################
2328 #########################################################################
2329 #########################################################################
2332 find $(OBJTREE) -type f \
2333 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2334 -o -name '*.o' -o -name '*.a' \) -print \
2336 rm -f $(obj)examples/hello_world $(obj)examples/timer \
2337 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2338 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2339 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2340 $(obj)examples/test_burst
2341 rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2342 $(obj)tools/gen_eth_addr
2343 rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2344 rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2345 rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2346 rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2347 rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2348 rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2349 rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2350 rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2351 rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2352 rm -f $(obj)include/bmp_logo.h
2353 rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2356 find $(OBJTREE) -type f \( -name .depend \
2357 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2360 rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h
2362 rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2363 rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c
2364 rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2365 rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2366 [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2368 ifeq ($(OBJTREE),$(SRCTREE))
2370 distclean: clobber unconfig
2373 distclean: clobber unconfig
2378 F=`basename $(TOPDIR)` ; cd .. ; \
2379 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2381 #########################################################################