--- linux-2.5.63/arch/i386/Makefile Mon Feb 17 22:56:11 2003 +++ linux-2.5.63-conf/arch/i386/Makefile Fri Feb 21 15:50:45 2003 @@ -124,3 +124,16 @@ echo ' install to $$(INSTALL_PATH) and run lilo' endef +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