linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* workaround for broken 'make xconfig' on ppc
@ 1998-12-23  5:08 Troy Benjegerdes
  1998-12-23 15:06 ` Randy Gobbel
  0 siblings, 1 reply; 3+ messages in thread
From: Troy Benjegerdes @ 1998-12-23  5:08 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: apenwarr, eric


After using make xconfig on i386 earlier today, I finally decided to
figure out why it's broke on PPC. I found that there's something not
working right in scripts/tkgen.c where 'global CONFIG_SOUND' isn't being
put into the tk script in the 'update_mainmenu' function.

This cause the script to bomb with a 'can't find variable $CONFIG_SOUND'
error.

This doesn't show up on i386 since CONFIG_SOUND isn't the last item, like
it is on PPC.

By adding the following to linux/arch/ppc/, make xconfig now works:

-----

mainmenu_option next_comment
comment 'make Xconfig is broken'
bool 'Xconfig is broken' CONFIG_BROKEN_XCONFIG
endmenu  

--------------------------------------------------------------------------
| Troy Benjegerdes    |       troy@microux.com     |    hozer@drgw.net   |
|    Unix is user friendly... You just have to be friendly to it first.  |
| This message composed with 100% free software.    http://www.gnu.org   |
--------------------------------------------------------------------------


[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: workaround for broken 'make xconfig' on ppc
  1998-12-23  5:08 workaround for broken 'make xconfig' on ppc Troy Benjegerdes
@ 1998-12-23 15:06 ` Randy Gobbel
  1998-12-23 21:14   ` Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Gobbel @ 1998-12-23 15:06 UTC (permalink / raw)
  To: Troy Benjegerdes; +Cc: linuxppc-dev, apenwarr, eric


Troy Benjegerdes wrote:
> 
> After using make xconfig on i386 earlier today, I finally decided to
> figure out why it's broke on PPC. I found that there's something not
> working right in scripts/tkgen.c where 'global CONFIG_SOUND' isn't being
> put into the tk script in the 'update_mainmenu' function.
> 
> This cause the script to bomb with a 'can't find variable $CONFIG_SOUND'
> error.
> 
> This doesn't show up on i386 since CONFIG_SOUND isn't the last item, like
> it is on PPC.
> 
> By adding the following to linux/arch/ppc/, make xconfig now works:
> 
> -----
> 
> mainmenu_option next_comment
> comment 'make Xconfig is broken'
> bool 'Xconfig is broken' CONFIG_BROKEN_XCONFIG
> endmenu

I submitted a fix for this a while ago, not sure why it hasn't been
checked in (I don't have write access to vger).  Here's the patch.  I
have tested this on both PPC and x86, and it works for me--I have not
had any problem with make xconfig for a while.  If someone could check
this in to vger I'd appreciate it (and so would a bunch of other
people).

-Randy

Index: scripts/tkgen.c
===================================================================
RCS file: /cvsroot/linux/scripts/tkgen.c,v
retrieving revision 1.22
diff -c -r1.22 tkgen.c
*** tkgen.c     1998/07/26 06:09:03     1.22
--- tkgen.c     1998/11/11 22:39:21
***************
*** 913,918 ****
--- 913,919 ----
     * correct.
     */
    printf("proc update_mainmenu {w}  {\n");
+   clear_globalflags(scfg);
    for(cfg = scfg; cfg != NULL; cfg = cfg->next)
      {
        switch (cfg->tok)

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: workaround for broken 'make xconfig' on ppc
  1998-12-23 15:06 ` Randy Gobbel
@ 1998-12-23 21:14   ` Geert Uytterhoeven
  0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 1998-12-23 21:14 UTC (permalink / raw)
  To: Randy Gobbel; +Cc: Linux/PPC Development


On Wed, 23 Dec 1998, Randy Gobbel wrote:
> I submitted a fix for this a while ago, not sure why it hasn't been
> checked in (I don't have write access to vger).  Here's the patch.  I
> have tested this on both PPC and x86, and it works for me--I have not
> had any problem with make xconfig for a while.  If someone could check
> this in to vger I'd appreciate it (and so would a bunch of other
> people).

Why not send it to linux-kernel@vger.rutgers.edu and/or Linus?

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium



[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-12-23 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-23  5:08 workaround for broken 'make xconfig' on ppc Troy Benjegerdes
1998-12-23 15:06 ` Randy Gobbel
1998-12-23 21:14   ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).