summaryrefslogtreecommitdiff
path: root/distrib/palm
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2011-07-08 21:39:33 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2011-07-08 21:39:33 +0000
commit9bd8584be003206951fc40592b806b6e8403eb6f (patch)
treefeb5841cf8a27b312fd8eaf8b67676c88e4b03d0 /distrib/palm
parent20f2a7c4359811d4c20ec3078b7360cc5a706289 (diff)
Allow the elf rdsetroot operation to function on 32 bit and 64 bit binaries.
Enables developers to build arm ramdisk kernels on amd64 archs OK deraadt@ 'looked fine' miod@
Diffstat (limited to 'distrib/palm')
-rw-r--r--distrib/palm/ramdisk/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/distrib/palm/ramdisk/Makefile b/distrib/palm/ramdisk/Makefile
index 7e03a34deb5..16d50e455b6 100644
--- a/distrib/palm/ramdisk/Makefile
+++ b/distrib/palm/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2011/04/18 16:52:10 thib Exp $
+# $OpenBSD: Makefile,v 1.5 2011/07/08 21:39:32 drahn Exp $
REV= ${OSrev}
@@ -64,7 +64,9 @@ rd_teardown:
-vnconfig -u ${VND}
rdsetroot: ${TOP}/../common/elfrdsetroot.c
- ${HOSTCC} -o rdsetroot ${TOP}/../common/elfrdsetroot.c
+ ${HOSTCC} ${HOSTCFLAGS} -o elfrdsetroot \
+ ${TOP}/../common/elfrdsetroot.c ${TOP}/../common/elf32.c \
+ ${TOP}/../common/elf64.c
unconfig:
-umount -f ${MOUNT_POINT}