summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2013-06-03 21:08:23 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2013-06-03 21:08:23 +0000
commit23d5e5008a302ee674313c3fdc2fd412cf611a79 (patch)
tree06e6f9102d278408d997842641005d4764a3d10e /distrib
parent543787b454022b7705a76bb8570ee9a8b48ecc82 (diff)
Put a kernel into the miniroot that actually boots.
OK bmercer@, patrick@, jasper@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/beagle/miniroot/Makefile.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/beagle/miniroot/Makefile.inc b/distrib/beagle/miniroot/Makefile.inc
index 2661a98187e..eead170f18e 100644
--- a/distrib/beagle/miniroot/Makefile.inc
+++ b/distrib/beagle/miniroot/Makefile.inc
@@ -30,10 +30,10 @@ ${IMAGE}: rd_setup do_files rd_teardown
.endif
bsd:
- cd ${.CURDIR}/../../../../sys/arch/beagle/conf && config RAMDISK
- cd ${.CURDIR}/../../../../sys/arch/beagle/compile/RAMDISK && \
- ${MAKE} clean && COPTS=-Os exec make bsd.umg
- cp ${.CURDIR}/../../../../sys/arch/beagle/compile/RAMDISK/bsd.umg bsd
+ objcopy -O binary ${.CURDIR}/../../ramdisk/obj/bsd.rd \
+ ${.CURDIR}/bsd.rd.img
+ mkuboot -a arm -o linux -e 0x80300000 -l 0x80300000 \
+ ${.CURDIR}/bsd.rd.img ${.CURDIR}/bsd
do_files: bsd
cp ${.CURDIR}/bsd ${MOUNT_POINT}/bsd.umg