From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Cc: Moritz Warning <m.warning@meteocontrol.de>
Subject: Re: [ptxdist] custom menu
Date: Tue, 09 Jun 2015 14:24:27 +0200 [thread overview]
Message-ID: <d5c466efe8c8ab0c5490537b70075390@localhost> (raw)
In-Reply-To: <5576C780.8090409@meteocontrol.de>
Hei hei,
Am 2015-06-09 13:01, schrieb Moritz Warning:
> I tried to create a custom menu entry and created a file rules/Kconfig:
You don't need to.
> There are also a few rules/*.in files containing "##
> SECTION=project_specific" on top. But no change in the
> menu can be seen.
Without changes in some Kconfig this should lead to showing those
packages at the top of the menuconfig.
> Any ideas?
> (do not laugh, it is ptxdist-2012.03.0)
We already told you in IRC this is not recommended. ;-) But I think the
menu mechanism was not touched and should work with your BSP, too.
Besides: I have one rule in my BSP, containing "project_specific" in the
first line and it looks somewhat like the following:
## SECTION=project_specific
menuconfig MY_DEVICE
bool
select FOO
select BAR
prompt "my Device "
default y
if MY_DEVICE
choice
prompt "baz"
config OPT_THIS
bool
prompt "this "
config OPT_THAT
bool
prompt "that "
endchoice
menu "First submenu "
source "generated/firstsubmenu.in"
endmenu
source "generated/anotherthing.in"
endif
# vim: ft=kconfig noet tw=72
This firstsubmenu.in however is not there as a file but I have other
rules starting with '## SECTION=firstsubmenu' which are put there
automatically.
This way the menuconfig is not filled with all my packages but with one
additional submenu where I can put under all my other stuff.
HTH & Greets
Alex
--
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 ***
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2015-06-09 12:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 11:01 Moritz Warning
2015-06-09 11:49 ` Moritz Warning
2015-06-09 12:24 ` Alexander Dahl [this message]
2015-06-09 13:29 ` Moritz Warning
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d5c466efe8c8ab0c5490537b70075390@localhost \
--to=post@lespocky.de \
--cc=m.warning@meteocontrol.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox