--- linux-2.5.63/arch/x86_64/Makefile Mon Feb 17 22:56:54 2003 +++ linux-2.5.63-conf/arch/x86_64/Makefile Fri Feb 21 16:02:00 2003 @@ -106,4 +106,16 @@ CLEAN_FILES += arch/$(ARCH)/boot/fdimage arch/$(ARCH)/boot/mtools.conf - +define generate_kconfig_arch.h +( echo "#ifndef ARCH_H"; \ + echo "#define ARCH_H"; \ + echo "/*"; \ + echo " * This file was automatically generated"; \ + echo " */"; \ + echo ""; \ + echo -n 'static const char arch_maketargets[] = "'; \ + echo -n "\\'make bzImage\\', \\'make install\\',"; \ + echo '";'; \ + echo ""; \ + echo "#endif"; ) +endef