* [ptxdist] [PATCH] Fix some packages in regard to PTXdist's pre-build archive feature
@ 2014-01-23 9:52 Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 1/4] QT4/pre-build: installing the examples needs the source tree Juergen Beisert
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Juergen Beisert @ 2014-01-23 9:52 UTC (permalink / raw)
To: ptxdist
Attached some patches to make the use of pre-build archives to speed up builds
possible again. I'm sure I do not catch all broken packages yet. If someone
founds a package where the targetinstall stage grabs files from the source
tree instead of the install tree, please drop me a note or send a patch
similar to mine.
Juergen
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ptxdist] [PATCH 1/4] QT4/pre-build: installing the examples needs the source tree
2014-01-23 9:52 [ptxdist] [PATCH] Fix some packages in regard to PTXdist's pre-build archive feature Juergen Beisert
@ 2014-01-23 9:52 ` Juergen Beisert
2014-01-23 10:57 ` Marc Kleine-Budde
2014-01-23 9:52 ` [ptxdist] [PATCH 2/4] Mono/pre-build: targetinstall needs access to " Juergen Beisert
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Juergen Beisert @ 2014-01-23 9:52 UTC (permalink / raw)
To: ptxdist
When installing the examples, this package cannot be used in its pre-build
archive form. But else it can. So disable this feature only on demand.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
---
rules/qt4.make | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rules/qt4.make b/rules/qt4.make
index eca820b..6ba6392 100644
--- a/rules/qt4.make
+++ b/rules/qt4.make
@@ -26,6 +26,9 @@ QT4_SOURCE := $(SRCDIR)/$(QT4).$(QT4_SUFFIX)
QT4_DIR := $(BUILDDIR)/$(QT4)
QT4_BUILD_OOT := YES
QT4_LICENSE := GPL3, LGPLv2.1
+ifdef PTXCONF_QT4_EXAMPLES
+QT4__DEVPKG := NO
+endif
# ----------------------------------------------------------------------------
# Extract
--
1.8.5.2
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ptxdist] [PATCH 2/4] Mono/pre-build: targetinstall needs access to the source tree
2014-01-23 9:52 [ptxdist] [PATCH] Fix some packages in regard to PTXdist's pre-build archive feature Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 1/4] QT4/pre-build: installing the examples needs the source tree Juergen Beisert
@ 2014-01-23 9:52 ` Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 3/4] bluez/pre-build: installing the test scripts needs " Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 4/4] PTXdist: be more helpful using the pre-build archive feature Juergen Beisert
3 siblings, 0 replies; 7+ messages in thread
From: Juergen Beisert @ 2014-01-23 9:52 UTC (permalink / raw)
To: ptxdist
Installing the mscorlib.dll needs the access to the source tree, so this
package cannot be used in its pre-build archive form.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
---
rules/mono.make | 1 +
1 file changed, 1 insertion(+)
diff --git a/rules/mono.make b/rules/mono.make
index c7eaf7d..04ca831 100644
--- a/rules/mono.make
+++ b/rules/mono.make
@@ -24,6 +24,7 @@ MONO_URL := http://download.mono-project.com/sources/mono/$(MONO).$(MONO_SUFFIX)
MONO_SOURCE := $(SRCDIR)/$(MONO).$(MONO_SUFFIX)
MONO_DIR := $(BUILDDIR)/$(MONO)
MONO_LICENSE := unknown
+MONO_DEVPKG := NO
# ----------------------------------------------------------------------------
# Prepare
--
1.8.5.2
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ptxdist] [PATCH 3/4] bluez/pre-build: installing the test scripts needs the source tree
2014-01-23 9:52 [ptxdist] [PATCH] Fix some packages in regard to PTXdist's pre-build archive feature Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 1/4] QT4/pre-build: installing the examples needs the source tree Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 2/4] Mono/pre-build: targetinstall needs access to " Juergen Beisert
@ 2014-01-23 9:52 ` Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 4/4] PTXdist: be more helpful using the pre-build archive feature Juergen Beisert
3 siblings, 0 replies; 7+ messages in thread
From: Juergen Beisert @ 2014-01-23 9:52 UTC (permalink / raw)
To: ptxdist
When installing the test scripts, this package cannot be used in its
pre-build archive form. But else it can. So disable this feature only
on demand.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
---
rules/bluez.make | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rules/bluez.make b/rules/bluez.make
index 9bfd4df..b46bece 100644
--- a/rules/bluez.make
+++ b/rules/bluez.make
@@ -24,6 +24,9 @@ BLUEZ_URL := $(call ptx/mirror, KERNEL, bluetooth/$(BLUEZ).$(BLUEZ_SUFFIX))
BLUEZ_SOURCE := $(SRCDIR)/$(BLUEZ).$(BLUEZ_SUFFIX)
BLUEZ_DIR := $(BUILDDIR)/$(BLUEZ)
BLUEZ_LICENSE := GPLv2+ LGPLv2.1+
+ifdef PTXCONF_BLUEZ_INSTALL_TESTSCRIPTS
+BLUEZ_DEVPKG := NO
+endif
# the tools don't depend on the generated headers
BLUEZ_MAKE_PAR := NO
--
1.8.5.2
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ptxdist] [PATCH 4/4] PTXdist: be more helpful using the pre-build archive feature
2014-01-23 9:52 [ptxdist] [PATCH] Fix some packages in regard to PTXdist's pre-build archive feature Juergen Beisert
` (2 preceding siblings ...)
2014-01-23 9:52 ` [ptxdist] [PATCH 3/4] bluez/pre-build: installing the test scripts needs " Juergen Beisert
@ 2014-01-23 9:52 ` Juergen Beisert
3 siblings, 0 replies; 7+ messages in thread
From: Juergen Beisert @ 2014-01-23 9:52 UTC (permalink / raw)
To: ptxdist
To make use of this helpful PTXdist feature, help a new user to understand
how to configure her/his project.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
---
rules/project-name.in | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/rules/project-name.in b/rules/project-name.in
index f546458..ce57364 100644
--- a/rules/project-name.in
+++ b/rules/project-name.in
@@ -164,20 +164,32 @@ config PROJECT_USE_LOCAL_PLATFORM_NAME
The name of the platform to use. This is the directory name of
the platform in the ptxdist workspace e.g. ``platform-i586''.
+comment "------------------------------------"
+comment "pre-build package handling"
+comment "------------------------------------"
config PROJECT_CREATE_DEVPKGS
bool
- prompt "create dev packages"
+ prompt "create pre-build archives"
+ help
+ Enable the creation of pre-build package archives. Read the
+ "How to become a PTXdist Guru" for further details.
config PROJECT_USE_DEVPKGS
bool
select HOST_CHRPATH
- prompt "use dev packages"
+ prompt "use pre-build archives"
+ help
+ Use pre-build package archives to build or re-build the project if
+ corresponding package archives with the same configuration are found.
config PROJECT_DEVPKGDIR
string
- prompt "dev package dir"
+ prompt "pre-build archive directory"
depends on PROJECT_USE_DEVPKGS
default "/opt/OSELAS.BSP/${PTXCONF_PROJECT_VENDOR}/OSELAS.BSP-${PTXCONF_PROJECT_VENDOR}-${PTXCONF_PROJECT}${PTXCONF_PROJECT_VERSION}"
+ help
+ This entry defines the path to a directory where pre-build archives
+ are expected.
endmenu
--
1.8.5.2
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ptxdist] [PATCH 1/4] QT4/pre-build: installing the examples needs the source tree
2014-01-23 9:52 ` [ptxdist] [PATCH 1/4] QT4/pre-build: installing the examples needs the source tree Juergen Beisert
@ 2014-01-23 10:57 ` Marc Kleine-Budde
2014-01-23 11:38 ` Juergen Beisert
0 siblings, 1 reply; 7+ messages in thread
From: Marc Kleine-Budde @ 2014-01-23 10:57 UTC (permalink / raw)
To: ptxdist, Juergen Beisert
[-- Attachment #1.1: Type: text/plain, Size: 968 bytes --]
On 01/23/2014 10:52 AM, Juergen Beisert wrote:
> When installing the examples, this package cannot be used in its pre-build
> archive form. But else it can. So disable this feature only on demand.
>
> Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
> ---
> rules/qt4.make | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/rules/qt4.make b/rules/qt4.make
> index eca820b..6ba6392 100644
> --- a/rules/qt4.make
> +++ b/rules/qt4.make
> @@ -26,6 +26,9 @@ QT4_SOURCE := $(SRCDIR)/$(QT4).$(QT4_SUFFIX)
> QT4_DIR := $(BUILDDIR)/$(QT4)
> QT4_BUILD_OOT := YES
> QT4_LICENSE := GPL3, LGPLv2.1
> +ifdef PTXCONF_QT4_EXAMPLES
> +QT4__DEVPKG := NO
^^
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 242 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ptxdist] [PATCH 1/4] QT4/pre-build: installing the examples needs the source tree
2014-01-23 10:57 ` Marc Kleine-Budde
@ 2014-01-23 11:38 ` Juergen Beisert
0 siblings, 0 replies; 7+ messages in thread
From: Juergen Beisert @ 2014-01-23 11:38 UTC (permalink / raw)
To: Marc Kleine-Budde; +Cc: ptxdist
Hi Marc,
On Thursday 23 January 2014 11:57:16 Marc Kleine-Budde wrote:
> On 01/23/2014 10:52 AM, Juergen Beisert wrote:
> > When installing the examples, this package cannot be used in its
> > pre-build archive form. But else it can. So disable this feature only on
> > demand.
> >
> > Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
> > ---
> > rules/qt4.make | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/rules/qt4.make b/rules/qt4.make
> > index eca820b..6ba6392 100644
> > --- a/rules/qt4.make
> > +++ b/rules/qt4.make
> > @@ -26,6 +26,9 @@ QT4_SOURCE := $(SRCDIR)/$(QT4).$(QT4_SUFFIX)
> > QT4_DIR := $(BUILDDIR)/$(QT4)
> > QT4_BUILD_OOT := YES
> > QT4_LICENSE := GPL3, LGPLv2.1
> > +ifdef PTXCONF_QT4_EXAMPLES
> > +QT4__DEVPKG := NO
>
> ^^
Michael already pointed this out. I have commited a fixed version instead.
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-01-23 11:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-23 9:52 [ptxdist] [PATCH] Fix some packages in regard to PTXdist's pre-build archive feature Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 1/4] QT4/pre-build: installing the examples needs the source tree Juergen Beisert
2014-01-23 10:57 ` Marc Kleine-Budde
2014-01-23 11:38 ` Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 2/4] Mono/pre-build: targetinstall needs access to " Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 3/4] bluez/pre-build: installing the test scripts needs " Juergen Beisert
2014-01-23 9:52 ` [ptxdist] [PATCH 4/4] PTXdist: be more helpful using the pre-build archive feature Juergen Beisert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox