view 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
line wrap: on
line source
SOC_CHIP?="NONE"
SOC_VENDOR?="NONE"

.if exists(${ZROUTER_ROOT}/socs/${SOC_VENDOR}/${SOC_CHIP}/)
TARGET_SOCDIR= ${ZROUTER_ROOT}/socs/${SOC_VENDOR}/${SOC_CHIP}
.include "${TARGET_SOCDIR}/soc.mk"
.endif

# Defaults
KERNCONF_KERNLOADADDR?=		0x80001000

.if !defined(TARGET_SOCDIR)
SOC_PAIRS!=ls -d ${ZROUTER_ROOT}/socs/*/* | sed 's/^.*\/socs\///'
.endif

.if defined(TARGET_ARCH)
.if ${TARGET_ARCH} == "mipsel" || ${TARGET_ARCH} == "mips"
KERNCONF_KERN_LDSCRIPT_NAME?=	ldscript.mips.bin
.else
KERNCONF_KERN_LDSCRIPT_NAME?=	ldscript.${TARGET}
.endif
.endif