NetBSD/sys/arch/dreamcast/conf/Makefile.dreamcast.inc
tsutsui 424c2d5c6b 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).
2010-10-04 16:03:30 +00:00

12 lines
263 B
PHP

# $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