* [Buildroot] [RFC 1/1] docs/adding-packages-generic.txt: Add note if package does not use source @ 2019-04-17 7:17 Vadim Kochan 2019-04-17 21:30 ` Arnout Vandecappelle 0 siblings, 1 reply; 3+ messages in thread From: Vadim Kochan @ 2019-04-17 7:17 UTC (permalink / raw) To: buildroot Add some description how to allow to add package which does not need any source code. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> --- docs/manual/adding-packages-generic.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt index 7be1754f54..96a57a519a 100644 --- a/docs/manual/adding-packages-generic.txt +++ b/docs/manual/adding-packages-generic.txt @@ -223,8 +223,13 @@ not and can not work as people would expect it should: which Buildroot will use to download the tarball from +LIBFOO_SITE+. If +HOST_LIBFOO_SOURCE+ is not specified, it defaults to +LIBFOO_SOURCE+. If none are specified, then the value is assumed - to be +libfoo-$(LIBFOO_VERSION).tar.gz+. + - Example: +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+ + to be +libfoo-$(LIBFOO_VERSION).tar.gz+. + In case when the package does not use any source code (e.g. only performs + some target/host altering), then +LIBFOO_SOURCE+ should be specified + with empty value. + + Examples: + +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+ + +LIBFOO_SOURCE = * +LIBFOO_PATCH+ may contain a space-separated list of patch file names, that Buildroot will download and apply to the package source -- 2.14.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [RFC 1/1] docs/adding-packages-generic.txt: Add note if package does not use source 2019-04-17 7:17 [Buildroot] [RFC 1/1] docs/adding-packages-generic.txt: Add note if package does not use source Vadim Kochan @ 2019-04-17 21:30 ` Arnout Vandecappelle 2019-04-17 21:48 ` Vadim Kochan 0 siblings, 1 reply; 3+ messages in thread From: Arnout Vandecappelle @ 2019-04-17 21:30 UTC (permalink / raw) To: buildroot On 17/04/2019 09:17, Vadim Kochan wrote: > Add some description how to allow to add package which does not need > any source code. > > Signed-off-by: Vadim Kochan <vadim4j@gmail.com> > --- > docs/manual/adding-packages-generic.txt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt > index 7be1754f54..96a57a519a 100644 > --- a/docs/manual/adding-packages-generic.txt > +++ b/docs/manual/adding-packages-generic.txt > @@ -223,8 +223,13 @@ not and can not work as people would expect it should: > which Buildroot will use to download the tarball from > +LIBFOO_SITE+. If +HOST_LIBFOO_SOURCE+ is not specified, it defaults > to +LIBFOO_SOURCE+. If none are specified, then the value is assumed > - to be +libfoo-$(LIBFOO_VERSION).tar.gz+. + > - Example: +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+ > + to be +libfoo-$(LIBFOO_VERSION).tar.gz+. > + In case when the package does not use any source code (e.g. only performs > + some target/host altering), then +LIBFOO_SOURCE+ should be specified > + with empty value. + > + Examples: > + +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+ > + +LIBFOO_SOURCE = I'm probably stupid, but when is this needed? E.g. skeleton-init-sysv doesn't have any code, and it doesn't set _SOURCE to empty... Regards, Arnout > > * +LIBFOO_PATCH+ may contain a space-separated list of patch file > names, that Buildroot will download and apply to the package source > ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [RFC 1/1] docs/adding-packages-generic.txt: Add note if package does not use source 2019-04-17 21:30 ` Arnout Vandecappelle @ 2019-04-17 21:48 ` Vadim Kochan 0 siblings, 0 replies; 3+ messages in thread From: Vadim Kochan @ 2019-04-17 21:48 UTC (permalink / raw) To: buildroot Hi Arnout, All, On Wed, Apr 17, 2019 at 11:30:56PM +0200, Arnout Vandecappelle wrote: > > > On 17/04/2019 09:17, Vadim Kochan wrote: > > Add some description how to allow to add package which does not need > > any source code. > > > > Signed-off-by: Vadim Kochan <vadim4j@gmail.com> > > --- > > docs/manual/adding-packages-generic.txt | 9 +++++++-- > > 1 file changed, 7 insertions(+), 2 deletions(-) > > > > diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt > > index 7be1754f54..96a57a519a 100644 > > --- a/docs/manual/adding-packages-generic.txt > > +++ b/docs/manual/adding-packages-generic.txt > > @@ -223,8 +223,13 @@ not and can not work as people would expect it should: > > which Buildroot will use to download the tarball from > > +LIBFOO_SITE+. If +HOST_LIBFOO_SOURCE+ is not specified, it defaults > > to +LIBFOO_SOURCE+. If none are specified, then the value is assumed > > - to be +libfoo-$(LIBFOO_VERSION).tar.gz+. + > > - Example: +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+ > > + to be +libfoo-$(LIBFOO_VERSION).tar.gz+. > > + In case when the package does not use any source code (e.g. only performs > > + some target/host altering), then +LIBFOO_SOURCE+ should be specified > > + with empty value. + > > + Examples: > > + +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+ > > + +LIBFOO_SOURCE = > > I'm probably stupid, but when is this needed? E.g. skeleton-init-sysv doesn't > have any code, and it doesn't set _SOURCE to empty... > > Regards, > Arnout Ohhh, So now I realize what was wrong ... looks like I got issue when I use _VERSION in my custom package but it failed to "build" w/o _SOURCE because _SOURCE automatically was set including this _VERSION value, and only after I set "*_SOURCE=" then it fixed my problem. OK, this patch is wrong, I will drop it. Thanks for point it! Regards, Vadim Kochan > > > > > * +LIBFOO_PATCH+ may contain a space-separated list of patch file > > names, that Buildroot will download and apply to the package source > > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-17 21:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-04-17 7:17 [Buildroot] [RFC 1/1] docs/adding-packages-generic.txt: Add note if package does not use source Vadim Kochan 2019-04-17 21:30 ` Arnout Vandecappelle 2019-04-17 21:48 ` Vadim Kochan
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.