summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.y
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-06-09 14:02:08 +0000
committerdfr <dfr@FreeBSD.org>1998-06-09 14:02:08 +0000
commit9d3db765ca348dc273a136848d1d42795119d828 (patch)
treeb46c3f8bab6df5cdaff202789c82b429c5a15e13 /usr.sbin/config/config.y
parenta89f496cbf1aff49309b74d4f717d397d95dd30b (diff)
downloadFreeBSD-src-9d3db765ca348dc273a136848d1d42795119d828.zip
FreeBSD-src-9d3db765ca348dc273a136848d1d42795119d828.tar.gz
Add (mostly stub) alpha support. Incidentally, it doesn't build on stable
unless I manually construct y.tab.h. Is this normal?
Diffstat (limited to 'usr.sbin/config/config.y')
-rw-r--r--usr.sbin/config/config.y6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index 9ad7b0d..845ee65 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -117,6 +117,9 @@
#include <sys/disklabel.h>
#include <sys/diskslice.h>
+#ifdef linux
+#include <sys/sysmacros.h>
+#endif
#include <ctype.h>
#include <err.h>
@@ -189,6 +192,9 @@ Config_spec:
} else if (!strcmp($2, "news3400")) {
machine = MACHINE_NEWS3400;
machinename = "news3400";
+ } else if (!strcmp($2, "alpha")) {
+ machine = MACHINE_ALPHA;
+ machinename = "alpha";
} else
yyerror("Unknown machine type");
} |
OpenPOWER on IntegriCloud