makeconf revision 1.2
11.1Sleo#!/bin/sh 21.2Sleo# $NetBSD: makeconf,v 1.2 2001/04/10 05:52:15 leo Exp $ 31.1Sleo 41.1Sleoemit_file() { 51.1Sleo echo "Generating $1" 61.1Sleo echo '# 71.2Sleo# $NetBSD: makeconf,v 1.2 2001/04/10 05:52:15 leo Exp $ 81.1Sleo# 91.1Sleo# This file was automatically created. Changes will be 101.1Sleo# lost when running makeconf in this directory. 111.1Sleo# 121.1Sleo# Created from: ' > $1 131.2Sleo grep -h '$NetBSD' $2 GENERIC.in | sed -e 's/\$NetBSD/ NetBSD/' >> $1 141.1Sleo cpp -undef -P $3 2>/dev/null < $2 | 151.1Sleo sed -e '/\$NetBSD:/d' | 161.1Sleo awk '{if (NF>1)count=0;else count++;if(count<=1)print}' >> $1 171.1Sleo} 181.1Sleo 191.1Sleoemit_file BOOT FALCON.in "-DINSTALL_KERNEL -DTT030_KERNEL -DFALCON_KERNEL" 201.1Sleoemit_file BOOTX FALCON.in \ 211.1Sleo "-DINSTALL_KERNEL -DINSTALLX_KERNEL -DTT030_KERNEL -DFALCON_KERNEL" 221.1Sleoemit_file ATARITT ATARITT.in "-DTT030_KERNEL" 231.1Sleoemit_file FALCON FALCON.in "-DFALCON_KERNEL" 241.1Sleoemit_file HADES HADES.in "-DHADES_KERNEL" 251.1Sleo 26