| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
scripts/lib/ptxd_make_install.sh
This is due to "360f73777af1661d85ae0aa2434b6acde22da9fa" Fix
dependencies to files in projectroot.
The modifications to ptxd_make_install_init have been moved to
ptxd_make_xpkg_prepare.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
| |
| |
| |
| | |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
| |
| |
| |
| |
| |
| |
| | |
Without this patch the PATH=".:/foo:.:/bar:." will be transformed into
"/foo/bar".
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
| |
| |
| |
| | |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| |
| |
| |
| | |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| |
| |
| |
| | |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| |
| |
| |
| | |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|/
|
|
|
|
|
|
| |
Since commit 5a4bf8f43d1bc3796a9c9aec7ece43dc4dba6421, which was first
released with 2010.02.0 the "newpacket" command has been renamed to
"newpackage". The fallback was active for 6 month now, so switch it off.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Prior to the execution of the bash the PATH already contains ptxdist's
sysroot-host. If the PATH variable is overwritten in a config file, the
sysroot-host PATH is lost, so set PATH in our init-file.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
| |
This patch fixes a problem with the version check. ptxdist should refuse
to build a BSP() made for a different ptxdist release. Without this
patch ptxdist will build a BSP for 2010.04.0 with ptxdist 2010.05.0.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
| |
....which was introduced in commit:
af354857987311001adbf7fe9c5aefab21503691
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch aims to fix some problems of the version handling of
ptxdist which were introducted with switching to timed releases:
a) The version is specified in "configure.ac", the "local version"
("00003-gbf29f16") is generated by "setlocalversion".
"setlocalversion" generates it's ouput relative to the latest tag.
This leads to strange version strings, after creating a tag, and
forgetting to run "./autogen.sh && ./configure && make".
b) The ptxdist created with a "make dist", even if a not tagged version,
always thinks it's a release.
c) BSPs working with "master" need a migrate after each release. Because
the compatibility checker uses year and month.
The problems are^Wshould be fixed with these changes:
a) "setlocalversion" now generates the whole full version, e.g.:
"2010.04.0-00003-gbf29f16".
"configure.ac" uses "m4_esyscmd" to figure out the current version
while running "configure". (Yes, "configure").
b) A file ".tarball-version" is added to the tarball to track the
version while creating the tarball (same goes for the installation).
"setlocalversion" will use the version information from
".tarball-version"
c) If both ptxdist and config file are not using a release, i.e. their
versions an "appendix", we say it's compatibe, too.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When trying to invoke a command via 'ptxdist bash cmd [args...]'
If cmd takes an argument that matches one of the option that is parsed in
parse_first in ptxdist, then cmd never gets that argument.
For example,
ptxdist bash foo -d bar
would get invoked as:
foo bar
This commit allows one to overcome this limitation:
ptxdist bash -- foo -d bar
so that it gets invoked properly as:
foo -d bar
Signed-off-by: Jon Ringle <jon@ringle.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
Use PTXDIST_LOG_PREFIX, neither PROMPT nor PREFIX.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
which is generated by the $(call install_copy ) and friend
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Invoke 'ptxdist bash' will give you a ptxdist environment with your
PS1 prompt prefixed with "[ptx] ", so that you are aware of the
environment your current shell is in.
Signed-off-by: Jon Ringle <jon@ringle.org>
[mkl: use ${BASH}, simplified exit]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
If this option is used ptxd_pedantic will act like ptxd_bailout.
Otherwise it will act like ptxd_warning
|
|
|
|
| |
Signed-off-by: Jon Ringle <jon@ringle.org>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
This patch improves the generation of source tree templates.
- add default "yes" to create a source tree template
- "wizard.sh" isn't mandatory anymore
- use "bash" instead of "sh" to call wizard.sh
- handle packages without version number gracefully;
don't add a "-" after the pacakge name
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch cleans up the $(ptxdist newpackage $action) implementation by
defining sane defaults for:
- template
- template_src
Further "class" is derived from "action" if "autoconf_class" is set.
Differences from the default are overwritten in the case statement.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
This patch renames the templates from:
- template-{in,make} into
- template-target-{in,make}
to match the "action" in "ptxdist newpackage $action".
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
This patch renames the templates from:
- template-src-cmake-{in,make} into
- template-src-cmake-prog-{in,make}
to match the "action" in "ptxdist newpackage $action".
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
This patch renames the templates from:
- template-src-driver-{in,make} into
- template-src-linux-driver-{in,make}
to match the "action" in "ptxdist newpackage $action".
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Also remove:
- imagedir
- the xpkg.map files
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
| |
The "-e" option is only supported by recent new GNU readlink. "-f" works
with old versions and on BSD systems, too.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
| |
Reported-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
... and provide a fallback for a smooth user experience.
While at it fix most wrong usages of "packet". There are a few left in
TODO (done items) and the Changelog.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[mkl: use ' instead of " during deprecation warning]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
the variable autoconf_class is used in the existing target template.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First this patch moves the ptxdistrc file into '~/.ptxdist/' since my
homedir contains quite a low of .ptxdistrcs now.
Then another variable is introduced:
- PTXDIST_VERSION_PTXRC
which holds the the version for the rc file. It consists for simplicity
reasons of just "$year.$month".
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Since ptxdist is doing timed releases now, year and month of config file
an ptxdist must match, further the "bugfix" level of ptxdist must be
greater or equal to the "bugfix" level of the config file.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the past ptxdist's fullversion was replaced by configure in these files:
- platforms/ptxdist-version.in.in (PLATFORMCONFIG_VERSION)
- rules/ptxdist-version.in.in (CONFIGFILE_VERSION)
resulting in:
- platforms/ptxdist-version.in
- rules/ptxdist-version.in
However the fullversion is rather dynamic now since it can hold version
information from the version control system. ptxdist refuses to run if
the versions don't match. During development this may change quite
often which is probably too annoying for the developers.
This patch introduces two new version variables:
- PTXDIST_VERSION_CFG_SCM
- PTXDIST_VERSION_CFG_FULL
The _SCM variable holds "-git" if ptxdist isn't release. For released
versions _SCM is empty.
PTXDIST_VERSION_CFG_FULL contains '$year.$month.$bugfix$scm'
(scm is PTXDIST_VERSION_CFG_SCM), for example:
'2010.01.0-git' for modifies i.e. dirty '2010.01.0' release.
Further we don't no longer modify the "*/ptxdist-version.in.in", we use
the kconfig 'option env="VAR"' to get the correct version from the
environment.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|