Home | History | Annotate | Line # | Download | only in conf
Makefile.obs405.inc revision 1.4.2.1
      1  1.4.2.1  uebayasi #	$NetBSD: Makefile.obs405.inc,v 1.4.2.1 2010/04/30 14:39:17 uebayasi Exp $
      2      1.1     shige 
      3      1.4       mrg CFLAGS+=-mcpu=405
      4      1.4       mrg AFLAGS+=-mcpu=405
      5  1.4.2.1  uebayasi 
      6  1.4.2.1  uebayasi 
      7  1.4.2.1  uebayasi .if ${PRDCTTYPE} == "obs200"
      8  1.4.2.1  uebayasi 
      9  1.4.2.1  uebayasi MKIMG?=	${HOST_SH} ${THISPPC}/compile/walnut-mkimg.sh
     10  1.4.2.1  uebayasi 
     11  1.4.2.1  uebayasi TEXTADDR?=	450000
     12  1.4.2.1  uebayasi 
     13  1.4.2.1  uebayasi SYSTEM_FIRST_OBJ=	obs200_locore.o
     14  1.4.2.1  uebayasi SYSTEM_FIRST_SFILE=	${THISPPC}/obs405/obs200_locore.S
     15  1.4.2.1  uebayasi 
     16  1.4.2.1  uebayasi SYSTEM_LD_TAIL_EXTRA+=; \
     17  1.4.2.1  uebayasi 	echo ${MKIMG} netbsd netbsd.img ; \
     18  1.4.2.1  uebayasi 	OBJDUMP=${OBJDUMP}; OBJCOPY=${OBJCOPY}; export OBJDUMP OBJCOPY; \
     19  1.4.2.1  uebayasi 		${MKIMG} $@ $@.img
     20  1.4.2.1  uebayasi 
     21  1.4.2.1  uebayasi 
     22  1.4.2.1  uebayasi .elif ${PRDCTTYPE} == "obs266"
     23  1.4.2.1  uebayasi 
     24  1.4.2.1  uebayasi MKIMG?=	${HOST_SH} ${THISPPC}/compile/walnut-mkimg.sh
     25  1.4.2.1  uebayasi 
     26      1.1     shige TEXTADDR?=	25000
     27      1.1     shige 
     28      1.1     shige SYSTEM_FIRST_OBJ=	locore.o
     29      1.1     shige SYSTEM_FIRST_SFILE=	${POWERPC}/${PPCDIR}/openbios/locore.S
     30      1.1     shige 
     31      1.1     shige SYSTEM_LD_TAIL_EXTRA+=; \
     32      1.1     shige 	echo ${MKIMG} netbsd netbsd.img ; \
     33      1.1     shige 	OBJDUMP=${OBJDUMP}; OBJCOPY=${OBJCOPY}; export OBJDUMP OBJCOPY; \
     34      1.1     shige 		${MKIMG} $@ $@.img
     35  1.4.2.1  uebayasi 
     36  1.4.2.1  uebayasi 
     37  1.4.2.1  uebayasi .elif ${PRDCTTYPE} == "obs600"
     38  1.4.2.1  uebayasi 
     39  1.4.2.1  uebayasi TEXTADDR?=	25000
     40  1.4.2.1  uebayasi 
     41  1.4.2.1  uebayasi SYSTEM_FIRST_OBJ=	obs600_locore.o
     42  1.4.2.1  uebayasi SYSTEM_FIRST_SFILE=	${THISPPC}/obs405/obs600_locore.S
     43  1.4.2.1  uebayasi 
     44  1.4.2.1  uebayasi SYSTEM_LD_TAIL_EXTRA+=; \
     45  1.4.2.1  uebayasi 	echo ${OBJCOPY} -S -O binary $@ $@.bin; \
     46  1.4.2.1  uebayasi 	${OBJCOPY} -S -O binary $@ $@.bin;
     47  1.4.2.1  uebayasi 
     48  1.4.2.1  uebayasi .endif
     49