annotate socs/socs.mk @ 490:d76e5bad5ed1

Extend window to show all items
author Aleksandr Rybalko <ray@ddteam.net>
date Fri, 02 Nov 2012 16:01:47 +0200
parents 99586852be15
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
138
ray@terran.dlink.ua
parents: 8
diff changeset
1 SOC_CHIP?="NONE"
ray@terran.dlink.ua
parents: 8
diff changeset
2 SOC_VENDOR?="NONE"
2
4a1341512ca8 Add SoC layout, soc.mk set defaults for SoC used in board
ray@terran.dlink.ua
parents:
diff changeset
3
4a1341512ca8 Add SoC layout, soc.mk set defaults for SoC used in board
ray@terran.dlink.ua
parents:
diff changeset
4 .if exists(${ZROUTER_ROOT}/socs/${SOC_VENDOR}/${SOC_CHIP}/)
8
853f1379ffd2 build system save point
ray
parents: 2
diff changeset
5 TARGET_SOCDIR= ${ZROUTER_ROOT}/socs/${SOC_VENDOR}/${SOC_CHIP}
853f1379ffd2 build system save point
ray
parents: 2
diff changeset
6 .include "${TARGET_SOCDIR}/soc.mk"
2
4a1341512ca8 Add SoC layout, soc.mk set defaults for SoC used in board
ray@terran.dlink.ua
parents:
diff changeset
7 .endif
4a1341512ca8 Add SoC layout, soc.mk set defaults for SoC used in board
ray@terran.dlink.ua
parents:
diff changeset
8
316
617912b36846 Move KERNCONF_KERNLOADADDR?= to correct place, otherwise it will set illegal
ray@terran.dlink.ua
parents: 307
diff changeset
9 # Defaults
617912b36846 Move KERNCONF_KERNLOADADDR?= to correct place, otherwise it will set illegal
ray@terran.dlink.ua
parents: 307
diff changeset
10 KERNCONF_KERNLOADADDR?= 0x80001000
617912b36846 Move KERNCONF_KERNLOADADDR?= to correct place, otherwise it will set illegal
ray@terran.dlink.ua
parents: 307
diff changeset
11
8
853f1379ffd2 build system save point
ray
parents: 2
diff changeset
12 .if !defined(TARGET_SOCDIR)
201
3b87524c2bed cleanup
ray@terran.dlink.ua
parents: 138
diff changeset
13 SOC_PAIRS!=ls -d ${ZROUTER_ROOT}/socs/*/* | sed 's/^.*\/socs\///'
138
ray@terran.dlink.ua
parents: 8
diff changeset
14 .endif
307
806cb53de7f7 Define and use new variable KERNCONF_KERN_LDSCRIPT_NAME variable.
ray@terran.dlink.ua
parents: 259
diff changeset
15
363
b36c557b7d90 Protect other make targets, that can work w/o defined board/soc/arch/etc
ray@terran.dlink.ua
parents: 316
diff changeset
16 .if defined(TARGET_ARCH)
380
99586852be15 Rename target mipsbe to mips (Upstream changes)
Aleksandr Rybalko <ray@ddteam.net>
parents: 363
diff changeset
17 .if ${TARGET_ARCH} == "mipsel" || ${TARGET_ARCH} == "mips"
307
806cb53de7f7 Define and use new variable KERNCONF_KERN_LDSCRIPT_NAME variable.
ray@terran.dlink.ua
parents: 259
diff changeset
18 KERNCONF_KERN_LDSCRIPT_NAME?= ldscript.mips.bin
806cb53de7f7 Define and use new variable KERNCONF_KERN_LDSCRIPT_NAME variable.
ray@terran.dlink.ua
parents: 259
diff changeset
19 .else
806cb53de7f7 Define and use new variable KERNCONF_KERN_LDSCRIPT_NAME variable.
ray@terran.dlink.ua
parents: 259
diff changeset
20 KERNCONF_KERN_LDSCRIPT_NAME?= ldscript.${TARGET}
806cb53de7f7 Define and use new variable KERNCONF_KERN_LDSCRIPT_NAME variable.
ray@terran.dlink.ua
parents: 259
diff changeset
21 .endif
363
b36c557b7d90 Protect other make targets, that can work w/o defined board/soc/arch/etc
ray@terran.dlink.ua
parents: 316
diff changeset
22 .endif
307
806cb53de7f7 Define and use new variable KERNCONF_KERN_LDSCRIPT_NAME variable.
ray@terran.dlink.ua
parents: 259
diff changeset
23