mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] modemmanager: add dependency on libxslt as host-tool
@ 2019-06-16 16:39 Ulrich Ölmann
  2019-06-20 10:11 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Ölmann @ 2019-06-16 16:39 UTC (permalink / raw)
  To: PTXdist Development Mailing List; +Cc: Ulrich Ölmann

xsltproc is needed for header generation.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 rules/modemmanager.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/modemmanager.in b/rules/modemmanager.in
index 50f2d9c6af9d..4cf335efdda3 100644
--- a/rules/modemmanager.in
+++ b/rules/modemmanager.in
@@ -2,6 +2,7 @@
 
 menuconfig MODEMMANAGER
 	tristate
+	select HOST_LIBXSLT
 	select GLIB
 	select UDEV
 	select LIBGUDEV
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] modemmanager: add dependency on libxslt as host-tool
  2019-06-16 16:39 [ptxdist] [PATCH] modemmanager: add dependency on libxslt as host-tool Ulrich Ölmann
@ 2019-06-20 10:11 ` Michael Olbrich
  2019-06-20 12:41   ` Ulrich Ölmann
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2019-06-20 10:11 UTC (permalink / raw)
  To: ptxdist; +Cc: Ulrich Ölmann

On Sun, Jun 16, 2019 at 06:39:34PM +0200, Ulrich Ölmann wrote:
> xsltproc is needed for header generation.

No. The generated header is shipped with the tarball. This is only needed
if the input for this header is modified with a patch.

Btw, you can add this dependency locally without overwriting the whole
modemmanager.in file:

$ cat rules/modemmanager-fixup.in
## SECTION=networking

config MODEMMANAGER
	tristate
	# needed because of local patches
	select HOST_LIBXSLT

Konfig will then merge the two occurrences of the symbol. The original one
will make sure the option is enabled and this will add the extra
dependency.

Michael

> 
> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
> ---
>  rules/modemmanager.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/rules/modemmanager.in b/rules/modemmanager.in
> index 50f2d9c6af9d..4cf335efdda3 100644
> --- a/rules/modemmanager.in
> +++ b/rules/modemmanager.in
> @@ -2,6 +2,7 @@
>  
>  menuconfig MODEMMANAGER
>  	tristate
> +	select HOST_LIBXSLT
>  	select GLIB
>  	select UDEV
>  	select LIBGUDEV
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] modemmanager: add dependency on libxslt as host-tool
  2019-06-20 10:11 ` Michael Olbrich
@ 2019-06-20 12:41   ` Ulrich Ölmann
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Ölmann @ 2019-06-20 12:41 UTC (permalink / raw)
  To: ptxdist

Hi Michael,

On Thu, Jun 20 2019 at 12:11 +0200, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
> On Sun, Jun 16, 2019 at 06:39:34PM +0200, Ulrich Ölmann wrote:
>> xsltproc is needed for header generation.
>
> No. The generated header is shipped with the tarball. This is only needed
> if the input for this header is modified with a patch.

you are right, indeed I have put patches on top of the tarball.
Thanks for clarifying!

> Btw, you can add this dependency locally without overwriting the whole
> modemmanager.in file:
>
> $ cat rules/modemmanager-fixup.in
> ## SECTION=networking
>
> config MODEMMANAGER
> 	tristate
> 	# needed because of local patches
> 	select HOST_LIBXSLT
>
> Konfig will then merge the two occurrences of the symbol. The original one
> will make sure the option is enabled and this will add the extra
> dependency.

Oh, I was unaware of that up to now - very good to know this!

Best regards
Ulrich

> Michael
>
>> 
>> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
>> ---
>>  rules/modemmanager.in | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/rules/modemmanager.in b/rules/modemmanager.in
>> index 50f2d9c6af9d..4cf335efdda3 100644
>> --- a/rules/modemmanager.in
>> +++ b/rules/modemmanager.in
>> @@ -2,6 +2,7 @@
>>  
>>  menuconfig MODEMMANAGER
>>  	tristate
>> +	select HOST_LIBXSLT
>>  	select GLIB
>>  	select UDEV
>>  	select LIBGUDEV
>> -- 
>> 2.20.1
-- 
Pengutronix e.K.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2019-06-20 12:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-16 16:39 [ptxdist] [PATCH] modemmanager: add dependency on libxslt as host-tool Ulrich Ölmann
2019-06-20 10:11 ` Michael Olbrich
2019-06-20 12:41   ` Ulrich Ölmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox