Keith Owens <[EMAIL PROTECTED]>:
> For kbuild 2.5 I need to add a couple of sub-menus on the end of the
> main menu.  How do I do that?  The "obvious" attempt at extending the
> menu did not work.  I defined rules-2.5.cml containing this
> 
> source "rules.cml"
> 
> symbols
> FOO     'foo'
> BAR     'bar'
> kao     'kao'
> 
> menu kao        # kao
>         FOO
>         BAR
> 
> menu main
>         kao
> 
> It sort of works.  kao appears at the end of the main menu but it
> appears as a data item instead of another menu. 

Yes, that's how it should work -- if you click on `kao' you should
find yourself in the submenu.

>                     Also it is conditioned
> by the visibility of the previous menu (kernel debugging).

That's odd.  I'll try to reproduce that
 
Try this:

source "rules.cml"
 
symbols
FOO     'foo'
BAR     'bar'
 
menu main
         FOO
         BAR

This should add FOO and BAR entries to the main menu.
-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>

"Those who make peaceful revolution impossible 
will make violent revolution inevitable."
        -- John F. Kennedy

_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to