| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to ipkg and opkg build
Originally the symbols IMAGE_IPKG_EXTRA_ARGS, IMAGE_OPKG_EXTRA_ARGS were used
in the code, but there only was the config entry for the ipkg symbol in
Kconfig.
This patch converts the IMAGE_IPKG_EXTRA_ARGS to IMAGE_XPKG_EXTRA_ARGS and uses
it during ipkg and opkg build.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit
b6f9a55b3ddc ptxd_make_world_patchin: run use pkg_dir for patchin_fixup
ptxdist will fail on packages that define a <PACKAGE>_DIR but don't create that
during extract stage. This patch fixes the problem.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
fixes: 28db1773524e generic: rename generic -> projectroot
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
| |
- add serialization for git and svn
- don't call ptxd_bailout while holding a token
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
serialization token
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
This way, we can avoid doing this whenever ptxd_make_serialize_put is
called.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
| |
...otherweise bash would interprete the number as octal. This fails if the
patch number contains a figure >= 8.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
point to builddir
This patch fixes:
eeb8ec75531b ptxd_make_world_extract: remove pkg_extract_dir before creating it
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
...pkg_extract_dir might be a link from a previous local_src/ override.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
not the value
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
Keeping the name of the original file can confuse tools that search for
files named e.g. '*.so'.
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>
|
|
|
|
|
|
|
| |
With this option enabled the make jobserver is shared between outer and
inner 'make' to optimize parallel building.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
Currently the number of parallel downloads is limited to 4 and the number
of extract jobs to 2.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
This is not stictly necessary but useful to avoid extracting all packages
first when building with '-je*'.
Only do it for parallel building, so that 'ptxdist extract <pkg>' works
like before.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
before using it
Otherwise fakeroot can fail in parallel build when it is used before it is
completely installed.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
This way, it is also called when the tarball is replaced with a symlink in
local_src/. Also allow symlinks for ltmain.sh and config.sub. They will be
replaced with modified copies of the original link target.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Otherwise migrate will always generate a modified ptxconfig.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After upgrading my gawk to 4.1.2 (which Arch Linux did today), I get
tons of warnings like
gawk: /usr/lib/ptxdist-2015.04.0/scripts/lib/ptxd_lib_dgen.awk:386:
(FILENAME=/tmp/ptxdist.p1sg2M/dgen/platformconfig FNR=233) warning:
gensub: third argument `' treated as 1
This patch fixes the warnings. According to the documentation
https://www.gnu.org/software/gawk/manual/gawk.html#String-Functions:
| gensub(regexp, replacement, how [, target]) #
| ...
|
| If the how argument is a string that does not begin with ‘g’ or ‘G’, or
| if it is a number that is less than or equal to zero, only one
| substitution is performed. If how is zero, gawk issues a warning
| message.
So the fix should be safe.
Signed-off-by: Bernhard Walle <bernhard@bwalle.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>
|
|
|
|
|
|
|
|
|
| |
This patch just changes the name of some bash config option, so that the
bash-completion package won't conflict with the bash package anymore.
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
[mol: add migrate helper]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
The old hackbench code has long been obsoleted by the version in
rt-tests. This variant doesn't even have license information.
Remove the package.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
[mol: simplify migrate]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Don't add GNUPG_GPG if it's already there.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
Add new config options for targetinstall:
GNUPG_GPG : Install gpg2 + symlink gpg => gpg2
GNUPG_GPGV : Install gpgv2
Signed-off-by: Andreas Pretzsch <apr@cn-eng.de>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
[mol: add migrate helper + 'menuconfig']
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just copying ${pkg_pkg_dir} recursively can fail. This can happen with -jeX
when 'cp' is executed for two packages the same time: 'cp' first checks if a
directory exists, and creates it if not. If two instances of 'cp' try this with
the same directory at the same time, there is a race condition and the second
'cp' may fail to create the directory because it already exists.
Avoid this by creating the directories first. 'mkdir -p' will just try to
create the directories and ignores any EEXIST.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
This is needed for newer architectures like aarch64 because older versions
of config.sub don't support those yet.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
It confuses 'depmod' because may use the debug files and then ignore the
real kernel modules.
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apply all permissions. opkg does a good job for most things. However,
special permissions or ownership of directories can produce unexpected
results: If one package creates a directory with special permissions and
another package generates a file in this directory, then the final
directory may have the implicit permissions generated by the second
packages.
To avoid this we apply all explicit permissions and ownership after all
files are extracted.
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch removes the actual lowpan-tools for the 802.15.4 stack and
replace it with the wpan-tools. The lowpan-tools are deprecated now, see
http://www.spinics.net/lists/linux-wpan/msg01132.html for more
information. This patch also adds a migrate functionality to replace
LOWPAN_TOOLS with WPAN_TOOLS.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
[mol: fix migrate]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
gold only supports '-z option' not '-z,option'
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
Reported-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
With the latest bash security fixes, exported shell functions get lost
when a script is called indirectly, e.g. bash -> dash -> bash.
This can happen when pkg-config-wrapper is called from a configure script.
In this case check_pipe_status is no longer defined.
Avoid the problem by replacing check_pipe_status with its content.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
This is useful if you install a package to /opt and libs are in /opt/lib:
$(call install_lib, foo, 0, 0, 0644, libfoo, /opt)
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without linemarkers the error messages are somehwat useless.
To demonstrate I picked a random .dts file file from the arm tree in
linux sources:
DTC ptx-testprj_arm/platform/images/vf610-twr.dtb
Error: /tmp/testprj/platform/state/vf610-twr.dts.tmp:366.1-5 syntax error
FATAL ERROR: Unable to parse input tree
If linemarkers are inserted the error message clearly states in which file
which line caused the error:
DTC ptx-testprj_arm/platform/images/vf610-twr.dtb
Error: /tmp/testprj/platform/build-target/linux/arch/arm/boot/dts/vf610-twr.dts:13.1-5 syntax error
FATAL ERROR: Unable to parse input tree
The support for #line markers was added in the same release as -i was
added. So add -P only if -i is not supported.
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|