|
@ -48,6 +48,8 @@ endif |
|
|
# Defines
|
|
|
# Defines
|
|
|
|
|
|
|
|
|
TARGET= ${S}/Targets/Bonito2edev |
|
|
TARGET= ${S}/Targets/Bonito2edev |
|
|
|
|
|
SUBTARGET?=Bonito |
|
|
|
|
|
START?=start.o |
|
|
MACHINE=mips |
|
|
MACHINE=mips |
|
|
MACHINE_ARCH=mips |
|
|
MACHINE_ARCH=mips |
|
|
COMPILEDIR=${shell pwd} |
|
|
COMPILEDIR=${shell pwd} |
|
@ -118,7 +120,7 @@ endif |
|
|
# ${SYSTEM_LD_HEAD}
|
|
|
# ${SYSTEM_LD_HEAD}
|
|
|
# ${SYSTEM_LD}
|
|
|
# ${SYSTEM_LD}
|
|
|
# ${SYSTEM_LD_TAIL}
|
|
|
# ${SYSTEM_LD_TAIL}
|
|
|
SYSTEM_OBJ= start.o crtbegin.o param.o ioconf.o ri.o ${OBJS} ${LIBC} ${LIBM} ${LIBZ} \
|
|
|
SYSTEM_OBJ= ${START} crtbegin.o param.o ioconf.o ri.o ${OBJS} ${LIBC} ${LIBM} ${LIBZ} \
|
|
|
crtend.o |
|
|
crtend.o |
|
|
SYSTEM_DEP= Makefile ${SYSTEM_OBJ} |
|
|
SYSTEM_DEP= Makefile ${SYSTEM_OBJ} |
|
|
SYSTEM_LD_HEAD= rm -f $@ |
|
|
SYSTEM_LD_HEAD= rm -f $@ |
|
@ -192,11 +194,11 @@ links: |
|
|
sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks |
|
|
sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks |
|
|
sh makelinks && rm -f dontlink |
|
|
sh makelinks && rm -f dontlink |
|
|
|
|
|
|
|
|
SRCS= ${TARGET}/Bonito/start.S \
|
|
|
SRCS= ${TARGET}/${SUBTARGET}/start.S \
|
|
|
param.c ioconf.c ri.c ${CFILES} ${SFILES} |
|
|
param.c ioconf.c ri.c ${CFILES} ${SFILES} |
|
|
depend:: .depend |
|
|
depend:: .depend |
|
|
.depend: ${SRCS} param.c |
|
|
.depend: ${SRCS} param.c |
|
|
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${TARGET}/Bonito/start.S |
|
|
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${TARGET}/${SUBTARGET}/start.S |
|
|
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} |
|
|
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} |
|
|
ifneq (${SFILES}, "") |
|
|
ifneq (${SFILES}, "") |
|
|
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES} |
|
|
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES} |
|
@ -208,14 +210,14 @@ autoconf.o conf.o: Makefile |
|
|
# depend on network or filesystem configuration
|
|
|
# depend on network or filesystem configuration
|
|
|
uipc_proto.o vfs_conf.o: Makefile |
|
|
uipc_proto.o vfs_conf.o: Makefile |
|
|
|
|
|
|
|
|
start.o: ${TARGET}/Bonito/start.S Makefile |
|
|
${START}: ${TARGET}/${SUBTARGET}/${START:.o=.S} Makefile |
|
|
${NORMAL_S} |
|
|
${NORMAL_S} |
|
|
|
|
|
|
|
|
zpmon: startz.o |
|
|
zpmon: startz.o |
|
|
rm start.o && cp -f startz.o start.o |
|
|
rm start.o && cp -f startz.o start.o |
|
|
make pmon |
|
|
make pmon |
|
|
make -C ../zboot zpmon |
|
|
make -C ../zboot zpmon |
|
|
startz.o: ${TARGET}/Bonito/startz.S Makefile |
|
|
startz.o: ${TARGET}/${SUBTARGET}/startz.S Makefile |
|
|
${NORMAL_S} |
|
|
${NORMAL_S} |
|
|
|
|
|
|
|
|
%RULES |
|
|
%RULES |
|
|