diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-07-10 04:03:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-07-10 04:03:24 +0000 |
commit | 0385d57b1538aa4f7e3a1ccd2394449b39cb6aab (patch) | |
tree | d0a303d7d67b11b5053bdaa6d8f64839c4e78f60 /distrib/hppa | |
parent | b41e8bdaa29ca31c449e144f336f22a22123226f (diff) |
match latest change by distrib/ramdisk, for extra elfrdsetroot files
Diffstat (limited to 'distrib/hppa')
-rw-r--r-- | distrib/hppa/ramdisk/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/distrib/hppa/ramdisk/Makefile b/distrib/hppa/ramdisk/Makefile index 2f99fded8c8..fc405fe8c6b 100644 --- a/distrib/hppa/ramdisk/Makefile +++ b/distrib/hppa/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.23 2011/04/18 16:52:09 thib Exp $ +# $OpenBSD: Makefile,v 1.24 2011/07/10 04:03:23 deraadt Exp $ CBIN= instbin ARCHDIR= ${.CURDIR}/.. @@ -21,6 +21,7 @@ IMAGE?= ramdisk${REV}.fs IMAGESIZE?= 4608 # 2.25MB in 512 byte blocks NEWFS_WILL_FAIL?=false RDSETROOT?= elfrdsetroot +RDSETROOT_EXT_SRC=${.CURDIR}/../../common/elf32.c ${.CURDIR}/../../common/elf64.c CRUNCHGENOPTS?=-E KERNEL?= RAMDISK UTILS?= ${.CURDIR}/../../miniroot @@ -73,8 +74,9 @@ bsd.rd: obsd ${IMAGE} ${RDSETROOT} bsd: bsd.rd ${GZIPCMD} ${GZIPFLAGS} < bsd.rd > bsd -${RDSETROOT}: ${.CURDIR}/../../common/${RDSETROOT}.c - ${HOSTCC} ${HOSTCCFLAGS} -o ${RDSETROOT} $< +${RDSETROOT}: ${.CURDIR}/../../common/${RDSETROOT}.c ${RDSETROOT_EXT_SRC} + ${HOSTCC} ${HOSTCCFLAGS} -o ${RDSETROOT} ${RDSETROOT_EXT_SRC} \ + ${.CURDIR}/../../common/${RDSETROOT}.c ${IMAGE}: ${CBIN} dd if=/dev/zero of=${REALIMAGE} count=${IMAGESIZE} |