NetBSD/sys/arch/news68k/stand/Makefile.inc
joerg 3c550524b5 Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
2011-01-22 19:19:14 +00:00

24 lines
457 B
Makefile

# $NetBSD: Makefile.inc,v 1.9 2011/01/22 19:19:20 joerg Exp $
BINDIR= /usr/mdec
CFLAGS+= -ffreestanding
# if there is a 'version' file, add rule for vers.c and add it to SRCS
# and CLEANFILES
.if exists(version)
.PHONY: vers.c
vers.c: version
${_MKTARGET_CREATE}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE}
SRCS+= vers.c
CLEANFILES+= vers.c
.endif
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=