9c7b98f8ce
This port is for OpenBlockS266. OpenBlockS266: IBM405GPr OpenBIOS. X1226 is a rtc chip connected with IIC bus.
22 lines
505 B
PHP
22 lines
505 B
PHP
# $NetBSD: Makefile.obs405.inc,v 1.1 2003/09/23 14:45:12 shige Exp $
|
|
|
|
MKIMG?= ${THISPPC}/compile/walnut-mkimg.sh
|
|
|
|
CFLAGS+=-mcpu=403
|
|
AFLAGS+=-mcpu=403
|
|
TEXTADDR?= 25000
|
|
|
|
SYSTEM_FIRST_OBJ= locore.o
|
|
SYSTEM_FIRST_SFILE= ${POWERPC}/${PPCDIR}/openbios/locore.S
|
|
|
|
.ifdef DBSYM
|
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
|
echo "${DBSYM} $@ || true"; \
|
|
${DBSYM} $@ || true
|
|
.endif
|
|
|
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
|
echo ${MKIMG} netbsd netbsd.img ; \
|
|
OBJDUMP=${OBJDUMP}; OBJCOPY=${OBJCOPY}; export OBJDUMP OBJCOPY; \
|
|
${MKIMG} $@ $@.img
|