[BACK]Return to makeconf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / atari / conf

File: [cvs.NetBSD.org] / src / sys / arch / atari / conf / makeconf (download)

Revision 1.3, Tue Apr 10 05:56:25 2001 UTC (22 years, 11 months ago) by leo
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: thorpej_scsipi
Changes since 1.2: +3 -3 lines

Add a config file for the Milan. Note that you cannot build a working Milan
kernel yet. There are still quite some bits missing in the repository.

#!/bin/sh
#	$NetBSD: makeconf,v 1.3 2001/04/10 05:56:25 leo Exp $

emit_file() {
	echo "Generating $1"
	echo '#
# $NetBSD: makeconf,v 1.3 2001/04/10 05:56:25 leo Exp $
#
# This file was automatically created. Changes will be
# lost when running makeconf in this directory.
#
# Created from: ' > $1
	grep -h '$NetBSD' $2 GENERIC.in | sed -e 's/\$NetBSD/	NetBSD/' >> $1
	cpp -undef -P $3 2>/dev/null < $2 |
		sed -e '/\$NetBSD:/d' |
		awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $1
}
	
emit_file BOOT FALCON.in "-DINSTALL_KERNEL -DTT030_KERNEL -DFALCON_KERNEL"
emit_file BOOTX FALCON.in \
	"-DINSTALL_KERNEL -DINSTALLX_KERNEL -DTT030_KERNEL -DFALCON_KERNEL"
emit_file ATARITT ATARITT.in "-DTT030_KERNEL"
emit_file FALCON FALCON.in "-DFALCON_KERNEL"
emit_file HADES HADES.in "-DHADES_KERNEL"
emit_file MILAN MILAN.in "-DMILAN_KERNEL"