Module Name: src
Committed By: skrll
Date: Sat Nov 7 17:56:14 UTC 2009
Modified Files:
src/sys/arch/hp700/stand/mkboot: Makefile
src/sys/arch/powerpc/stand/mkbootimage: Makefile
Log Message:
Use elf/external.h from new binutils.
XXX do we need a src/tools/compat/elf.h?
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hp700/stand/mkboot/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/powerpc/stand/mkbootimage/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hp700/stand/mkboot/Makefile
diff -u src/sys/arch/hp700/stand/mkboot/Makefile:1.4 src/sys/arch/hp700/stand/mkboot/Makefile:1.5
--- src/sys/arch/hp700/stand/mkboot/Makefile:1.4 Sun Dec 11 12:17:25 2005
+++ src/sys/arch/hp700/stand/mkboot/Makefile Sat Nov 7 17:56:14 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/12/11 12:17:25 christos Exp $
+# $NetBSD: Makefile,v 1.5 2009/11/07 17:56:14 skrll Exp $
NOMAN= # defined
@@ -7,8 +7,9 @@
# We don't use libbfd, but we do use the BFD ELF header files because
# they are somewhat more portable than NetBSD's own elf.h.
-BFDTOP= ${NETBSDSRCDIR}/gnu/dist/binutils
+BFDTOP= ${NETBSDSRCDIR}/external/gpl3/binutils/dist
CPPFLAGS= -I${BFDTOP}/include
+CPPFLAGS+= -DATTRIBUTE_PACKED=
.include <bsd.prog.mk>
Index: src/sys/arch/powerpc/stand/mkbootimage/Makefile
diff -u src/sys/arch/powerpc/stand/mkbootimage/Makefile:1.2 src/sys/arch/powerpc/stand/mkbootimage/Makefile:1.3
--- src/sys/arch/powerpc/stand/mkbootimage/Makefile:1.2 Wed Apr 30 21:15:33 2008
+++ src/sys/arch/powerpc/stand/mkbootimage/Makefile Sat Nov 7 17:56:14 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/04/30 21:15:33 garbled Exp $
+# $NetBSD: Makefile,v 1.3 2009/11/07 17:56:14 skrll Exp $
BINDIR= /usr/mdec
PROG= mkbootimage
@@ -7,13 +7,14 @@
# We don't use libbfd, but we do use the BFD ELF header files because
# they are somewhat more portable than NetBSD's own elf.h.
-BFDTOP= ${NETBSDSRCDIR}/gnu/dist/binutils
+BFDTOP= ${NETBSDSRCDIR}/external/gpl3/binutils/dist
LIBSA=${.CURDIR}/../../../../lib/libsa
.PATH.c: ${LIBSA}
CPPFLAGS= -I${LIBSA} -I${.CURDIR} -I${BFDTOP}/include
+CPPFLAGS+= -DATTRIBUTE_PACKED=
DPADD= ${LIBZ}
LDADD= -lz