]> git.saurik.com Git - apple/xnu.git/blobdiff - SETUP/config/main.c
xnu-2782.1.97.tar.gz
[apple/xnu.git] / SETUP / config / main.c
index 024b17be8b56b6ae24913165d36814316df2b81a..5dfcf79d606fa25f255732dd13e13ef3bd566a71 100644 (file)
@@ -130,90 +130,10 @@ main(int argc, char *argv[])
        opt = 0;
        if (yyparse())
                exit(3);
-       switch (machine) {
-
-       case MACHINE_VAX:
-               vax_ioconf();           /* Print ioconf.c */
-               ubglue();               /* Create ubglue.s */
-               break;
-
-       case MACHINE_SUN:
-               sun_ioconf();
-               break;
-
-       case MACHINE_SUN2:
-       case MACHINE_SUN3:
-       case MACHINE_SUN4:
-               sun_ioconf();           /* Print ioconf.c */
-               mbglue();               /* Create mbglue.s */
-               break;
-
-       case MACHINE_ROMP:
-               romp_ioconf();
-               break;
-
-       case MACHINE_MMAX:
-               mmax_ioconf();
-               break;
-
-       case MACHINE_SQT:
-               sqt_ioconf();
-               break;
-
-       case MACHINE_I386:
-       case MACHINE_IX:
-               i386_ioconf();
-               break;
-
-       case MACHINE_MIPSY:
-       case MACHINE_MIPS:
-               mips_ioconf();
-               break;
-
-       case MACHINE_I860:
-               /* i860_ioconf(); */
-               break;
-
-       case MACHINE_M68K:
-               m68k_ioconf();
-               break;
-
-       case MACHINE_M88K:
-               m88k_ioconf();
-               break;
-
-       case MACHINE_M98K:
-               m98k_ioconf();
-               break;
-
-       case MACHINE_HPPA:
-               hppa_ioconf();
-               break;
-
-       case MACHINE_SPARC:
-               sparc_ioconf();
-               break;
-
-       case MACHINE_PPC:
-               ppc_ioconf();
-               break;
-
-       case MACHINE_ARM:
-               arm_ioconf();
-               break;
-
-       case MACHINE_X86_64:
-               x86_64_ioconf();
-               break;
-
-       default:
-               printf("Specify machine type, e.g. ``machine vax''\n");
-               exit(1);
-       }
 
+       mkioconf();                     /* ioconf.c */
        makefile();                     /* build Makefile */
        headers();                      /* make a lot of .h files */
-       swapconf();                     /* swap config files */
 
        return 0;
 }