Make the kernel selectable and the strip action optional.
This commit is contained in:
parent
8772062270
commit
ac269a8a7e
|
@ -1,15 +1,16 @@
|
|||
# $NetBSD: Makefile,v 1.6 1999/06/25 22:32:40 nathanw Exp $
|
||||
# $NetBSD: Makefile,v 1.7 1999/09/02 23:39:43 ross Exp $
|
||||
|
||||
RAMDISK!=cd ${.CURDIR}/../ramdisk; \
|
||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
|
||||
${MAKE} -s -f-
|
||||
|
||||
KERNEL=${.CURDIR}/../../../../sys/arch/alpha/compile/INSTALL/netbsd
|
||||
KERNEL?=${.CURDIR}/../../../../sys/arch/alpha/compile/INSTALL/netbsd
|
||||
STRIP?= strip # make STRIP=echo can be useful
|
||||
|
||||
all:
|
||||
cp ${KERNEL} netbsd
|
||||
mdsetimage -v netbsd ${RAMDISK}
|
||||
strip netbsd
|
||||
${STRIP} netbsd
|
||||
gzip -9f netbsd
|
||||
|
||||
clean cleandir distclean:
|
||||
|
|
Loading…
Reference in New Issue