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
177 OBJS
+= cpu
/$(CPU
)/start1.o cpu
/$(CPU
)/interrupt.o cpu
/$(CPU
)/cache.o
178 OBJS
+= cpu
/$(CPU
)/flush.o cpu
/$(CPU
)/init_sdram.o
181 OBJS
+= cpu
/$(CPU
)/start1.o cpu
/$(CPU
)/interrupt.o cpu
/$(CPU
)/cache.o
182 OBJS
+= cpu
/$(CPU
)/flush.o cpu
/$(CPU
)/init_sdram.o
185 OBJS
+= cpu
/$(CPU
)/start1.o cpu
/$(CPU
)/interrupt.o cpu
/$(CPU
)/cache.o
186 OBJS
+= cpu
/$(CPU
)/flush.o cpu
/$(CPU
)/init_sdram.o
189 OBJS
:= $(addprefix $(obj
),$(OBJS
))
191 LIBS
= lib_generic
/libgeneric.a
192 LIBS
+= board
/$(BOARDDIR
)/lib
$(BOARD
).a
193 LIBS
+= cpu
/$(CPU
)/lib
$(CPU
).a
195 LIBS
+= cpu
/$(CPU
)/$(SOC
)/lib
$(SOC
).a
198 LIBS
+= cpu
/ixp
/npe
/libnpe.a
200 LIBS
+= lib_
$(ARCH
)/lib
$(ARCH
).a
201 LIBS
+= fs
/cramfs
/libcramfs.a fs
/fat
/libfat.a fs
/fdos
/libfdos.a fs
/jffs2
/libjffs2.a \
202 fs
/reiserfs
/libreiserfs.a fs
/ext2
/libext2fs.a
204 LIBS
+= disk
/libdisk.a
207 LIBS
+= drivers
/libdrivers.a
208 LIBS
+= drivers
/nand
/libnand.a
209 LIBS
+= drivers
/nand_legacy
/libnand_legacy.a
210 ifeq ($(CPU
),mpc83xx
)
211 LIBS
+= drivers
/qe
/qe.a
213 LIBS
+= drivers
/sk98lin
/libsk98lin.a
214 LIBS
+= post
/libpost.a post
/drivers
/libpostdrivers.a
215 LIBS
+= $(shell if
[ -d post
/lib_
$(ARCH
) ]; then echo \
216 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi
)
217 LIBS
+= $(shell if
[ -d post
/lib_
$(ARCH
)/fpu
]; then echo \
218 "post/lib_$(ARCH)/fpu/libpost$(ARCH)fpu.a"; fi
)
219 LIBS
+= $(shell if
[ -d post
/cpu
/$(CPU
) ]; then echo \
220 "post/cpu/$(CPU)/libpost$(CPU).a"; fi
)
221 LIBS
+= $(shell if
[ -d post
/board
/$(BOARDDIR
) ]; then echo \
222 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi
)
223 LIBS
+= common
/libcommon.a
224 LIBS
+= libfdt
/libfdt.a
226 LIBS
:= $(addprefix $(obj
),$(LIBS
))
230 PLATFORM_LIBS
+= -L
$(shell dirname
`$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
232 # The "tools" are needed early, so put this first
233 # Don't include stuff already done in $(LIBS)
239 ifeq ($(CONFIG_NAND_U_BOOT
),y
)
241 U_BOOT_NAND
= $(obj
)u-boot-nand.bin
244 __OBJS
:= $(subst $(obj
),,$(OBJS
))
245 __LIBS
:= $(subst $(obj
),,$(LIBS
))
247 #########################################################################
248 #########################################################################
250 ALL
+= $(obj
)u-boot.srec
$(obj
)u-boot.bin
$(obj
)System.map
$(U_BOOT_NAND
)
254 $(obj
)u-boot.hex
: $(obj
)u-boot
255 $(OBJCOPY
) ${OBJCFLAGS} -O ihex
$< $@
257 $(obj
)u-boot.srec
: $(obj
)u-boot
258 $(OBJCOPY
) ${OBJCFLAGS} -O srec
$< $@
260 $(obj
)u-boot.bin
: $(obj
)u-boot
261 $(OBJCOPY
) ${OBJCFLAGS} -O binary
$< $@
263 $(obj
)u-boot.img
: $(obj
)u-boot.bin
264 .
/tools
/mkimage
-A
$(ARCH
) -T firmware
-C none \
265 -a
$(TEXT_BASE
) -e
0 \
266 -n
$(shell sed
-n
-e
's/.*U_BOOT_VERSION//p' $(VERSION_FILE
) | \
267 sed
-e
's/"[ ]*$$/ for $(BOARD) board"/') \
270 $(obj
)u-boot.sha1
: $(obj
)u-boot.bin
271 $(obj
)tools
/ubsha1
$(obj
)u-boot.bin
273 $(obj
)u-boot.dis
: $(obj
)u-boot
274 $(OBJDUMP
) -d
$< > $@
276 $(obj
)u-boot
: depend version
$(SUBDIRS
) $(OBJS
) $(LIBS
) $(LDSCRIPT
)
277 UNDEF_SYM
=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
278 cd
$(LNDIR
) && $(LD
) $(LDFLAGS
) $$UNDEF_SYM $(__OBJS
) \
279 --start-group
$(__LIBS
) --end-group
$(PLATFORM_LIBS
) \
280 -Map u-boot.map
-o u-boot
283 $(MAKE
) -C cpu
/$(CPU
) $(if
$(REMOTE_BUILD
),$@
,$(notdir $@
))
286 $(MAKE
) -C
$(dir $(subst $(obj
),,$@
))
292 $(MAKE
) -C nand_spl
/board
/$(BOARDDIR
) all
294 $(U_BOOT_NAND
): $(NAND_SPL
) $(obj
)u-boot.bin
295 cat
$(obj
)nand_spl
/u-boot-spl-16k.bin
$(obj
)u-boot.bin
> $(obj
)u-boot-nand.bin
298 @echo
-n
"#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE
); \
299 echo
-n
"$(U_BOOT_VERSION)" >> $(VERSION_FILE
); \
300 echo
-n
$(shell $(CONFIG_SHELL
) $(TOPDIR
)/tools
/setlocalversion \
301 $(TOPDIR
)) >> $(VERSION_FILE
); \
302 echo
"\"" >> $(VERSION_FILE
)
305 $(MAKE
) -C tools
/gdb
all || exit
1
308 $(MAKE
) -C tools
/updater
all || exit
1
311 $(MAKE
) -C tools
/env
all || exit
1
314 for
dir in
$(SUBDIRS
) ; do
$(MAKE
) -C
$$dir _depend
; done
317 ctags
-w
-o
$(OBJTREE
)/ctags
`find $(SUBDIRS) include \
318 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
319 fs/cramfs fs/fat fs/fdos fs/jffs2 \
320 net disk rtc dtt drivers drivers/sk98lin common \
321 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
324 etags
-a
-o
$(OBJTREE
)/etags
`find $(SUBDIRS) include \
325 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
326 fs/cramfs fs/fat fs/fdos fs/jffs2 \
327 net disk rtc dtt drivers drivers/sk98lin common \
328 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
330 $(obj
)System.map
: $(obj
)u-boot
332 grep
-v
'\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
333 sort > $(obj
)System.map
335 #########################################################################
337 all $(obj
)u-boot.hex
$(obj
)u-boot.srec
$(obj
)u-boot.bin \
338 $(obj
)u-boot.img
$(obj
)u-boot.dis
$(obj
)u-boot \
339 $(SUBDIRS
) version gdbtools updater env depend \
340 dep
tags ctags etags
$(obj
)System.map
:
341 @echo
"System not configured - see README" >&2
347 git log
--no-merges U-Boot-1_1_5.. | \
348 unexpand
-a | sed
-e
's/\s\s*$$//' > $@
350 #########################################################################
353 @
rm -f
$(obj
)include/config.h
$(obj
)include/config.mk \
354 $(obj
)board
/*/config.tmp
$(obj
)board
/*/*/config.tmp
356 #========================================================================
358 #========================================================================
360 #########################################################################
362 #########################################################################
364 canmb_config
: unconfig
365 @
$(MKCONFIG
) -a canmb ppc mpc5xxx canmb
367 cmi_mpc5xx_config
: unconfig
368 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc5xx cmi
370 PATI_config
: unconfig
371 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc5xx pati mpl
373 #########################################################################
375 #########################################################################
378 @
$(MKCONFIG
) -a aev ppc mpc5xxx tqm5200
380 BC3450_config
: unconfig
381 @
$(MKCONFIG
) -a BC3450 ppc mpc5xxx bc3450
383 cpci5200_config
: unconfig
384 @
$(MKCONFIG
) -a cpci5200 ppc mpc5xxx cpci5200 esd
386 hmi1001_config
: unconfig
387 @
$(MKCONFIG
) hmi1001 ppc mpc5xxx hmi1001
390 Lite5200_LOWBOOT_config \
391 Lite5200_LOWBOOT08_config \
392 icecube_5200_config \
393 icecube_5200_LOWBOOT_config \
394 icecube_5200_LOWBOOT08_config \
395 icecube_5200_DDR_config \
396 icecube_5200_DDR_LOWBOOT_config \
397 icecube_5200_DDR_LOWBOOT08_config \
398 icecube_5100_config
: unconfig
399 @mkdir
-p
$(obj
)include
400 @mkdir
-p
$(obj
)board
/icecube
401 @
>$(obj
)include/config.h
402 @
[ -z
"$(findstring LOWBOOT_,$@)" ] || \
403 { if
[ "$(findstring DDR,$@)" ] ; \
404 then echo
"TEXT_BASE = 0xFF800000" >$(obj
)board
/icecube
/config.tmp
; \
405 else echo
"TEXT_BASE = 0xFF000000" >$(obj
)board
/icecube
/config.tmp
; \
407 echo
"... with LOWBOOT configuration" ; \
409 @
[ -z
"$(findstring LOWBOOT08,$@)" ] || \
410 { echo
"TEXT_BASE = 0xFF800000" >$(obj
)board
/icecube
/config.tmp
; \
411 echo
"... with 8 MB flash only" ; \
412 echo
"... with LOWBOOT configuration" ; \
414 @
[ -z
"$(findstring DDR,$@)" ] || \
415 { echo
"#define CONFIG_MPC5200_DDR" >>$(obj
)include/config.h
; \
416 echo
"... DDR memory revision" ; \
418 @
[ -z
"$(findstring 5200,$@)" ] || \
419 { echo
"#define CONFIG_MPC5200" >>$(obj
)include/config.h
; \
420 echo
"... with MPC5200 processor" ; \
422 @
[ -z
"$(findstring 5100,$@)" ] || \
423 { echo
"#define CONFIG_MGT5100" >>$(obj
)include/config.h
; \
424 echo
"... with MGT5100 processor" ; \
426 @
$(MKCONFIG
) -a IceCube ppc mpc5xxx icecube
428 jupiter_config
: unconfig
429 @
$(MKCONFIG
) jupiter ppc mpc5xxx jupiter
431 v38b_config
: unconfig
432 @.
/mkconfig
-a v38b ppc mpc5xxx v38b
434 inka4x0_config
: unconfig
435 @
$(MKCONFIG
) inka4x0 ppc mpc5xxx inka4x0
438 lite5200b_PM_config \
439 lite5200b_LOWBOOT_config
: unconfig
440 @mkdir
-p
$(obj
)include
441 @mkdir
-p
$(obj
)board
/icecube
442 @
>$(obj
)include/config.h
443 @ echo
"#define CONFIG_MPC5200_DDR" >>$(obj
)include/config.h
444 @ echo
"... DDR memory revision"
445 @ echo
"#define CONFIG_MPC5200" >>$(obj
)include/config.h
446 @ echo
"#define CONFIG_LITE5200B" >>$(obj
)include/config.h
447 @
[ -z
"$(findstring _PM_,$@)" ] || \
448 { echo
"#define CONFIG_LITE5200B_PM" >>$(obj
)include/config.h
; \
449 echo
"... with power management (low-power mode) support" ; \
451 @
[ -z
"$(findstring LOWBOOT_,$@)" ] || \
452 { echo
"TEXT_BASE = 0xFF000000" >$(obj
)board
/icecube
/config.tmp
; \
453 echo
"... with LOWBOOT configuration" ; \
455 @ echo
"... with MPC5200B processor"
456 @
$(MKCONFIG
) -a IceCube ppc mpc5xxx icecube
459 mcc200_SDRAM_config \
460 mcc200_highboot_config \
461 mcc200_COM12_config \
462 mcc200_COM12_SDRAM_config \
463 mcc200_COM12_highboot_config \
464 mcc200_COM12_highboot_SDRAM_config \
465 mcc200_highboot_SDRAM_config \
468 prs200_highboot_config \
469 prs200_highboot_DDR_config
: unconfig
470 @mkdir
-p
$(obj
)include
471 @mkdir
-p
$(obj
)board
/mcc200
472 @
>$(obj
)include/config.h
473 @
[ -n
"$(findstring highboot,$@)" ] || \
474 { echo
"... with lowboot configuration" ; \
476 @
[ -z
"$(findstring highboot,$@)" ] || \
477 { echo
"TEXT_BASE = 0xFFF00000" >$(obj
)board
/mcc200
/config.tmp
; \
478 echo
"... with highboot configuration" ; \
480 @
[ -n
"$(findstring _SDRAM,$@)" ] || \
481 { if
[ -n
"$(findstring mcc200,$@)" ]; \
483 echo
"... with DDR" ; \
485 if
[ -n
"$(findstring _DDR,$@)" ];\
487 echo
"... with DDR" ; \
489 echo
"#define CONFIG_MCC200_SDRAM" >>$(obj
)include/config.h
;\
490 echo
"... with SDRAM" ; \
494 @
[ -z
"$(findstring _SDRAM,$@)" ] || \
495 { echo
"#define CONFIG_MCC200_SDRAM" >>$(obj
)include/config.h
; \
496 echo
"... with SDRAM" ; \
498 @
[ -z
"$(findstring COM12,$@)" ] || \
499 { echo
"#define CONFIG_CONSOLE_COM12" >>$(obj
)include/config.h
; \
500 echo
"... with console on COM12" ; \
502 @
[ -z
"$(findstring prs200,$@)" ] || \
503 { echo
"#define CONFIG_PRS200" >>$(obj
)include/config.h
;\
505 @
$(MKCONFIG
) -n
$@
-a mcc200 ppc mpc5xxx mcc200
507 mecp5200_config
: unconfig
508 @
$(MKCONFIG
) -a mecp5200 ppc mpc5xxx mecp5200 esd
511 @
$(MKCONFIG
) o2dnt ppc mpc5xxx o2dnt
513 pf5200_config
: unconfig
514 @
$(MKCONFIG
) pf5200 ppc mpc5xxx pf5200 esd
518 PM520_ROMBOOT_config \
519 PM520_ROMBOOT_DDR_config
: unconfig
520 @mkdir
-p
$(obj
)include
521 @
>$(obj
)include/config.h
522 @
[ -z
"$(findstring DDR,$@)" ] || \
523 { echo
"#define CONFIG_MPC5200_DDR" >>$(obj
)include/config.h
; \
524 echo
"... DDR memory revision" ; \
526 @
[ -z
"$(findstring ROMBOOT,$@)" ] || \
527 { echo
"#define CONFIG_BOOT_ROM" >>$(obj
)include/config.h
; \
528 echo
"... booting from 8-bit flash" ; \
530 @
$(MKCONFIG
) -a PM520 ppc mpc5xxx pm520
532 smmaco4_config
: unconfig
533 @
$(MKCONFIG
) -a smmaco4 ppc mpc5xxx tqm5200
535 cm1_qp1_config
: unconfig
537 @
[ -z
"$(findstring cm1_qp1,$@)" ] || \
538 { echo
"... with 64 MByte SDRAM" ; \
539 echo
"... with 32 MByte Flash" ; \
541 @.
/mkconfig
-a cm1_qp1 ppc mpc5xxx cm1_qp1
543 spieval_config
: unconfig
544 @
$(MKCONFIG
) -a spieval ppc mpc5xxx tqm5200
547 TB5200_config
: unconfig
548 @mkdir
-p
$(obj
)include
549 @
[ -z
"$(findstring _B,$@)" ] || \
550 { echo
"#define CONFIG_TQM5200_B" >>$(obj
)include/config.h
; \
551 echo
"... with MPC5200B processor" ; \
553 @
$(MKCONFIG
) -n
$@
-a TB5200 ppc mpc5xxx tqm5200
557 TOP5200_config
: unconfig
558 @mkdir
-p
$(obj
)include
559 @ echo
"#define CONFIG_$(@:_config=) 1" >$(obj
)include/config.h
560 @
$(MKCONFIG
) -n
$@
-a TOP5200 ppc mpc5xxx top5200 emk
564 Total5200_lowboot_config \
565 Total5200_Rev2_config \
566 Total5200_Rev2_lowboot_config
: unconfig
567 @mkdir
-p
$(obj
)include
568 @mkdir
-p
$(obj
)board
/total5200
569 @
>$(obj
)include/config.h
570 @
[ -z
"$(findstring 5100,$@)" ] || \
571 { echo
"#define CONFIG_MGT5100" >>$(obj
)include/config.h
; \
572 echo
"... with MGT5100 processor" ; \
574 @
[ -z
"$(findstring 5200,$@)" ] || \
575 { echo
"#define CONFIG_MPC5200" >>$(obj
)include/config.h
; \
576 echo
"... with MPC5200 processor" ; \
578 @
[ -n
"$(findstring Rev,$@)" ] || \
579 { echo
"#define CONFIG_TOTAL5200_REV 1" >>$(obj
)include/config.h
; \
580 echo
"... revision 1 board" ; \
582 @
[ -z
"$(findstring Rev2_,$@)" ] || \
583 { echo
"#define CONFIG_TOTAL5200_REV 2" >>$(obj
)include/config.h
; \
584 echo
"... revision 2 board" ; \
586 @
[ -z
"$(findstring lowboot_,$@)" ] || \
587 { echo
"TEXT_BASE = 0xFE000000" >$(obj
)board
/total5200
/config.tmp
; \
588 echo
"... with lowboot configuration" ; \
590 @
$(MKCONFIG
) -a Total5200 ppc mpc5xxx total5200
593 cam5200_niosflash_config \
597 TQM5200S_HIGHBOOT_config \
599 TQM5200_B_HIGHBOOT_config \
601 TQM5200_STK100_config
: unconfig
602 @mkdir
-p
$(obj
)include
603 @mkdir
-p
$(obj
)board
/tqm5200
604 @
>$(obj
)include/config.h
605 @
[ -z
"$(findstring cam5200,$@)" ] || \
606 { echo
"#define CONFIG_CAM5200" >>$(obj
)include/config.h
; \
607 echo
"#define CONFIG_TQM5200S" >>$(obj
)include/config.h
; \
608 echo
"#define CONFIG_TQM5200_B" >>$(obj
)include/config.h
; \
609 echo
"... TQM5200S on Cam5200" ; \
611 @
[ -z
"$(findstring niosflash,$@)" ] || \
612 { echo
"#define CONFIG_CAM5200_NIOSFLASH" >>$(obj
)include/config.h
; \
613 echo
"... with NIOS flash driver" ; \
615 @
[ -z
"$(findstring fo300,$@)" ] || \
616 { echo
"#define CONFIG_FO300" >>$(obj
)include/config.h
; \
617 echo
"... TQM5200 on FO300" ; \
619 @
[ -z
"$(findstring MiniFAP,$@)" ] || \
620 { echo
"#define CONFIG_MINIFAP" >>$(obj
)include/config.h
; \
621 echo
"... TQM5200_AC on MiniFAP" ; \
623 @
[ -z
"$(findstring STK100,$@)" ] || \
624 { echo
"#define CONFIG_STK52XX_REV100" >>$(obj
)include/config.h
; \
625 echo
"... on a STK52XX.100 base board" ; \
627 @
[ -z
"$(findstring TQM5200_B,$@)" ] || \
628 { echo
"#define CONFIG_TQM5200_B" >>$(obj
)include/config.h
; \
630 @
[ -z
"$(findstring TQM5200S,$@)" ] || \
631 { echo
"#define CONFIG_TQM5200S" >>$(obj
)include/config.h
; \
632 echo
"#define CONFIG_TQM5200_B" >>$(obj
)include/config.h
; \
634 @
[ -z
"$(findstring HIGHBOOT,$@)" ] || \
635 { echo
"TEXT_BASE = 0xFFF00000" >$(obj
)board
/tqm5200
/config.tmp
; \
637 @
$(MKCONFIG
) -n
$@
-a TQM5200 ppc mpc5xxx tqm5200
638 uc101_config
: unconfig
639 @
$(MKCONFIG
) uc101 ppc mpc5xxx uc101
640 motionpro_config
: unconfig
641 @
$(MKCONFIG
) motionpro ppc mpc5xxx motionpro
644 #########################################################################
646 #########################################################################
652 @mkdir
-p
$(obj
)include
653 $(if
$(findstring AdderII
,$@
), \
654 @echo
"#define CONFIG_MPC852T" > $(obj
)include/config.h
)
655 @
$(MKCONFIG
) -a Adder ppc mpc8xx adder
662 FADS860T_config
: unconfig
663 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx fads
665 AMX860_config
: unconfig
666 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx amx860 westel
668 c2mon_config
: unconfig
669 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx c2mon
672 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx CCM siemens
674 cogent_mpc8xx_config
: unconfig
675 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx cogent
677 ELPT860_config
: unconfig
678 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx elpt860 LEOX
680 EP88x_config
: unconfig
681 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx ep88x
683 ESTEEM192E_config
: unconfig
684 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx esteem192e
686 ETX094_config
: unconfig
687 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx etx094
689 FLAGADM_config
: unconfig
690 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx flagadm
692 xtract_GEN860T
= $(subst _SC
,,$(subst _config
,,$1))
695 GEN860T_config
: unconfig
696 @mkdir
-p
$(obj
)include
697 @
>$(obj
)include/config.h
698 @
[ -z
"$(findstring _SC,$@)" ] || \
699 { echo
"#define CONFIG_SC" >>$(obj
)include/config.h
; \
700 echo
"With reduced H/W feature set (SC)..." ; \
702 @
$(MKCONFIG
) -a
$(call xtract_GEN860T
,$@
) ppc mpc8xx gen860t
704 GENIETV_config
: unconfig
705 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx genietv
708 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx gth
710 hermes_config
: unconfig
711 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx hermes
713 HMI10_config
: unconfig
714 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx tqm8xx
716 IAD210_config
: unconfig
717 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx IAD210 siemens
719 xtract_ICU862
= $(subst _100MHz
,,$(subst _config
,,$1))
721 ICU862_100MHz_config \
722 ICU862_config
: unconfig
723 @mkdir
-p
$(obj
)include
724 @
>$(obj
)include/config.h
725 @
[ -z
"$(findstring _100MHz,$@)" ] || \
726 { echo
"#define CONFIG_100MHz" >>$(obj
)include/config.h
; \
727 echo
"... with 100MHz system clock" ; \
729 @
$(MKCONFIG
) -a
$(call xtract_ICU862
,$@
) ppc mpc8xx icu862
731 IP860_config
: unconfig
732 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx ip860
736 IVML24_config
: unconfig
737 @mkdir
-p
$(obj
)include
738 @
>$(obj
)include/config.h
739 @
[ -z
"$(findstring IVML24_config,$@)" ] || \
740 { echo
"#define CONFIG_IVML24_16M" >>$(obj
)include/config.h
; \
742 @
[ -z
"$(findstring IVML24_128_config,$@)" ] || \
743 { echo
"#define CONFIG_IVML24_32M" >>$(obj
)include/config.h
; \
745 @
[ -z
"$(findstring IVML24_256_config,$@)" ] || \
746 { echo
"#define CONFIG_IVML24_64M" >>$(obj
)include/config.h
; \
748 @
$(MKCONFIG
) -a IVML24 ppc mpc8xx ivm
752 IVMS8_config
: unconfig
753 @mkdir
-p
$(obj
)include
754 @
>$(obj
)include/config.h
755 @
[ -z
"$(findstring IVMS8_config,$@)" ] || \
756 { echo
"#define CONFIG_IVMS8_16M" >>$(obj
)include/config.h
; \
758 @
[ -z
"$(findstring IVMS8_128_config,$@)" ] || \
759 { echo
"#define CONFIG_IVMS8_32M" >>$(obj
)include/config.h
; \
761 @
[ -z
"$(findstring IVMS8_256_config,$@)" ] || \
762 { echo
"#define CONFIG_IVMS8_64M" >>$(obj
)include/config.h
; \
764 @
$(MKCONFIG
) -a IVMS8 ppc mpc8xx ivm
766 KUP4K_config
: unconfig
767 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx kup4k kup
769 KUP4X_config
: unconfig
770 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx kup4x kup
772 LANTEC_config
: unconfig
773 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx lantec
775 lwmon_config
: unconfig
776 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx lwmon
779 MBX860T_config
: unconfig
780 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx mbx8xx
782 MHPC_config
: unconfig
783 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx mhpc eltec
785 MVS1_config
: unconfig
786 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx mvs1
788 xtract_NETVIA
= $(subst _V2
,,$(subst _config
,,$1))
791 NETVIA_config
: unconfig
792 @mkdir
-p
$(obj
)include
793 @
>$(obj
)include/config.h
794 @
[ -z
"$(findstring NETVIA_config,$@)" ] || \
795 { echo
"#define CONFIG_NETVIA_VERSION 1" >>$(obj
)include/config.h
; \
796 echo
"... Version 1" ; \
798 @
[ -z
"$(findstring NETVIA_V2_config,$@)" ] || \
799 { echo
"#define CONFIG_NETVIA_VERSION 2" >>$(obj
)include/config.h
; \
800 echo
"... Version 2" ; \
802 @
$(MKCONFIG
) -a
$(call xtract_NETVIA
,$@
) ppc mpc8xx netvia
804 xtract_NETPHONE
= $(subst _V2
,,$(subst _config
,,$1))
807 NETPHONE_config
: unconfig
808 @mkdir
-p
$(obj
)include
809 @
>$(obj
)include/config.h
810 @
[ -z
"$(findstring NETPHONE_config,$@)" ] || \
811 { echo
"#define CONFIG_NETPHONE_VERSION 1" >>$(obj
)include/config.h
; \
813 @
[ -z
"$(findstring NETPHONE_V2_config,$@)" ] || \
814 { echo
"#define CONFIG_NETPHONE_VERSION 2" >>$(obj
)include/config.h
; \
816 @
$(MKCONFIG
) -a
$(call xtract_NETPHONE
,$@
) ppc mpc8xx netphone
818 xtract_NETTA
= $(subst _SWAPHOOK
,,$(subst _6412
,,$(subst _ISDN
,,$(subst _config
,,$1))))
820 NETTA_ISDN_6412_SWAPHOOK_config \
821 NETTA_ISDN_SWAPHOOK_config \
822 NETTA_6412_SWAPHOOK_config \
823 NETTA_SWAPHOOK_config \
824 NETTA_ISDN_6412_config \
827 NETTA_config
: unconfig
828 @mkdir
-p
$(obj
)include
829 @
>$(obj
)include/config.h
830 @
[ -z
"$(findstring ISDN_,$@)" ] || \
831 { echo
"#define CONFIG_NETTA_ISDN 1" >>$(obj
)include/config.h
; \
833 @
[ -n
"$(findstring ISDN_,$@)" ] || \
834 { echo
"#undef CONFIG_NETTA_ISDN" >>$(obj
)include/config.h
; \
836 @
[ -z
"$(findstring 6412_,$@)" ] || \
837 { echo
"#define CONFIG_NETTA_6412 1" >>$(obj
)include/config.h
; \
839 @
[ -n
"$(findstring 6412_,$@)" ] || \
840 { echo
"#undef CONFIG_NETTA_6412" >>$(obj
)include/config.h
; \
842 @
[ -z
"$(findstring SWAPHOOK_,$@)" ] || \
843 { echo
"#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj
)include/config.h
; \
845 @
[ -n
"$(findstring SWAPHOOK_,$@)" ] || \
846 { echo
"#undef CONFIG_NETTA_SWAPHOOK" >>$(obj
)include/config.h
; \
848 @
$(MKCONFIG
) -a
$(call xtract_NETTA
,$@
) ppc mpc8xx netta
850 xtract_NETTA2
= $(subst _V2
,,$(subst _config
,,$1))
853 NETTA2_config
: unconfig
854 @mkdir
-p
$(obj
)include
855 @
>$(obj
)include/config.h
856 @
[ -z
"$(findstring NETTA2_config,$@)" ] || \
857 { echo
"#define CONFIG_NETTA2_VERSION 1" >>$(obj
)include/config.h
; \
859 @
[ -z
"$(findstring NETTA2_V2_config,$@)" ] || \
860 { echo
"#define CONFIG_NETTA2_VERSION 2" >>$(obj
)include/config.h
; \
862 @
$(MKCONFIG
) -a
$(call xtract_NETTA2
,$@
) ppc mpc8xx netta2
866 CP850_config
: unconfig
867 @mkdir
-p
$(obj
)include
868 @
>$(obj
)include/config.h
869 @
[ -z
"$(findstring CP850,$@)" ] || \
870 { echo
"#define CONFIG_CP850 1" >>$(obj
)include/config.h
; \
871 echo
"#define CONFIG_IDS852_REV2 1" >>$(obj
)include/config.h
; \
873 @
[ -z
"$(findstring Rev1,$@)" ] || \
874 { echo
"#define CONFIG_IDS852_REV1 1" >>$(obj
)include/config.h
; \
876 @
[ -z
"$(findstring Rev2,$@)" ] || \
877 { echo
"#define CONFIG_IDS852_REV2 1" >>$(obj
)include/config.h
; \
879 @
$(MKCONFIG
) -a NC650 ppc mpc8xx nc650
881 NX823_config
: unconfig
882 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx nx823
884 pcu_e_config
: unconfig
885 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx pcu_e siemens
887 QS850_config
: unconfig
888 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx qs850 snmc
890 QS823_config
: unconfig
891 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx qs850 snmc
893 QS860T_config
: unconfig
894 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx qs860t snmc
896 quantum_config
: unconfig
897 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx quantum
899 R360MPI_config
: unconfig
900 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx r360mpi
902 RBC823_config
: unconfig
903 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx rbc823
905 RPXClassic_config
: unconfig
906 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx RPXClassic
908 RPXlite_config
: unconfig
909 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx RPXlite
911 RPXlite_DW_64_config \
912 RPXlite_DW_LCD_config \
913 RPXlite_DW_64_LCD_config \
914 RPXlite_DW_NVRAM_config \
915 RPXlite_DW_NVRAM_64_config \
916 RPXlite_DW_NVRAM_LCD_config \
917 RPXlite_DW_NVRAM_64_LCD_config \
918 RPXlite_DW_config
: unconfig
919 @mkdir
-p
$(obj
)include
920 @
>$(obj
)include/config.h
921 @
[ -z
"$(findstring _64,$@)" ] || \
922 { echo
"#define RPXlite_64MHz" >>$(obj
)include/config.h
; \
923 echo
"... with 64MHz system clock ..."; \
925 @
[ -z
"$(findstring _LCD,$@)" ] || \
926 { echo
"#define CONFIG_LCD" >>$(obj
)include/config.h
; \
927 echo
"#define CONFIG_NEC_NL6448BC20" >>$(obj
)include/config.h
; \
928 echo
"... with LCD display ..."; \
930 @
[ -z
"$(findstring _NVRAM,$@)" ] || \
931 { echo
"#define CFG_ENV_IS_IN_NVRAM" >>$(obj
)include/config.h
; \
932 echo
"... with ENV in NVRAM ..."; \
934 @
$(MKCONFIG
) -a RPXlite_DW ppc mpc8xx RPXlite_dw
937 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx rmu
939 RRvision_config
: unconfig
940 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx RRvision
942 RRvision_LCD_config
: unconfig
943 @mkdir
-p
$(obj
)include
944 @echo
"#define CONFIG_LCD" >$(obj
)include/config.h
945 @echo
"#define CONFIG_SHARP_LQ104V7DS01" >>$(obj
)include/config.h
946 @
$(MKCONFIG
) -a RRvision ppc mpc8xx RRvision
948 SM850_config
: unconfig
949 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx tqm8xx
952 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx spc1920
954 SPD823TS_config
: unconfig
955 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx spd8xx
957 stxxtc_config
: unconfig
958 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx stxxtc
960 svm_sc8xx_config
: unconfig
961 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx svm_sc8xx
963 SXNI855T_config
: unconfig
964 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx sixnet
966 # EMK MPC8xx based modules
967 TOP860_config
: unconfig
968 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx top860 emk
970 # Play some tricks for configuration selection
971 # Only 855 and 860 boards may come with FEC
972 # and only 823 boards may have LCD support
973 xtract_8xx
= $(subst _LCD
,,$(subst _config
,,$1))
991 virtlab2_config
: unconfig
992 @mkdir
-p
$(obj
)include
993 @
>$(obj
)include/config.h
994 @
[ -z
"$(findstring _LCD,$@)" ] || \
995 { echo
"#define CONFIG_LCD" >>$(obj
)include/config.h
; \
996 echo
"#define CONFIG_NEC_NL6448BC20" >>$(obj
)include/config.h
; \
997 echo
"... with LCD display" ; \
999 @
$(MKCONFIG
) -a
$(call xtract_8xx
,$@
) ppc mpc8xx tqm8xx
1001 TTTech_config
: unconfig
1002 @mkdir
-p
$(obj
)include
1003 @echo
"#define CONFIG_LCD" >$(obj
)include/config.h
1004 @echo
"#define CONFIG_SHARP_LQ104V7DS01" >>$(obj
)include/config.h
1005 @
$(MKCONFIG
) -a TQM823L ppc mpc8xx tqm8xx
1007 uc100_config
: unconfig
1008 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx uc100
1010 v37_config
: unconfig
1011 @mkdir
-p
$(obj
)include
1012 @echo
"#define CONFIG_LCD" >$(obj
)include/config.h
1013 @echo
"#define CONFIG_SHARP_LQ084V1DG21" >>$(obj
)include/config.h
1014 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8xx v37
1016 wtk_config
: unconfig
1017 @mkdir
-p
$(obj
)include
1018 @echo
"#define CONFIG_LCD" >$(obj
)include/config.h
1019 @echo
"#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj
)include/config.h
1020 @
$(MKCONFIG
) -a TQM823L ppc mpc8xx tqm8xx
1022 #########################################################################
1024 #########################################################################
1025 xtract_4xx
= $(subst _25
,,$(subst _33
,,$(subst _BA
,,$(subst _ME
,,$(subst _HI
,,$(subst _config
,,$1))))))
1027 acadia_config
: unconfig
1028 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx acadia amcc
1030 acadia_nand_config
: unconfig
1031 @mkdir
-p
$(obj
)include
1032 @mkdir
-p
$(obj
)nand_spl
1033 @mkdir
-p
$(obj
)board
/amcc
/acadia
1034 @echo
"#define CONFIG_NAND_U_BOOT" > $(obj
)include/config.h
1035 @
$(MKCONFIG
) -n
$@
-a acadia ppc ppc4xx acadia amcc
1036 @echo
"TEXT_BASE = 0x01000000" > $(obj
)board
/amcc
/acadia
/config.tmp
1037 @echo
"CONFIG_NAND_U_BOOT = y" >> $(obj
)include/config.mk
1039 ADCIOP_config
: unconfig
1040 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx adciop esd
1042 alpr_config
: unconfig
1043 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx alpr prodrive
1045 AP1000_config
:unconfig
1046 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx ap1000 amirix
1048 APC405_config
: unconfig
1049 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx apc405 esd
1051 AR405_config
: unconfig
1052 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx ar405 esd
1054 ASH405_config
: unconfig
1055 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx ash405 esd
1057 bamboo_config
: unconfig
1058 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx bamboo amcc
1060 bamboo_nand_config
: unconfig
1061 @mkdir
-p
$(obj
)include
1062 @mkdir
-p
$(obj
)nand_spl
1063 @mkdir
-p
$(obj
)board
/amcc
/bamboo
1064 @echo
"#define CONFIG_NAND_U_BOOT" > $(obj
)include/config.h
1065 @
$(MKCONFIG
) -n
$@
-a bamboo ppc ppc4xx bamboo amcc
1066 @echo
"TEXT_BASE = 0x01000000" > $(obj
)board
/amcc
/bamboo
/config.tmp
1067 @echo
"CONFIG_NAND_U_BOOT = y" >> $(obj
)include/config.mk
1069 bubinga_config
: unconfig
1070 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx bubinga amcc
1072 CANBT_config
: unconfig
1073 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx canbt esd
1076 CATcenter_25_config \
1077 CATcenter_33_config
: unconfig
1078 @mkdir
-p
$(obj
)include
1079 @ echo
"/* CATcenter uses PPChameleon Model ME */" > $(obj
)include/config.h
1080 @ echo
"#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj
)include/config.h
1081 @
[ -z
"$(findstring _25,$@)" ] || \
1082 { echo
"#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj
)include/config.h
; \
1083 echo
"SysClk = 25MHz" ; \
1085 @
[ -z
"$(findstring _33,$@)" ] || \
1086 { echo
"#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj
)include/config.h
; \
1087 echo
"SysClk = 33MHz" ; \
1089 @
$(MKCONFIG
) -a
$(call xtract_4xx
,$@
) ppc ppc4xx PPChameleonEVB dave
1091 CPCI2DP_config
: unconfig
1092 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx cpci2dp esd
1097 CPCI405AB_config
: unconfig
1098 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx cpci405 esd
1099 @echo
"BOARD_REVISION = $(@:_config=)" >> $(obj
)include/config.mk
1101 CPCI440_config
: unconfig
1102 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx cpci440 esd
1104 CPCIISER4_config
: unconfig
1105 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx cpciiser4 esd
1107 CRAYL1_config
: unconfig
1108 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx L1 cray
1110 csb272_config
: unconfig
1111 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx csb272
1113 csb472_config
: unconfig
1114 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx csb472
1116 DASA_SIM_config
: unconfig
1117 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx dasa_sim esd
1119 DP405_config
: unconfig
1120 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx dp405 esd
1122 DU405_config
: unconfig
1123 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx du405 esd
1125 ebony_config
: unconfig
1126 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx ebony amcc
1128 ERIC_config
: unconfig
1129 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx eric
1131 EXBITGEN_config
: unconfig
1132 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx exbitgen
1134 G2000_config
: unconfig
1135 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx g2000
1137 HH405_config
: unconfig
1138 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx hh405 esd
1140 HUB405_config
: unconfig
1141 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx hub405 esd
1143 JSE_config
: unconfig
1144 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx jse
1146 KAREF_config
: unconfig
1147 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx karef sandburst
1149 katmai_config
: unconfig
1150 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx katmai amcc
1152 luan_config
: unconfig
1153 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx luan amcc
1155 lwmon5_config
: unconfig
1156 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx lwmon5
1158 METROBOX_config
: unconfig
1159 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx metrobox sandburst
1161 MIP405_config
: unconfig
1162 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx mip405 mpl
1164 MIP405T_config
: unconfig
1165 @mkdir
-p
$(obj
)include
1166 @echo
"#define CONFIG_MIP405T" >$(obj
)include/config.h
1167 @echo
"Enable subset config for MIP405T"
1168 @
$(MKCONFIG
) -a MIP405 ppc ppc4xx mip405 mpl
1170 ML2_config
: unconfig
1171 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx ml2
1173 ml300_config
: unconfig
1174 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx ml300 xilinx
1176 ocotea_config
: unconfig
1177 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx ocotea amcc
1180 ORSG_config
: unconfig
1181 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx ocrtc esd
1183 p3p440_config
: unconfig
1184 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx p3p440 prodrive
1186 PCI405_config
: unconfig
1187 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx pci405 esd
1189 pcs440ep_config
: unconfig
1190 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx pcs440ep
1192 PIP405_config
: unconfig
1193 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx pip405 mpl
1195 PLU405_config
: unconfig
1196 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx plu405 esd
1198 PMC405_config
: unconfig
1199 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx pmc405 esd
1201 PPChameleonEVB_config \
1202 PPChameleonEVB_BA_25_config \
1203 PPChameleonEVB_ME_25_config \
1204 PPChameleonEVB_HI_25_config \
1205 PPChameleonEVB_BA_33_config \
1206 PPChameleonEVB_ME_33_config \
1207 PPChameleonEVB_HI_33_config
: unconfig
1208 @mkdir
-p
$(obj
)include
1209 @
>$(obj
)include/config.h
1210 @
[ -z
"$(findstring EVB_BA,$@)" ] || \
1211 { echo
"#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj
)include/config.h
; \
1212 echo
"... BASIC model" ; \
1214 @
[ -z
"$(findstring EVB_ME,$@)" ] || \
1215 { echo
"#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj
)include/config.h
; \
1216 echo
"... MEDIUM model" ; \
1218 @
[ -z
"$(findstring EVB_HI,$@)" ] || \
1219 { echo
"#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj
)include/config.h
; \
1220 echo
"... HIGH-END model" ; \
1222 @
[ -z
"$(findstring _25,$@)" ] || \
1223 { echo
"#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj
)include/config.h
; \
1224 echo
"SysClk = 25MHz" ; \
1226 @
[ -z
"$(findstring _33,$@)" ] || \
1227 { echo
"#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj
)include/config.h
; \
1228 echo
"SysClk = 33MHz" ; \
1230 @
$(MKCONFIG
) -a
$(call xtract_4xx
,$@
) ppc ppc4xx PPChameleonEVB dave
1232 sbc405_config
: unconfig
1233 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx sbc405
1236 rainier_config
: unconfig
1237 @mkdir
-p
$(obj
)include
1238 @echo
"#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1239 tr '[:lower:]' '[:upper:]')" >$(obj
)include/config.h
1240 @
$(MKCONFIG
) -n
$@
-a sequoia ppc ppc4xx sequoia amcc
1242 sequoia_nand_config \
1243 rainier_nand_config
: unconfig
1244 @mkdir
-p
$(obj
)include
1245 @mkdir
-p
$(obj
)nand_spl
1246 @mkdir
-p
$(obj
)board
/amcc
/sequoia
1247 @echo
"#define CONFIG_NAND_U_BOOT" > $(obj
)include/config.h
1248 @echo
"#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1249 tr '[:lower:]' '[:upper:]')" >> $(obj
)include/config.h
1250 @
$(MKCONFIG
) -n
$@
-a sequoia ppc ppc4xx sequoia amcc
1251 @echo
"TEXT_BASE = 0x01000000" > $(obj
)board
/amcc
/sequoia
/config.tmp
1252 @echo
"CONFIG_NAND_U_BOOT = y" >> $(obj
)include/config.mk
1255 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx sc3
1257 taishan_config
: unconfig
1258 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx taishan amcc
1260 VOH405_config
: unconfig
1261 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx voh405 esd
1263 VOM405_config
: unconfig
1264 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx vom405 esd
1266 CMS700_config
: unconfig
1267 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx cms700 esd
1270 W7OLMG_config
: unconfig
1271 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx w7o
1273 # Walnut & Sycamore images are identical (recognized via PVR)
1275 sycamore_config
: unconfig
1276 @
$(MKCONFIG
) -n
$@
-a walnut ppc ppc4xx walnut amcc
1278 WUH405_config
: unconfig
1279 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx wuh405 esd
1281 XPEDITE1K_config
: unconfig
1282 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx xpedite1k
1285 yellowstone_config
: unconfig
1286 @mkdir
-p
$(obj
)include
1287 @echo
"#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1288 tr '[:lower:]' '[:upper:]')" >$(obj
)include/config.h
1289 @
$(MKCONFIG
) -n
$@
-a yosemite ppc ppc4xx yosemite amcc
1291 yucca_config
: unconfig
1292 @
$(MKCONFIG
) $(@
:_config
=) ppc ppc4xx yucca amcc
1294 #########################################################################
1296 #########################################################################
1299 Yukon8220_config
: unconfig
1300 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8220 alaska
1302 sorcery_config
: unconfig
1303 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8220 sorcery
1305 #########################################################################
1307 #########################################################################
1308 xtract_82xx
= $(subst _BIGFLASH
,,$(subst _ROMBOOT
,,$(subst _L2
,,$(subst _266MHz
,,$(subst _300MHz
,,$(subst _config
,,$1))))))
1310 A3000_config
: unconfig
1311 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x a3000
1313 barco_config
: unconfig
1314 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x barco
1316 BMW_config
: unconfig
1317 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x bmw
1320 CPC45_ROMBOOT_config
: unconfig
1321 @
$(MKCONFIG
) $(call xtract_82xx
,$@
) ppc mpc824x cpc45
1322 @cd
$(obj
)include ; \
1323 if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1324 echo
"CONFIG_BOOT_ROM = y" >> config.mk
; \
1325 echo
"... booting from 8-bit flash" ; \
1327 echo
"CONFIG_BOOT_ROM = n" >> config.mk
; \
1328 echo
"... booting from 64-bit flash" ; \
1330 echo
"export CONFIG_BOOT_ROM" >> config.mk
;
1332 CU824_config
: unconfig
1333 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x cu824
1335 debris_config
: unconfig
1336 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x debris etin
1338 eXalion_config
: unconfig
1339 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x eXalion
1341 HIDDEN_DRAGON_config
: unconfig
1342 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x hidden_dragon
1344 kvme080_config
: unconfig
1345 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x kvme080 etin
1347 MOUSSE_config
: unconfig
1348 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x mousse
1350 MUSENKI_config
: unconfig
1351 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x musenki
1353 MVBLUE_config
: unconfig
1354 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x mvblue
1356 OXC_config
: unconfig
1357 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x oxc
1359 PN62_config
: unconfig
1360 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x pn62
1362 Sandpoint8240_config
: unconfig
1363 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x sandpoint
1365 Sandpoint8245_config
: unconfig
1366 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x sandpoint
1368 sbc8240_config
: unconfig
1369 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x sbc8240
1371 SL8245_config
: unconfig
1372 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x sl8245
1374 utx8245_config
: unconfig
1375 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc824x utx8245
1377 #########################################################################
1379 #########################################################################
1381 atc_config
: unconfig
1382 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 atc
1384 cogent_mpc8260_config
: unconfig
1385 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 cogent
1388 CPU86_ROMBOOT_config
: unconfig
1389 @
$(MKCONFIG
) $(call xtract_82xx
,$@
) ppc mpc8260 cpu86
1390 @cd
$(obj
)include ; \
1391 if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1392 echo
"CONFIG_BOOT_ROM = y" >> config.mk
; \
1393 echo
"... booting from 8-bit flash" ; \
1395 echo
"CONFIG_BOOT_ROM = n" >> config.mk
; \
1396 echo
"... booting from 64-bit flash" ; \
1398 echo
"export CONFIG_BOOT_ROM" >> config.mk
;
1401 CPU87_ROMBOOT_config
: unconfig
1402 @
$(MKCONFIG
) $(call xtract_82xx
,$@
) ppc mpc8260 cpu87
1403 @cd
$(obj
)include ; \
1404 if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1405 echo
"CONFIG_BOOT_ROM = y" >> config.mk
; \
1406 echo
"... booting from 8-bit flash" ; \
1408 echo
"CONFIG_BOOT_ROM = n" >> config.mk
; \
1409 echo
"... booting from 64-bit flash" ; \
1411 echo
"export CONFIG_BOOT_ROM" >> config.mk
;
1414 ep8248E_config
: unconfig
1415 @
$(MKCONFIG
) ep8248 ppc mpc8260 ep8248
1417 ep8260_config
: unconfig
1418 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 ep8260
1420 ep82xxm_config
: unconfig
1421 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 ep82xxm
1423 gw8260_config
: unconfig
1424 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 gw8260
1426 hymod_config
: unconfig
1427 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 hymod
1429 IDS8247_config
: unconfig
1430 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 ids8247
1432 IPHASE4539_config
: unconfig
1433 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 iphase4539
1436 ISPAN_REVB_config
: unconfig
1437 @mkdir
-p
$(obj
)include
1438 @if
[ "$(findstring _REVB_,$@)" ] ; then \
1439 echo
"#define CFG_REV_B" > $(obj
)include/config.h
; \
1441 @
$(MKCONFIG
) -a ISPAN ppc mpc8260 ispan
1444 MPC8260ADS_lowboot_config \
1445 MPC8260ADS_33MHz_config \
1446 MPC8260ADS_33MHz_lowboot_config \
1447 MPC8260ADS_40MHz_config \
1448 MPC8260ADS_40MHz_lowboot_config \
1450 MPC8272ADS_lowboot_config \
1452 PQ2FADS_lowboot_config \
1454 PQ2FADS-VR_lowboot_config \
1456 PQ2FADS-ZU_lowboot_config \
1457 PQ2FADS-ZU_66MHz_config \
1458 PQ2FADS-ZU_66MHz_lowboot_config \
1460 @mkdir
-p
$(obj
)include
1461 @mkdir
-p
$(obj
)board
/mpc8260ads
1462 $(if
$(findstring PQ2FADS
,$@
), \
1463 @echo
"#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj
)include/config.h
, \
1464 @echo
"#define CONFIG_ADSTYPE CFG_"$(subst MPC
,,$(word 1,$(subst _
, ,$@
))) > $(obj
)include/config.h
)
1465 $(if
$(findstring MHz
,$@
), \
1466 @echo
"#define CONFIG_8260_CLKIN" $(subst MHz
,,$(word 2,$(subst _
, ,$@
)))"000000" >> $(obj
)include/config.h
, \
1467 $(if
$(findstring VR
,$@
), \
1468 @echo
"#define CONFIG_8260_CLKIN 66000000" >> $(obj
)include/config.h
))
1469 @
[ -z
"$(findstring lowboot_,$@)" ] || \
1470 { echo
"TEXT_BASE = 0xFF800000" >$(obj
)board
/mpc8260ads
/config.tmp
; \
1471 echo
"... with lowboot configuration" ; \
1473 @
$(MKCONFIG
) -a MPC8260ADS ppc mpc8260 mpc8260ads
1475 MPC8266ADS_config
: unconfig
1476 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 mpc8266ads
1478 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1480 PM825_ROMBOOT_config \
1481 PM825_BIGFLASH_config \
1482 PM825_ROMBOOT_BIGFLASH_config \
1484 PM826_ROMBOOT_config \
1485 PM826_BIGFLASH_config \
1486 PM826_ROMBOOT_BIGFLASH_config
: unconfig
1487 @mkdir
-p
$(obj
)include
1488 @mkdir
-p
$(obj
)board
/pm826
1489 @if
[ "$(findstring PM825_,$@)" ] ; then \
1490 echo
"#define CONFIG_PCI" >$(obj
)include/config.h
; \
1492 >$(obj
)include/config.h
; \
1494 @if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1495 echo
"... booting from 8-bit flash" ; \
1496 echo
"#define CONFIG_BOOT_ROM" >>$(obj
)include/config.h
; \
1497 echo
"TEXT_BASE = 0xFF800000" >$(obj
)board
/pm826
/config.tmp
; \
1498 if
[ "$(findstring _BIGFLASH_,$@)" ] ; then \
1499 echo
"... with 32 MB Flash" ; \
1500 echo
"#define CONFIG_FLASH_32MB" >>$(obj
)include/config.h
; \
1503 echo
"... booting from 64-bit flash" ; \
1504 if
[ "$(findstring _BIGFLASH_,$@)" ] ; then \
1505 echo
"... with 32 MB Flash" ; \
1506 echo
"#define CONFIG_FLASH_32MB" >>$(obj
)include/config.h
; \
1507 echo
"TEXT_BASE = 0x40000000" >$(obj
)board
/pm826
/config.tmp
; \
1509 echo
"TEXT_BASE = 0xFF000000" >$(obj
)board
/pm826
/config.tmp
; \
1512 @
$(MKCONFIG
) -a PM826 ppc mpc8260 pm826
1516 PM828_ROMBOOT_config \
1517 PM828_ROMBOOT_PCI_config
: unconfig
1518 @mkdir
-p
$(obj
)include
1519 @mkdir
-p
$(obj
)board
/pm826
1520 @if
[ "$(findstring _PCI_,$@)" ] ; then \
1521 echo
"#define CONFIG_PCI" >>$(obj
)include/config.h
; \
1522 echo
"... with PCI enabled" ; \
1524 >$(obj
)include/config.h
; \
1526 @if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1527 echo
"... booting from 8-bit flash" ; \
1528 echo
"#define CONFIG_BOOT_ROM" >>$(obj
)include/config.h
; \
1529 echo
"TEXT_BASE = 0xFF800000" >$(obj
)board
/pm826
/config.tmp
; \
1531 @
$(MKCONFIG
) -a PM828 ppc mpc8260 pm828
1533 ppmc8260_config
: unconfig
1534 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 ppmc8260
1536 Rattler8248_config \
1537 Rattler_config
: unconfig
1538 @mkdir
-p
$(obj
)include
1539 $(if
$(findstring 8248,$@
), \
1540 @echo
"#define CONFIG_MPC8248" > $(obj
)include/config.h
)
1541 @
$(MKCONFIG
) -a Rattler ppc mpc8260 rattler
1543 RPXsuper_config
: unconfig
1544 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 rpxsuper
1546 rsdproto_config
: unconfig
1547 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 rsdproto
1549 sacsng_config
: unconfig
1550 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 sacsng
1552 sbc8260_config
: unconfig
1553 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 sbc8260
1555 SCM_config
: unconfig
1556 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 SCM siemens
1568 TQM8265_AA_config
: unconfig
1569 @mkdir
-p
$(obj
)include
1571 TQM8255_AA_config
) CTYPE
=MPC8255
; CFREQ
=300; CACHE
=no
; BMODE
=8260;; \
1572 TQM8260_AA_config
) CTYPE
=MPC8260
; CFREQ
=200; CACHE
=no
; BMODE
=8260;; \
1573 TQM8260_AB_config
) CTYPE
=MPC8260
; CFREQ
=200; CACHE
=yes
; BMODE
=60x
;; \
1574 TQM8260_AC_config
) CTYPE
=MPC8260
; CFREQ
=200; CACHE
=yes
; BMODE
=60x
;; \
1575 TQM8260_AD_config
) CTYPE
=MPC8260
; CFREQ
=300; CACHE
=no
; BMODE
=60x
;; \
1576 TQM8260_AE_config
) CTYPE
=MPC8260
; CFREQ
=266; CACHE
=no
; BMODE
=8260;; \
1577 TQM8260_AF_config
) CTYPE
=MPC8260
; CFREQ
=300; CACHE
=no
; BMODE
=60x
;; \
1578 TQM8260_AG_config
) CTYPE
=MPC8260
; CFREQ
=300; CACHE
=no
; BMODE
=8260;; \
1579 TQM8260_AH_config
) CTYPE
=MPC8260
; CFREQ
=300; CACHE
=yes
; BMODE
=60x
;; \
1580 TQM8260_AI_config
) CTYPE
=MPC8260
; CFREQ
=300; CACHE
=no
; BMODE
=60x
;; \
1581 TQM8265_AA_config
) CTYPE
=MPC8265
; CFREQ
=300; CACHE
=no
; BMODE
=60x
;; \
1583 >$(obj
)include/config.h
; \
1584 if
[ "$${CTYPE}" != "MPC8260" ] ; then \
1585 echo
"#define CONFIG_$${CTYPE}" >>$(obj
)include/config.h
; \
1587 echo
"#define CONFIG_$${CFREQ}MHz" >>$(obj
)include/config.h
; \
1588 echo
"... with $${CFREQ}MHz system clock" ; \
1589 if
[ "$${CACHE}" == "yes" ] ; then \
1590 echo
"#define CONFIG_L2_CACHE" >>$(obj
)include/config.h
; \
1591 echo
"... with L2 Cache support" ; \
1593 echo
"#undef CONFIG_L2_CACHE" >>$(obj
)include/config.h
; \
1594 echo
"... without L2 Cache support" ; \
1596 if
[ "$${BMODE}" == "60x" ] ; then \
1597 echo
"#define CONFIG_BUSMODE_60x" >>$(obj
)include/config.h
; \
1598 echo
"... with 60x Bus Mode" ; \
1600 echo
"#undef CONFIG_BUSMODE_60x" >>$(obj
)include/config.h
; \
1601 echo
"... without 60x Bus Mode" ; \
1603 @
$(MKCONFIG
) -a TQM8260 ppc mpc8260 tqm8260
1605 TQM8272_config
: unconfig
1606 @
$(MKCONFIG
) -a TQM8272 ppc mpc8260 tqm8272
1608 VoVPN-GW_66MHz_config \
1609 VoVPN-GW_100MHz_config
: unconfig
1610 @mkdir
-p
$(obj
)include
1611 @echo
"#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj
)include/config.h
1612 @
$(MKCONFIG
) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1614 ZPC1900_config
: unconfig
1615 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc8260 zpc1900
1617 #########################################################################
1619 #########################################################################
1621 cobra5272_config
: unconfig
1622 @
$(MKCONFIG
) $(@
:_config
=) m68k mcf52x2 cobra5272
1624 EB
+MCF-EV123_config
: unconfig
1625 @mkdir
-p
$(obj
)include
1626 @mkdir
-p
$(obj
)board
/BuS
/EB
+MCF-EV123
1627 @
>$(obj
)include/config.h
1628 @echo
"TEXT_BASE = 0xFFE00000"|tee
$(obj
)board
/BuS
/EB
+MCF-EV123
/textbase.mk
1629 @
$(MKCONFIG
) EB
+MCF-EV123 m68k mcf52x2 EB
+MCF-EV123 BuS
1631 EB
+MCF-EV123_internal_config
: unconfig
1632 @mkdir
-p
$(obj
)include
1633 @mkdir
-p
$(obj
)board
/BuS
/EB
+MCF-EV123
1634 @
>$(obj
)include/config.h
1635 @echo
"TEXT_BASE = 0xF0000000"|tee
$(obj
)board
/BuS
/EB
+MCF-EV123
/textbase.mk
1636 @
$(MKCONFIG
) EB
+MCF-EV123 m68k mcf52x2 EB
+MCF-EV123 BuS
1638 idmr_config
: unconfig
1639 @
$(MKCONFIG
) $(@
:_config
=) m68k mcf52x2 idmr
1641 M5271EVB_config
: unconfig
1642 @
$(MKCONFIG
) $(@
:_config
=) m68k mcf52x2 m5271evb
1644 M5272C3_config
: unconfig
1645 @
$(MKCONFIG
) $(@
:_config
=) m68k mcf52x2 m5272c3
1647 M5282EVB_config
: unconfig
1648 @
$(MKCONFIG
) $(@
:_config
=) m68k mcf52x2 m5282evb
1650 TASREG_config
: unconfig
1651 @
$(MKCONFIG
) $(@
:_config
=) m68k mcf52x2 tasreg esd
1653 r5200_config
: unconfig
1654 @
$(MKCONFIG
) $(@
:_config
=) m68k mcf52x2 r5200
1656 #########################################################################
1658 #########################################################################
1660 MPC8313ERDB_33_config \
1661 MPC8313ERDB_66_config
: unconfig
1662 @echo
"" >include/config.h
; \
1663 if
[ "$(findstring _33_,$@)" ] ; then \
1664 echo
-n
"...33M ..." ; \
1665 echo
"#define CFG_33MHZ" >>include/config.h
; \
1667 if
[ "$(findstring _66_,$@)" ] ; then \
1668 echo
-n
"...66M..." ; \
1669 echo
"#define CFG_66MHZ" >>include/config.h
; \
1671 @
$(MKCONFIG
) -a MPC8313ERDB ppc mpc83xx mpc8313erdb
1673 MPC832XEMDS_config \
1674 MPC832XEMDS_HOST_33_config \
1675 MPC832XEMDS_HOST_66_config \
1676 MPC832XEMDS_SLAVE_config
: unconfig
1677 @echo
"" >include/config.h
; \
1678 if
[ "$(findstring _HOST_,$@)" ] ; then \
1679 echo
-n
"... PCI HOST " ; \
1680 echo
"#define CONFIG_PCI" >>include/config.h
; \
1682 if
[ "$(findstring _SLAVE_,$@)" ] ; then \
1683 echo
"...PCI SLAVE 66M" ; \
1684 echo
"#define CONFIG_PCI" >>include/config.h
; \
1685 echo
"#define CONFIG_PCISLAVE" >>include/config.h
; \
1687 if
[ "$(findstring _33_,$@)" ] ; then \
1688 echo
-n
"...33M ..." ; \
1689 echo
"#define PCI_33M" >>include/config.h
; \
1691 if
[ "$(findstring _66_,$@)" ] ; then \
1692 echo
-n
"...66M..." ; \
1693 echo
"#define PCI_66M" >>include/config.h
; \
1695 @
$(MKCONFIG
) -a MPC832XEMDS ppc mpc83xx mpc832xemds
1697 MPC8349EMDS_config
: unconfig
1698 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc83xx mpc8349emds
1701 MPC8349ITX_LOWBOOT_config \
1702 MPC8349ITXGP_config
: unconfig
1703 @mkdir
-p
$(obj
)include
1704 @mkdir
-p
$(obj
)board
/mpc8349itx
1705 @echo
"#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj
)include/config.h
1706 @if
[ "$(findstring GP,$@)" ] ; then \
1707 echo
"TEXT_BASE = 0xFE000000" >$(obj
)board
/mpc8349itx
/config.tmp
; \
1709 @if
[ "$(findstring LOWBOOT,$@)" ] ; then \
1710 echo
"TEXT_BASE = 0xFE000000" >$(obj
)board
/mpc8349itx
/config.tmp
; \
1712 @
$(MKCONFIG
) -a
-n
$(@
:_config
=) MPC8349ITX ppc mpc83xx mpc8349itx
1714 MPC8360EMDS_config \
1715 MPC8360EMDS_HOST_33_config \
1716 MPC8360EMDS_HOST_66_config \
1717 MPC8360EMDS_SLAVE_config
: unconfig
1718 @echo
"" >include/config.h
; \
1719 if
[ "$(findstring _HOST_,$@)" ] ; then \
1720 echo
-n
"... PCI HOST " ; \
1721 echo
"#define CONFIG_PCI" >>include/config.h
; \
1723 if
[ "$(findstring _SLAVE_,$@)" ] ; then \
1724 echo
"...PCI SLAVE 66M" ; \
1725 echo
"#define CONFIG_PCI" >>include/config.h
; \
1726 echo
"#define CONFIG_PCISLAVE" >>include/config.h
; \
1728 if
[ "$(findstring _33_,$@)" ] ; then \
1729 echo
-n
"...33M ..." ; \
1730 echo
"#define PCI_33M" >>include/config.h
; \
1732 if
[ "$(findstring _66_,$@)" ] ; then \
1733 echo
-n
"...66M..." ; \
1734 echo
"#define PCI_66M" >>include/config.h
; \
1736 @
$(MKCONFIG
) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1738 sbc8349_config
: unconfig
1739 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc83xx sbc8349
1741 TQM834x_config
: unconfig
1742 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc83xx tqm834x
1745 #########################################################################
1747 #########################################################################
1749 MPC8540ADS_config
: unconfig
1750 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx mpc8540ads
1752 MPC8540EVAL_config \
1753 MPC8540EVAL_33_config \
1754 MPC8540EVAL_66_config \
1755 MPC8540EVAL_33_slave_config \
1756 MPC8540EVAL_66_slave_config
: unconfig
1757 @mkdir
-p
$(obj
)include
1758 @echo
"" >$(obj
)include/config.h
; \
1759 if
[ "$(findstring _33_,$@)" ] ; then \
1760 echo
-n
"... 33 MHz PCI" ; \
1762 echo
"#define CONFIG_SYSCLK_66M" >>$(obj
)include/config.h
; \
1763 echo
-n
"... 66 MHz PCI" ; \
1765 if
[ "$(findstring _slave_,$@)" ] ; then \
1766 echo
"#define CONFIG_PCI_SLAVE" >>$(obj
)include/config.h
; \
1771 @
$(MKCONFIG
) -a MPC8540EVAL ppc mpc85xx mpc8540eval
1773 MPC8560ADS_config
: unconfig
1774 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx mpc8560ads
1776 MPC8541CDS_config
: unconfig
1777 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx mpc8541cds cds
1779 MPC8544DS_config
: unconfig
1780 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx mpc8544ds freescale
1782 MPC8548CDS_config
: unconfig
1783 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx mpc8548cds cds
1785 MPC8555CDS_config
: unconfig
1786 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx mpc8555cds cds
1788 MPC8568MDS_config
: unconfig
1789 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx mpc8568mds
1791 PM854_config
: unconfig
1792 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx pm854
1794 PM856_config
: unconfig
1795 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx pm856
1799 sbc8540_66_config
: unconfig
1800 @mkdir
-p
$(obj
)include
1801 @if
[ "$(findstring _66_,$@)" ] ; then \
1802 echo
"#define CONFIG_PCI_66" >>$(obj
)include/config.h
; \
1803 echo
"... 66 MHz PCI" ; \
1805 >$(obj
)include/config.h
; \
1806 echo
"... 33 MHz PCI" ; \
1808 @
$(MKCONFIG
) -a SBC8540 ppc mpc85xx sbc8560
1812 sbc8560_66_config
: unconfig
1813 @mkdir
-p
$(obj
)include
1814 @if
[ "$(findstring _66_,$@)" ] ; then \
1815 echo
"#define CONFIG_PCI_66" >>$(obj
)include/config.h
; \
1816 echo
"... 66 MHz PCI" ; \
1818 >$(obj
)include/config.h
; \
1819 echo
"... 33 MHz PCI" ; \
1821 @
$(MKCONFIG
) -a sbc8560 ppc mpc85xx sbc8560
1823 stxgp3_config
: unconfig
1824 @
$(MKCONFIG
) $(@
:_config
=) ppc mpc85xx stxgp3
1827 stxssa_4M_config
: unconfig
1828 @mkdir
-p
$(obj
)include
1829 @if
[ "$(findstring _4M_,$@)" ] ; then \
1830 echo
"#define CONFIG_STXSSA_4M" >>$(obj
)include/config.h
; \
1831 echo
"... with 4 MiB flash memory" ; \
1833 >$(obj
)include/config.h
; \
1835 @
$(MKCONFIG
) -a stxssa ppc mpc85xx stxssa
1840 TQM8560_config
: unconfig
1841 @mkdir
-p
$(obj
)include
1842 @CTYPE
=$(subst TQM
,,$(@
:_config
=)); \
1843 >$(obj
)include/config.h
; \
1844 echo
"... TQM"$${CTYPE}; \
1845 echo
"#define CONFIG_MPC$${CTYPE}">>$(obj
)include/config.h
; \
1846 echo
"#define CONFIG_TQM$${CTYPE}">>$(obj
)include/config.h
; \
1847 echo
"#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj
)include/config.h
; \
1848 echo
"#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj
)include/config.h
; \
1849 echo
"#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj
)include/config.h
1850 @
$(MKCONFIG
) -a TQM85xx ppc mpc85xx tqm85xx
1852 #########################################################################
1854 #########################################################################
1856 MPC8641HPCN_config
: unconfig
1857 @.
/mkconfig
$(@
:_config
=) ppc mpc86xx mpc8641hpcn
1860 #########################################################################
1862 #########################################################################
1864 AmigaOneG3SE_config
: unconfig
1865 @
$(MKCONFIG
) $(@
:_config
=) ppc
74xx_7xx AmigaOneG3SE MAI
1867 BAB7xx_config
: unconfig
1868 @
$(MKCONFIG
) $(@
:_config
=) ppc
74xx_7xx bab7xx eltec
1870 CPCI750_config
: unconfig
1871 @
$(MKCONFIG
) CPCI750 ppc
74xx_7xx cpci750 esd
1873 DB64360_config
: unconfig
1874 @
$(MKCONFIG
) DB64360 ppc
74xx_7xx db64360 Marvell
1876 DB64460_config
: unconfig
1877 @
$(MKCONFIG
) DB64460 ppc
74xx_7xx db64460 Marvell
1879 ELPPC_config
: unconfig
1880 @
$(MKCONFIG
) $(@
:_config
=) ppc
74xx_7xx elppc eltec
1883 EVB64260_750CX_config
: unconfig
1884 @
$(MKCONFIG
) EVB64260 ppc
74xx_7xx evb64260
1886 mpc7448hpc2_config
: unconfig
1887 @
$(MKCONFIG
) $(@
:_config
=) ppc
74xx_7xx mpc7448hpc2
1889 P3G4_config
: unconfig
1890 @
$(MKCONFIG
) $(@
:_config
=) ppc
74xx_7xx evb64260
1893 p3m7448_config
: unconfig
1894 @mkdir
-p
$(obj
)include
1895 @if
[ "$(findstring 750_,$@)" ] ; then \
1896 echo
"#define CONFIG_P3M750" >>$(obj
)include/config.h
; \
1898 echo
"#define CONFIG_P3M7448" >>$(obj
)include/config.h
; \
1900 @
$(MKCONFIG
) -a p3mx ppc
74xx_7xx p3mx prodrive
1903 PCIPPC6_config
: unconfig
1904 @
$(MKCONFIG
) $(@
:_config
=) ppc
74xx_7xx pcippc2
1906 ZUMA_config
: unconfig
1907 @
$(MKCONFIG
) $(@
:_config
=) ppc
74xx_7xx evb64260
1909 ppmc7xx_config
: unconfig
1910 @
$(MKCONFIG
) $(@
:_config
=) ppc
74xx_7xx ppmc7xx
1912 #========================================================================
1914 #========================================================================
1915 #########################################################################
1916 ## StrongARM Systems
1917 #########################################################################
1919 assabet_config
: unconfig
1920 @
$(MKCONFIG
) $(@
:_config
=) arm sa1100 assabet
1922 dnp1110_config
: unconfig
1923 @
$(MKCONFIG
) $(@
:_config
=) arm sa1100 dnp1110
1925 gcplus_config
: unconfig
1926 @
$(MKCONFIG
) $(@
:_config
=) arm sa1100 gcplus
1928 lart_config
: unconfig
1929 @
$(MKCONFIG
) $(@
:_config
=) arm sa1100 lart
1931 shannon_config
: unconfig
1932 @
$(MKCONFIG
) $(@
:_config
=) arm sa1100 shannon
1934 #########################################################################
1936 #########################################################################
1938 xtract_trab
= $(subst _bigram
,,$(subst _bigflash
,,$(subst _old
,,$(subst _config
,,$1))))
1940 xtract_omap1610xxx
= $(subst _cs0boot
,,$(subst _cs3boot
,,$(subst _cs_autoboot
,,$(subst _config
,,$1))))
1942 xtract_omap730p2
= $(subst _cs0boot
,,$(subst _cs3boot
,, $(subst _config
,,$1)))
1944 at91rm9200dk_config
: unconfig
1945 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t at91rm9200dk NULL at91rm9200
1947 cmc_pu2_config
: unconfig
1948 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t cmc_pu2 NULL at91rm9200
1950 csb637_config
: unconfig
1951 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t csb637 NULL at91rm9200
1953 mp2usb_config
: unconfig
1954 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t mp2usb NULL at91rm9200
1957 ########################################################################
1958 ## ARM Integrator boards - see doc/README-integrator for more info.
1959 integratorap_config \
1968 ap946es_config
: unconfig
1969 @board
/integratorap
/split_by_variant.sh
$@
1971 integratorcp_config \
1980 cp1026_config
: unconfig
1981 @board
/integratorcp
/split_by_variant.sh
$@
1983 kb9202_config
: unconfig
1984 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t kb9202 NULL at91rm9200
1987 lpd7a404_config
: unconfig
1988 @
$(MKCONFIG
) $(@
:_config
=) arm lh7a40x lpd7a40x
1990 mx1ads_config
: unconfig
1991 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t mx1ads NULL imx
1993 mx1fs2_config
: unconfig
1994 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t mx1fs2 NULL imx
1997 netstar_config
: unconfig
1998 @mkdir
-p
$(obj
)include
1999 @if
[ "$(findstring _32_,$@)" ] ; then \
2000 echo
"... 32MB SDRAM" ; \
2001 echo
"#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj
)include/config.h
; \
2003 echo
"... 64MB SDRAM" ; \
2004 echo
"#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj
)include/config.h
; \
2006 @
$(MKCONFIG
) -a netstar arm arm925t netstar
2008 omap1510inn_config
: unconfig
2009 @
$(MKCONFIG
) $(@
:_config
=) arm arm925t omap1510inn
2011 omap5912osk_config
: unconfig
2012 @
$(MKCONFIG
) $(@
:_config
=) arm arm926ejs omap5912osk NULL omap
2014 omap1610inn_config \
2015 omap1610inn_cs0boot_config \
2016 omap1610inn_cs3boot_config \
2017 omap1610inn_cs_autoboot_config \
2019 omap1610h2_cs0boot_config \
2020 omap1610h2_cs3boot_config \
2021 omap1610h2_cs_autoboot_config
: unconfig
2022 @mkdir
-p
$(obj
)include
2023 @if
[ "$(findstring _cs0boot_, $@)" ] ; then \
2024 echo
"#define CONFIG_CS0_BOOT" >> .
$(obj
)/include/config.h
; \
2025 echo
"... configured for CS0 boot"; \
2026 elif
[ "$(findstring _cs_autoboot_, $@)" ] ; then \
2027 echo
"#define CONFIG_CS_AUTOBOOT" >> $(obj
).
/include/config.h
; \
2028 echo
"... configured for CS_AUTO boot"; \
2030 echo
"#define CONFIG_CS3_BOOT" >> $(obj
).
/include/config.h
; \
2031 echo
"... configured for CS3 boot"; \
2033 @
$(MKCONFIG
) -a
$(call xtract_omap1610xxx
,$@
) arm arm926ejs omap1610inn NULL omap
2036 omap730p2_cs0boot_config \
2037 omap730p2_cs3boot_config
: unconfig
2038 @mkdir
-p
$(obj
)include
2039 @if
[ "$(findstring _cs0boot_, $@)" ] ; then \
2040 echo
"#define CONFIG_CS0_BOOT" >> $(obj
)include/config.h
; \
2041 echo
"... configured for CS0 boot"; \
2043 echo
"#define CONFIG_CS3_BOOT" >> $(obj
)include/config.h
; \
2044 echo
"... configured for CS3 boot"; \
2046 @
$(MKCONFIG
) -a
$(call xtract_omap730p2
,$@
) arm arm926ejs omap730p2 NULL omap
2048 sbc2410x_config
: unconfig
2049 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t sbc2410x NULL s3c24x0
2051 scb9328_config
: unconfig
2052 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t scb9328 NULL imx
2054 smdk2400_config
: unconfig
2055 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t smdk2400 NULL s3c24x0
2057 smdk2410_config
: unconfig
2058 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t smdk2410 NULL s3c24x0
2060 SX1_config
: unconfig
2061 @
$(MKCONFIG
) $(@
:_config
=) arm arm925t sx1
2063 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2065 trab_bigram_config \
2066 trab_bigflash_config \
2067 trab_old_config
: unconfig
2068 @mkdir
-p
$(obj
)include
2069 @mkdir
-p
$(obj
)board
/trab
2070 @
>$(obj
)include/config.h
2071 @
[ -z
"$(findstring _bigram,$@)" ] || \
2072 { echo
"#define CONFIG_FLASH_8MB" >>$(obj
)include/config.h
; \
2073 echo
"#define CONFIG_RAM_32MB" >>$(obj
)include/config.h
; \
2074 echo
"... with 8 MB Flash, 32 MB RAM" ; \
2076 @
[ -z
"$(findstring _bigflash,$@)" ] || \
2077 { echo
"#define CONFIG_FLASH_16MB" >>$(obj
)include/config.h
; \
2078 echo
"#define CONFIG_RAM_16MB" >>$(obj
)include/config.h
; \
2079 echo
"... with 16 MB Flash, 16 MB RAM" ; \
2080 echo
"TEXT_BASE = 0x0CF40000" >$(obj
)board
/trab
/config.tmp
; \
2082 @
[ -z
"$(findstring _old,$@)" ] || \
2083 { echo
"#define CONFIG_FLASH_8MB" >>$(obj
)include/config.h
; \
2084 echo
"#define CONFIG_RAM_16MB" >>$(obj
)include/config.h
; \
2085 echo
"... with 8 MB Flash, 16 MB RAM" ; \
2086 echo
"TEXT_BASE = 0x0CF40000" >$(obj
)board
/trab
/config.tmp
; \
2088 @
$(MKCONFIG
) -a
$(call xtract_trab
,$@
) arm arm920t trab NULL s3c24x0
2090 VCMA9_config
: unconfig
2091 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t vcma9 mpl s3c24x0
2093 #========================================================================
2094 # ARM supplied Versatile development boards
2095 #========================================================================
2097 versatileab_config \
2098 versatilepb_config
: unconfig
2099 @board
/versatile
/split_by_variant.sh
$@
2101 voiceblue_smallflash_config \
2102 voiceblue_config
: unconfig
2103 @mkdir
-p
$(obj
)include
2104 @mkdir
-p
$(obj
)board
/voiceblue
2105 @if
[ "$(findstring _smallflash_,$@)" ] ; then \
2106 echo
"... boot from lower flash bank" ; \
2107 echo
"#define VOICEBLUE_SMALL_FLASH" >>$(obj
)include/config.h
; \
2108 echo
"VOICEBLUE_SMALL_FLASH=y" >$(obj
)board
/voiceblue
/config.tmp
; \
2110 echo
"... boot from upper flash bank" ; \
2111 >$(obj
)include/config.h
; \
2112 echo
"VOICEBLUE_SMALL_FLASH=n" >$(obj
)board
/voiceblue
/config.tmp
; \
2114 @
$(MKCONFIG
) -a voiceblue arm arm925t voiceblue
2116 cm4008_config
: unconfig
2117 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t cm4008 NULL ks8695
2119 cm41xx_config
: unconfig
2120 @
$(MKCONFIG
) $(@
:_config
=) arm arm920t cm41xx NULL ks8695
2122 gth2_config
: unconfig
2123 @mkdir
-p
$(obj
)include
2124 @
>$(obj
)include/config.h
2125 @echo
"#define CONFIG_GTH2 1" >>$(obj
)include/config.h
2126 @
$(MKCONFIG
) -a gth2 mips mips gth2
2128 #########################################################################
2130 #########################################################################
2132 B2_config
: unconfig
2133 @
$(MKCONFIG
) $(@
:_config
=) arm s3c44b0 B2 dave
2135 #########################################################################
2137 #########################################################################
2139 armadillo_config
: unconfig
2140 @
$(MKCONFIG
) $(@
:_config
=) arm arm720t armadillo
2142 ep7312_config
: unconfig
2143 @
$(MKCONFIG
) $(@
:_config
=) arm arm720t ep7312
2145 impa7_config
: unconfig
2146 @
$(MKCONFIG
) $(@
:_config
=) arm arm720t impa7
2148 modnet50_config
: unconfig
2149 @
$(MKCONFIG
) $(@
:_config
=) arm arm720t modnet50
2151 evb4510_config
: unconfig
2152 @
$(MKCONFIG
) $(@
:_config
=) arm arm720t evb4510
2154 lpc2292sodimm_config
: unconfig
2155 @
$(MKCONFIG
) $(@
:_config
=) arm arm720t lpc2292sodimm NULL lpc2292
2157 SMN42_config
: unconfig
2158 @
$(MKCONFIG
) $(@
:_config
=) arm arm720t SMN42 siemens lpc2292
2160 #########################################################################
2162 #########################################################################
2164 adsvix_config
: unconfig
2165 @
$(MKCONFIG
) $(@
:_config
=) arm pxa adsvix
2167 cerf250_config
: unconfig
2168 @
$(MKCONFIG
) $(@
:_config
=) arm pxa cerf250
2170 cradle_config
: unconfig
2171 @
$(MKCONFIG
) $(@
:_config
=) arm pxa cradle
2173 csb226_config
: unconfig
2174 @
$(MKCONFIG
) $(@
:_config
=) arm pxa csb226
2177 @
$(MKCONFIG
) $(@
:_config
=) arm pxa delta
2179 innokom_config
: unconfig
2180 @
$(MKCONFIG
) $(@
:_config
=) arm pxa innokom
2182 ixdp425_config
: unconfig
2183 @
$(MKCONFIG
) $(@
:_config
=) arm ixp ixdp425
2185 ixdpg425_config
: unconfig
2186 @
$(MKCONFIG
) $(@
:_config
=) arm ixp ixdp425
2188 lubbock_config
: unconfig
2189 @
$(MKCONFIG
) $(@
:_config
=) arm pxa lubbock
2191 pleb2_config
: unconfig
2192 @
$(MKCONFIG
) $(@
:_config
=) arm pxa pleb2
2194 logodl_config
: unconfig
2195 @
$(MKCONFIG
) $(@
:_config
=) arm pxa logodl
2198 scpu_config
: unconfig
2199 @if
[ "$(findstring scpu_,$@)" ] ; then \
2200 echo
"#define CONFIG_SCPU" >>include/config.h
; \
2201 echo
"... on SCPU board variant" ; \
2203 >include/config.h
; \
2205 @
$(MKCONFIG
) -a pdnb3 arm ixp pdnb3 prodrive
2207 pxa255_idp_config
: unconfig
2208 @
$(MKCONFIG
) $(@
:_config
=) arm pxa pxa255_idp
2210 wepep250_config
: unconfig
2211 @
$(MKCONFIG
) $(@
:_config
=) arm pxa wepep250
2213 xaeniax_config
: unconfig
2214 @
$(MKCONFIG
) $(@
:_config
=) arm pxa xaeniax
2216 xm250_config
: unconfig
2217 @
$(MKCONFIG
) $(@
:_config
=) arm pxa xm250
2219 xsengine_config
: unconfig
2220 @
$(MKCONFIG
) $(@
:_config
=) arm pxa xsengine
2223 @
$(MKCONFIG
) $(@
:_config
=) arm pxa zylonite
2225 #########################################################################
2227 #########################################################################
2228 omap2420h4_config
: unconfig
2229 @
$(MKCONFIG
) $(@
:_config
=) arm arm1136 omap2420h4
2231 #========================================================================
2233 #========================================================================
2234 #########################################################################
2236 #########################################################################
2237 sc520_cdp_config
: unconfig
2238 @
$(MKCONFIG
) $(@
:_config
=) i386 i386 sc520_cdp
2240 sc520_spunk_config
: unconfig
2241 @
$(MKCONFIG
) $(@
:_config
=) i386 i386 sc520_spunk
2243 sc520_spunk_rel_config
: unconfig
2244 @
$(MKCONFIG
) $(@
:_config
=) i386 i386 sc520_spunk
2246 #========================================================================
2248 #========================================================================
2249 #########################################################################
2251 #########################################################################
2253 xtract_incaip
= $(subst _100MHz
,,$(subst _133MHz
,,$(subst _150MHz
,,$(subst _config
,,$1))))
2255 incaip_100MHz_config \
2256 incaip_133MHz_config \
2257 incaip_150MHz_config \
2258 incaip_config
: unconfig
2259 @mkdir
-p
$(obj
)include
2260 @
>$(obj
)include/config.h
2261 @
[ -z
"$(findstring _100MHz,$@)" ] || \
2262 { echo
"#define CPU_CLOCK_RATE 100000000" >>$(obj
)include/config.h
; \
2263 echo
"... with 100MHz system clock" ; \
2265 @
[ -z
"$(findstring _133MHz,$@)" ] || \
2266 { echo
"#define CPU_CLOCK_RATE 133000000" >>$(obj
)include/config.h
; \
2267 echo
"... with 133MHz system clock" ; \
2269 @
[ -z
"$(findstring _150MHz,$@)" ] || \
2270 { echo
"#define CPU_CLOCK_RATE 150000000" >>$(obj
)include/config.h
; \
2271 echo
"... with 150MHz system clock" ; \
2273 @
$(MKCONFIG
) -a
$(call xtract_incaip
,$@
) mips mips incaip
2275 tb0229_config
: unconfig
2276 @
$(MKCONFIG
) $(@
:_config
=) mips mips tb0229
2278 #########################################################################
2280 #########################################################################
2281 dbau1000_config
: unconfig
2282 @mkdir
-p
$(obj
)include
2283 @
>$(obj
)include/config.h
2284 @echo
"#define CONFIG_DBAU1000 1" >>$(obj
)include/config.h
2285 @
$(MKCONFIG
) -a dbau1x00 mips mips dbau1x00
2287 dbau1100_config
: unconfig
2288 @mkdir
-p
$(obj
)include
2289 @
>$(obj
)include/config.h
2290 @echo
"#define CONFIG_DBAU1100 1" >>$(obj
)include/config.h
2291 @
$(MKCONFIG
) -a dbau1x00 mips mips dbau1x00
2293 dbau1500_config
: unconfig
2294 @mkdir
-p
$(obj
)include
2295 @
>$(obj
)include/config.h
2296 @echo
"#define CONFIG_DBAU1500 1" >>$(obj
)include/config.h
2297 @
$(MKCONFIG
) -a dbau1x00 mips mips dbau1x00
2299 dbau1550_config
: unconfig
2300 @mkdir
-p
$(obj
)include
2301 @
>$(obj
)include/config.h
2302 @echo
"#define CONFIG_DBAU1550 1" >>$(obj
)include/config.h
2303 @
$(MKCONFIG
) -a dbau1x00 mips mips dbau1x00
2305 dbau1550_el_config
: unconfig
2306 @mkdir
-p
$(obj
)include
2307 @
>$(obj
)include/config.h
2308 @echo
"#define CONFIG_DBAU1550 1" >>$(obj
)include/config.h
2309 @
$(MKCONFIG
) -a dbau1x00 mips mips dbau1x00
2311 pb1000_config
: unconfig
2312 @mkdir
-p
$(obj
)include
2313 @
>$(obj
)include/config.h
2314 @echo
"#define CONFIG_PB1000 1" >>$(obj
)include/config.h
2315 @
$(MKCONFIG
) -a pb1x00 mips mips pb1x00
2317 #########################################################################
2319 #########################################################################
2321 purple_config
: unconfig
2322 @
$(MKCONFIG
) $(@
:_config
=) mips mips purple
2324 #========================================================================
2326 #========================================================================
2327 #########################################################################
2329 #########################################################################
2331 DK1C20_safe_32_config \
2332 DK1C20_standard_32_config \
2333 DK1C20_config
: unconfig
2334 @mkdir
-p
$(obj
)include
2335 @
>$(obj
)include/config.h
2336 @
[ -z
"$(findstring _safe_32,$@)" ] || \
2337 { echo
"#define CONFIG_NIOS_SAFE_32 1" >>$(obj
)include/config.h
; \
2338 echo
"... NIOS 'safe_32' configuration" ; \
2340 @
[ -z
"$(findstring _standard_32,$@)" ] || \
2341 { echo
"#define CONFIG_NIOS_STANDARD_32 1" >>$(obj
)include/config.h
; \
2342 echo
"... NIOS 'standard_32' configuration" ; \
2344 @
[ -z
"$(findstring DK1C20_config,$@)" ] || \
2345 { echo
"#define CONFIG_NIOS_STANDARD_32 1" >>$(obj
)include/config.h
; \
2346 echo
"... NIOS 'standard_32' configuration (DEFAULT)" ; \
2348 @
$(MKCONFIG
) -a DK1C20 nios nios dk1c20 altera
2350 DK1S10_safe_32_config \
2351 DK1S10_standard_32_config \
2352 DK1S10_mtx_ldk_20_config \
2353 DK1S10_config
: unconfig
2354 @mkdir
-p
$(obj
)include
2355 @
>$(obj
)include/config.h
2356 @
[ -z
"$(findstring _safe_32,$@)" ] || \
2357 { echo
"#define CONFIG_NIOS_SAFE_32 1" >>$(obj
)include/config.h
; \
2358 echo
"... NIOS 'safe_32' configuration" ; \
2360 @
[ -z
"$(findstring _standard_32,$@)" ] || \
2361 { echo
"#define CONFIG_NIOS_STANDARD_32 1" >>$(obj
)include/config.h
; \
2362 echo
"... NIOS 'standard_32' configuration" ; \
2364 @
[ -z
"$(findstring _mtx_ldk_20,$@)" ] || \
2365 { echo
"#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj
)include/config.h
; \
2366 echo
"... NIOS 'mtx_ldk_20' configuration" ; \
2368 @
[ -z
"$(findstring DK1S10_config,$@)" ] || \
2369 { echo
"#define CONFIG_NIOS_STANDARD_32 1" >>$(obj
)include/config.h
; \
2370 echo
"... NIOS 'standard_32' configuration (DEFAULT)" ; \
2372 @
$(MKCONFIG
) -a DK1S10 nios nios dk1s10 altera
2374 ADNPESC1_DNPEVA2_base_32_config \
2375 ADNPESC1_base_32_config \
2376 ADNPESC1_config
: unconfig
2377 @mkdir
-p
$(obj
)include
2378 @
>$(obj
)include/config.h
2379 @
[ -z
"$(findstring _DNPEVA2,$@)" ] || \
2380 { echo
"#define CONFIG_DNPEVA2 1" >>$(obj
)include/config.h
; \
2381 echo
"... DNP/EVA2 configuration" ; \
2383 @
[ -z
"$(findstring _base_32,$@)" ] || \
2384 { echo
"#define CONFIG_NIOS_BASE_32 1" >>$(obj
)include/config.h
; \
2385 echo
"... NIOS 'base_32' configuration" ; \
2387 @
[ -z
"$(findstring ADNPESC1_config,$@)" ] || \
2388 { echo
"#define CONFIG_NIOS_BASE_32 1" >>$(obj
)include/config.h
; \
2389 echo
"... NIOS 'base_32' configuration (DEFAULT)" ; \
2391 @
$(MKCONFIG
) -a ADNPESC1 nios nios adnpesc1 ssv
2393 #########################################################################
2395 #########################################################################
2397 EP1C20_config
: unconfig
2398 @
$(MKCONFIG
) EP1C20 nios2 nios2 ep1c20 altera
2400 EP1S10_config
: unconfig
2401 @
$(MKCONFIG
) EP1S10 nios2 nios2 ep1s10 altera
2403 EP1S40_config
: unconfig
2404 @
$(MKCONFIG
) EP1S40 nios2 nios2 ep1s40 altera
2406 PK1C20_config
: unconfig
2407 @
$(MKCONFIG
) PK1C20 nios2 nios2 pk1c20 psyent
2409 PCI5441_config
: unconfig
2410 @
$(MKCONFIG
) PCI5441 nios2 nios2 pci5441 psyent
2412 #========================================================================
2414 #========================================================================
2415 #########################################################################
2417 #########################################################################
2418 suzaku_config
: unconfig
2419 @mkdir
-p
$(obj
)include
2420 @
>$(obj
)include/config.h
2421 @echo
"#define CONFIG_SUZAKU 1" >> $(obj
)include/config.h
2422 @
$(MKCONFIG
) -a
$(@
:_config
=) microblaze microblaze suzaku AtmarkTechno
2424 ml401_config
: unconfig
2426 @echo
"#define CONFIG_ML401 1" >> include/config.h
2427 @.
/mkconfig
-a
$(@
:_config
=) microblaze microblaze ml401 xilinx
2429 xupv2p_config
: unconfig
2431 @echo
"#define CONFIG_XUPV2P 1" >> include/config.h
2432 @.
/mkconfig
-a
$(@
:_config
=) microblaze microblaze xupv2p xilinx
2434 #########################################################################
2436 #########################################################################
2437 bf533-ezkit_config
: unconfig
2438 @
$(MKCONFIG
) $(@
:_config
=) blackfin bf533 bf533-ezkit
2440 bf533-stamp_config
: unconfig
2441 @
$(MKCONFIG
) $(@
:_config
=) blackfin bf533 bf533-stamp
2443 bf537-stamp_config
: unconfig
2444 @
$(MKCONFIG
) $(@
:_config
=) blackfin bf537 bf537-stamp
2446 bf561-ezkit_config
: unconfig
2447 @
$(MKCONFIG
) $(@
:_config
=) blackfin bf561 bf561-ezkit
2449 #========================================================================
2451 #========================================================================
2452 #########################################################################
2454 #########################################################################
2456 atstk1002_config
: unconfig
2457 @.
/mkconfig
$(@
:_config
=) avr32 at32ap atstk1000 atmel at32ap7000
2459 #########################################################################
2460 #########################################################################
2461 #########################################################################
2464 find
$(OBJTREE
) -type f \
2465 \
( -name
'core' -o
-name
'*.bak' -o
-name
'*~' \
2466 -o
-name
'*.o' -o
-name
'*.a' \
) -print \
2468 rm -f
$(obj
)examples
/hello_world
$(obj
)examples
/timer \
2469 $(obj
)examples
/eepro100_eeprom
$(obj
)examples
/sched \
2470 $(obj
)examples
/mem_to_mem_idma2intr
$(obj
)examples
/82559_eeprom \
2471 $(obj
)examples
/smc91111_eeprom
$(obj
)examples
/interrupt \
2472 $(obj
)examples
/test_burst
2473 rm -f
$(obj
)tools
/img2srec
$(obj
)tools
/mkimage
$(obj
)tools
/envcrc \
2474 $(obj
)tools
/gen_eth_addr
$(obj
)tools
/ubsha1
2475 rm -f
$(obj
)tools
/mpc86x_clk
$(obj
)tools
/ncb
2476 rm -f
$(obj
)tools
/easylogo
/easylogo
$(obj
)tools
/bmp_logo
2477 rm -f
$(obj
)tools
/gdb
/astest
$(obj
)tools
/gdb
/gdbcont
$(obj
)tools
/gdb
/gdbsend
2478 rm -f
$(obj
)tools
/env
/fw_printenv
$(obj
)tools
/env
/fw_setenv
2479 rm -f
$(obj
)board
/cray
/L1
/bootscript.c
$(obj
)board
/cray
/L1
/bootscript.image
2480 rm -f
$(obj
)board
/netstar
/eeprom
$(obj
)board
/netstar
/crcek
$(obj
)board
/netstar
/crcit
2481 rm -f
$(obj
)board
/netstar
/*.srec
$(obj
)board
/netstar
/*.bin
2482 rm -f
$(obj
)board
/trab
/trab_fkt
$(obj
)board
/voiceblue
/eeprom
2483 rm -f
$(obj
)board
/integratorap
/u-boot.lds
$(obj
)board
/integratorcp
/u-boot.lds
2484 rm -f
$(obj
)board
/bf533-ezkit
/u-boot.lds
$(obj
)board
/bf533-stamp
/u-boot.lds
2485 rm -f
$(obj
)board
/bf537-stamp
/u-boot.lds
$(obj
)board
/bf561-ezkit
/u-boot.lds
2486 rm -f
$(obj
)include/bmp_logo.h
2487 rm -f
$(obj
)nand_spl
/u-boot-spl
$(obj
)nand_spl
/u-boot-spl.map
2490 find
$(OBJTREE
) -type f \
( -name .depend \
2491 -o
-name
'*.srec' -o
-name
'*.bin' -o
-name u-boot.img \
) \
2494 rm -f
$(OBJS
) $(obj
)*.bak
$(obj
)ctags
$(obj
)etags
$(obj
)TAGS
$(obj
)include/version_autogenerated.h
2496 rm -f
$(obj
)u-boot
$(obj
)u-boot.map
$(obj
)u-boot.hex
$(ALL
)
2497 rm -f
$(obj
)tools
/crc32.c
$(obj
)tools
/environment.c
$(obj
)tools
/env
/crc32.c
$(obj
)tools
/sha1.c
2498 rm -f
$(obj
)tools
/inca-swap-bytes
$(obj
)cpu
/mpc824x
/bedbug_603e.c
2499 rm -f
$(obj
)include/asm
/proc
$(obj
)include/asm
/arch
$(obj
)include/asm
2500 [ ! -d
$(OBJTREE
)/nand_spl
] || find
$(obj
)nand_spl
-lname
"*" -print | xargs
rm -f
2502 ifeq ($(OBJTREE
),$(SRCTREE
))
2504 distclean: clobber unconfig
2507 distclean: clobber unconfig
2512 F
=`basename $(TOPDIR)` ; cd ..
; \
2513 gtar
--force-local
-zcvf
`date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2515 #########################################################################