From mboxrd@z Thu Jan 1 00:00:00 1970 From: pauln@truemesh.com Subject: Re: Compile problems - keymap stuff (ho, humm) Date: Wed, 24 Apr 2002 20:12:29 +0100 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20020424191229.GB14714@raq465.uk2net.com> References: <20020424184032.GA19860@raq465.uk2net.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="uQr8t48UFsdbeI+V" Return-path: Content-Disposition: inline In-Reply-To: <20020424184032.GA19860@raq465.uk2net.com> List-Id: To: linux-8086@vger.kernel.org --uQr8t48UFsdbeI+V Content-Type: message/rfc822 Content-Disposition: inline [Would help if I replied to list, apologies if this appears twice, etc] I'll take my muppet hat off now :) On Wed, Apr 24, 2002 at 07:40:32PM +0100, pauln@truemesh.com wrote: > Dev86 0.16.0 > elks cvs > egcs-2.91.66 > > Don't have time to look right now: I lied :) The mkcfg script was creating a blank Config.in, This seems to be as it is being clobbered by the Config.tmp file ./mkcfg auto directs to config.in The Makefile automatically clobbers this by redirecting the output to Config.tmp then mv'ing it into place. I enclose a patch that strips the redirects to Config.in Paul --uQr8t48UFsdbeI+V Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mkcfg.patch" Index: mkcfg =================================================================== RCS file: /cvsroot/elks/elks/arch/i86/drivers/char/KeyMaps/mkcfg,v retrieving revision 1.1 diff -u -r1.1 mkcfg --- mkcfg 24 Apr 2002 17:47:04 -0000 1.1 +++ mkcfg 24 Apr 2002 19:08:51 -0000 @@ -11,7 +11,7 @@ local CODE FILE NAME SEP='"' while read FILE CODE NAME ; do - printf '\t\\\n\t%-12s\tCONFIG_KEYMAP_%s' >> Config.in \ + printf '\t\\\n\t%-12s\tCONFIG_KEYMAP_%s' \ "${SEP}${NAME}" "${CODE}" SEP=' ' printf '#include "%s"\t\t/* %s\t%-9s\t*/\n' >> keymaps.h \ @@ -20,7 +20,7 @@ } printf '/* Automatically created - do not edit */\n\n' > keymaps.h -printf '# Automatically created - do not edit.\n\n' > Config.in -printf "choice 'XT Keyboard support'\t\t" >> Config.in +printf '# Automatically created - do not edit.\n\n' +printf "choice 'XT Keyboard support'\t\t" codes | sort +1f | process -printf '"\t\tAmerican\n\n# EOF.\n' >> Config.in +printf '"\t\tAmerican\n\n# EOF.\n' --uQr8t48UFsdbeI+V--