diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-09-25 09:01:04 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-09-25 09:01:04 +0000 |
commit | c60458c393b55d9504705533498b27f875701860 (patch) | |
tree | 5115d5b6aae47a50100423669a4044fe68d47d46 /sys/arch/amd64/stand/pxeboot | |
parent | 364f9c056d58d6405fd541d95b067d8af7b7ed8b (diff) |
Reduce the diff between amd64/stand and i386/stand, requested by deraadt@.
These create essentially the same bootblocks, so the build system should not be
diverging too much, or at least easily diffable.
There is still a lot of work to be done here, but this is the low-hanging fruit.
ok jsing@
Diffstat (limited to 'sys/arch/amd64/stand/pxeboot')
-rw-r--r-- | sys/arch/amd64/stand/pxeboot/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/amd64/stand/pxeboot/Makefile b/sys/arch/amd64/stand/pxeboot/Makefile index f550a311c27..b9d7ac538b0 100644 --- a/sys/arch/amd64/stand/pxeboot/Makefile +++ b/sys/arch/amd64/stand/pxeboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2012/08/29 17:45:00 pascal Exp $ +# $OpenBSD: Makefile,v 1.11 2012/09/25 09:01:03 pascal Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -12,8 +12,8 @@ PROG= pxeboot SRCS= srt0.S conf.c devopen.c net.c open.c LD?= ld SIZE?= size -LDFLAGS+=-melf_i386 -nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -noinhibit-exec -LDFLAGS+=-nopie -L/usr/libdata +LDFLAGS+=-nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -noinhibit-exec -nopie +LDFLAGS+=-melf_i386 -L/usr/libdata INSTALL_STRIP= .PATH: ${SADIR}/libsa @@ -62,7 +62,8 @@ NOPROG= CPPFLAGS+=-DBOOTMAGIC=$(BOOTMAGIC) ${DEBUGFLAGS} -DLINKADDR=${LINKADDR} CPPFLAGS+=-DSLOW -DSMALL -DNOBYFOUR -DNO_GZIP -DDYNAMIC_CRC_TABLE CPPFLAGS+=-DHEAP_LIMIT=${HEAP_LIMIT} -I${S}/stand/boot #-DCOMPAT_UFS -CFLAGS+=-m32 $(SACFLAGS) -D__INTERNAL_LIBSA_CREAD -fno-pie +CFLAGS+=-m32 +CFLAGS+=$(SACFLAGS) -D__INTERNAL_LIBSA_CREAD -fno-pie +# AFLAGS+=-Wa,-a AFLAGS+=-m32 # -Wa,-R AFLAGS+=-fno-pie -# AFLAGS+=-Wa,-a |