diff options
author | gingold <gingold@cvs.openbsd.org> | 1997-10-16 11:09:41 +0000 |
---|---|---|
committer | gingold <gingold@cvs.openbsd.org> | 1997-10-16 11:09:41 +0000 |
commit | 5b6d08dfc1d239644ed813ab316041f5aa538460 (patch) | |
tree | dfb43244cf697d77aed7a59d0b246a081d6de2e9 /sys/arch | |
parent | e10641d112d8aa22529b6450e062b330d55a781c (diff) |
lines for cross-compilation commented
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/kbus/conf/Makefile.kbus | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/kbus/conf/Makefile.kbus b/sys/arch/kbus/conf/Makefile.kbus index f537691682f..4366749e9e5 100644 --- a/sys/arch/kbus/conf/Makefile.kbus +++ b/sys/arch/kbus/conf/Makefile.kbus @@ -26,7 +26,8 @@ TOUCH= touch -f -c HOSTCC= gcc -HOST=sparc-sun-sunos4- +#HOST=sparc-sun-sunos4- +HOST= AS= $(HOST)as LD= $(HOST)ld CC= $(HOST)gcc @@ -71,8 +72,10 @@ SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o ${LIBKERN} \ ${LIBCOMPAT} SYSTEM_DEP=Makefile ${SYSTEM_OBJS} SYSTEM_LD_HEAD= @echo loading $@; rm -f $@ -SYSTEM_LD= ${LD} -T ${KBUS}/kbus/ldscript -e start -d -o $@ -X ${SYSTEM_OBJS} vers.o -SYSTEM_LD_TAIL= $(HOST)size $@ ; $(HOST)nm -n $@ > SYMMS ; chmod 755 $@; cp $@ /tftpboot +#SYSTEM_LD= ${LD} -T ${KBUS}/kbus/ldscript -e start -d -o $@ -X ${SYSTEM_OBJS} vers.o +SYSTEM_LD= ${LD} -N -p -Ttext FF060000 -e start -o $@ ${SYSTEM_OBJS} vers.o +#SYSTEM_LD_TAIL= $(HOST)size $@ ; $(HOST)nm -n $@ > SYMMS ; chmod 755 $@; cp $@ /tftpboot +SYSTEM_LD_TAIL= $(HOST)size $@ ; $(HOST)nm -n $@ > SYMMS ; chmod 755 $@ %OBJS |