Build a raw binary format GENERIC kernel and put it into distribution dir.

This would make it possible to create a bootable CD using root on gdrom
without toolchain (i.e. without whole src tree).
This commit is contained in:
tsutsui 2010-10-04 16:03:30 +00:00
parent 16da219b65
commit 424c2d5c6b
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.3 2007/07/24 10:49:24 pavel Exp $
# $NetBSD: Makefile.inc,v 1.4 2010/10/04 16:03:30 tsutsui Exp $
#
# etc.dreamcast/Makefile.inc -- dreamcast-specific etc Makefile targets
#
@ -7,5 +7,6 @@
# to update the release documentation in distrib/notes/common/contents
KERNEL_SETS= GENERIC
KERNEL_SUFFIXES= bin
BUILD_KERNELS= GENERIC_MD

View File

@ -1,6 +1,11 @@
# $NetBSD: Makefile.dreamcast.inc,v 1.10 2010/07/06 05:59:59 mrg Exp $
# $NetBSD: Makefile.dreamcast.inc,v 1.11 2010/10/04 16:03:30 tsutsui Exp $
MACHINE_ARCH=sh3el
TEXTADDR?=8c010000
LINKFORMAT= -N
SYSTEM_LD_TAIL_EXTRA+=; \
echo ${OBJCOPY} -O binary $@ $@.bin; \
${OBJCOPY} -O binary $@ $@.bin; \
chmod 755 $@.bin