--- linux-2.5.63/arch/arm/Makefile Mon Feb 17 22:56:11 2003 +++ linux-2.5.63-conf/arch/arm/Makefile Fri Feb 21 16:00:12 2003 @@ -226,3 +226,18 @@ echo ' (distribution) /sbin/installkernel or' 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 zImage\\', \\'make Image\\', \\'make bootpImage\\', \\'make initrd\\',\n"; \ + echo -n "\\'make install\\', \\'make zinstall\\',"; \ + echo '";'; \ + echo ""; \ + echo "#endif"; ) +endef