--- toast	2004/03/06 06:43:10	1.306
+++ toast	2004/03/06 22:10:11	1.307
@@ -2745,8 +2745,9 @@
     my($ehdir) = defined($hdrdir) ? (shellescape($hdrdir)) : ();
     my($mftext) = "# $genby\n\nall:\n\t\$(MAKE) -C $emdir\n\n" .
         "install:\n\t\$(MAKE) -C $emdir\n";
-    $mftext .= "\t\(cd $ehdir && tar c include/linux include/asm/.) |" .
-        " (cd \$(DESTDIR) && tar x)\n" if $ehdir;
+    my($inclist) = "include/linux include/asm/. include/asm-generic";
+    $mftext .= "\t\(cd $ehdir && tar c $inclist) | (cd \$(DESTDIR) && tar x)\n"
+        if $ehdir;
     writefile(path($dir, "Makefile"), $mftext);
 
     my(@confcmd) = ("../configure", "--prefix=$prefix");