* [ptxdist] Question to BUILDTIME
@ 2019-06-27 13:25 Denis OSTERLAND
2019-06-28 7:12 ` Michael Olbrich
0 siblings, 1 reply; 5+ messages in thread
From: Denis OSTERLAND @ 2019-06-27 13:25 UTC (permalink / raw)
To: ptxdist
Hi,
select <pkg> if BUILDTIME
works only if <pkg> has no prompt, correct?
Regards Denis
Diehl Connectivity Solutions GmbH
Geschäftsführung: Horst Leonberger
Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
Nürnberg: HRB 32315
___________________________________________________________________________________________________
Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
- Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie unter https://www.diehl.com/group/de/transparenz-und-informationspflichten/
The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by
mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.
- For general information on data protection and your respective rights please visit https://www.diehl.com/group/en/transparency-and-information-obligations/
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] Question to BUILDTIME
2019-06-27 13:25 [ptxdist] Question to BUILDTIME Denis OSTERLAND
@ 2019-06-28 7:12 ` Michael Olbrich
2019-06-28 8:14 ` Denis OSTERLAND
0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2019-06-28 7:12 UTC (permalink / raw)
To: ptxdist
Hi,
On Thu, Jun 27, 2019 at 01:25:50PM +0000, Denis OSTERLAND wrote:
> select <pkg> if BUILDTIME
>
> works only if <pkg> has no prompt, correct?
No, 'if BUILDTIME' can be used with any package. It just means, that The
packages will be ordered accordingly at build-time but no dependency will
be added to the resulting .ipk File.
Michael
--
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] 5+ messages in thread
* Re: [ptxdist] Question to BUILDTIME
2019-06-28 7:12 ` Michael Olbrich
@ 2019-06-28 8:14 ` Denis OSTERLAND
2019-06-28 14:23 ` Michael Olbrich
0 siblings, 1 reply; 5+ messages in thread
From: Denis OSTERLAND @ 2019-06-28 8:14 UTC (permalink / raw)
To: ptxdist
Hi,
Am Freitag, den 28.06.2019, 09:12 +0200 schrieb Michael Olbrich:
> Hi,
>
> On Thu, Jun 27, 2019 at 01:25:50PM +0000, Denis OSTERLAND wrote:
> >
> > select <pkg> if BUILDTIME
> >
> > works only if <pkg> has no prompt, correct?
> No, 'if BUILDTIME' can be used with any package. It just means, that The
> packages will be ordered accordingly at build-time but no dependency will
> be added to the resulting .ipk File.
This was how I understand it two.
The last time I used this feature is to long ago, to be sure ;-)
With recent release (ptxdist-2019.06.0) the package gets installed until I remove prompt line.
I try to pin my problem down.
Where is the post processing which removes the dependencies with BUILDTIME?
I mean, in 'scripts/lib/ptxd_lib_dgen.sh' there is 'PTXDIST_DEP_TARGET="run" ptxd_kconfig_dep_all "${config[@]}"',
but the automatically selected package will stick if it has a prompt.
Regards Denis
>
>
> Michael
>
Diehl Connectivity Solutions GmbH
Geschäftsführung: Horst Leonberger
Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
Nürnberg: HRB 32315
___________________________________________________________________________________________________
Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
- Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie unter https://www.diehl.com/group/de/transparenz-und-informationspflichten/
The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by
mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.
- For general information on data protection and your respective rights please visit https://www.diehl.com/group/en/transparency-and-information-obligations/
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] Question to BUILDTIME
2019-06-28 8:14 ` Denis OSTERLAND
@ 2019-06-28 14:23 ` Michael Olbrich
2019-06-28 15:04 ` Denis OSTERLAND
0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2019-06-28 14:23 UTC (permalink / raw)
To: ptxdist
Hi,
On Fri, Jun 28, 2019 at 08:14:09AM +0000, Denis OSTERLAND wrote:
> Am Freitag, den 28.06.2019, 09:12 +0200 schrieb Michael Olbrich:
> > On Thu, Jun 27, 2019 at 01:25:50PM +0000, Denis OSTERLAND wrote:
> > >
> > > select <pkg> if BUILDTIME
> > >
> > > works only if <pkg> has no prompt, correct?
> > No, 'if BUILDTIME' can be used with any package. It just means, that The
> > packages will be ordered accordingly at build-time but no dependency will
> > be added to the resulting .ipk File.
> This was how I understand it two.
> The last time I used this feature is to long ago, to be sure ;-)
> With recent release (ptxdist-2019.06.0) the package gets installed until I remove prompt line.
>
> I try to pin my problem down.
> Where is the post processing which removes the dependencies with BUILDTIME?
> I mean, in 'scripts/lib/ptxd_lib_dgen.sh' there is 'PTXDIST_DEP_TARGET="run" ptxd_kconfig_dep_all "${config[@]}"',
> but the automatically selected package will stick if it has a prompt.
I think I understand way you're trying to do. Consider this example:
config FOO
tristate
select BAR if BUILDTIME
prompt "foo"
If 'foo' is enabled, then so is 'bar'. This means both symbols are enabled
in the ptxconfig. This also means that both packages will be in the default
package ist for the rootfs. That cannot be changed.
What 'if BUILDTIME' means is, that
1. The make dependencies are a bit more relaxed, which can improve the
build time.
2. There is no dependency for this in the ipkg. So you could remove the
package 'bar' at runtime without removing 'foo'.
Creating an image with 'foo' but without 'bar' is not easily done. I
suppose you could create your own image with:
IMAGE_BLA_PKGS := $(filter-out bar,$(PTX_PACKAGES_INSTALL))
Regards,
Michael
--
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] 5+ messages in thread
* Re: [ptxdist] Question to BUILDTIME
2019-06-28 14:23 ` Michael Olbrich
@ 2019-06-28 15:04 ` Denis OSTERLAND
0 siblings, 0 replies; 5+ messages in thread
From: Denis OSTERLAND @ 2019-06-28 15:04 UTC (permalink / raw)
To: ptxdist
Hi Michael,
seems my mind tricked my.
Thanks for the explanation.
Regards Denis
Am Freitag, den 28.06.2019, 16:23 +0200 schrieb Michael Olbrich:
> Hi,
>
> On Fri, Jun 28, 2019 at 08:14:09AM +0000, Denis OSTERLAND wrote:
> >
> > Am Freitag, den 28.06.2019, 09:12 +0200 schrieb Michael Olbrich:
> > >
> > > On Thu, Jun 27, 2019 at 01:25:50PM +0000, Denis OSTERLAND wrote:
> > > >
> > > >
> > > > select <pkg> if BUILDTIME
> > > >
> > > > works only if <pkg> has no prompt, correct?
> > > No, 'if BUILDTIME' can be used with any package. It just means, that The
> > > packages will be ordered accordingly at build-time but no dependency will
> > > be added to the resulting .ipk File.
> > This was how I understand it two.
> > The last time I used this feature is to long ago, to be sure ;-)
> > With recent release (ptxdist-2019.06.0) the package gets installed until I remove prompt line.
> >
> > I try to pin my problem down.
> > Where is the post processing which removes the dependencies with BUILDTIME?
> > I mean, in 'scripts/lib/ptxd_lib_dgen.sh' there is 'PTXDIST_DEP_TARGET="run" ptxd_kconfig_dep_all "${config[@]}"',
> > but the automatically selected package will stick if it has a prompt.
> I think I understand way you're trying to do. Consider this example:
>
> config FOO
> tristate
> select BAR if BUILDTIME
> prompt "foo"
>
> If 'foo' is enabled, then so is 'bar'. This means both symbols are enabled
> in the ptxconfig. This also means that both packages will be in the default
> package ist for the rootfs. That cannot be changed.
> What 'if BUILDTIME' means is, that
> 1. The make dependencies are a bit more relaxed, which can improve the
> build time.
> 2. There is no dependency for this in the ipkg. So you could remove the
> package 'bar' at runtime without removing 'foo'.
>
> Creating an image with 'foo' but without 'bar' is not easily done. I
> suppose you could create your own image with:
>
> IMAGE_BLA_PKGS := $(filter-out bar,$(PTX_PACKAGES_INSTALL))
>
> Regards,
> Michael
>
Diehl Connectivity Solutions GmbH
Geschäftsführung: Horst Leonberger
Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
Nürnberg: HRB 32315
___________________________________________________________________________________________________
Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
- Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie unter https://www.diehl.com/group/de/transparenz-und-informationspflichten/
The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by
mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.
- For general information on data protection and your respective rights please visit https://www.diehl.com/group/en/transparency-and-information-obligations/
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-06-28 15:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-27 13:25 [ptxdist] Question to BUILDTIME Denis OSTERLAND
2019-06-28 7:12 ` Michael Olbrich
2019-06-28 8:14 ` Denis OSTERLAND
2019-06-28 14:23 ` Michael Olbrich
2019-06-28 15:04 ` Denis OSTERLAND
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox