| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Provide the options with the correct prefix for packages that need to
specify it explictly and use them as default when needed.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
The macros defined here are glibc specific. They don't make sense for
kernel, bootloaders, etc.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
The new config.guess changed it to x86_64-pc-linux-gnu but some stuff,
e.g. rustc in OSELAS.Toolchain requires this to be
x86_64-unknown-linux-gnu so stick with that for now.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
This includes explicit search paths in sysroot-cross.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
It is needed for some architectures and toolchains.
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>
|
|
|
|
|
|
|
|
| |
PTXdist does not support multilib. So don't get the libdir from the dynamic
linker path. Always use /lib. If the linker is expected elsewhere, e.g.
/lib64 then add a symlink for this.
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set the pkgconfig.relocatable option to let Meson generate .pc files
that set a relative prefix, allowing installation at an arbitrary
path.
This removes the need to mangle the prefix setting after the fact
via scripts/lib/ptxd_make_world_install_mangle_pc.awk for Meson
based packages.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Message-Id: <20230111101916.3749538-2-p.zabel@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Building packages with prefix=/ is getting more difficult.
For sysroot-host and sysroot-cross is doesn't really matter, so switch to
prefix=/usr here as well.
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>
|
|
|
|
|
|
| |
It will be needed for a separate xwayland package.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
With this cmake will generate compile_commands.json in the package build
directory.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
This will be useful for some packages using scons.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Message-Id: <20211025130910.7257-2-ada@thorsis.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This means that packages that assume that this variable is absolute
will have to be modified.
Adding something like -DCMAKE_INSTALL_LIBDIR=/usr/$(CROSS_LIB_DIR),
after CROSS_CMAKE_USR to your CONF_OPT will probably suffice.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
Reviewed-by: Denis Osterland-Heim <denis.osterland@diehl.com>
Tested-by: Alexander Dahl <ada@thorsis.com>
Message-Id: <20210809083621.3676-1-christian.melki@t2data.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
For make 4.1 the macros must be on one line. So escape the newline to avoid
errors like this:
[...]/rules/kernel.make:39: *** missing separator. Stop.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
It's not really possible to build a dtb by itself. A lot of included dtsi
and header files are needed. So build the device-trees with the package
that provides these files. Currently that's the kernel package.
This also means, that other kernel packages can have their own device-trees
as well.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are several places where 'make' is aborted with an '$(error ...)'
immediately when starting ptxdist. It's useful to detect problems early on.
However, this means, that it also interferes with 'ptxdist print' to it can
make debugging issues a bit more tricky.
So collect the errors instead and print them in a early make target
instead.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Was installing libraries into wrong directories.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
Message-Id: <20210518133401.22478-1-christian.melki@t2data.com>
[mol: add /usr/]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Normally server interaction is only allowed in get stage,
but a code signing provider may have to communicate with a CA
server for a signature. This macro enables all code signing
user packages (kernel-fit, barebox, ...) to interact with a
server outside the get stage.
Signed-off-by: Denis Osterland-Heim <denis.osterland@diehl.com>
Message-Id: <20210407115450.21355-3-denis.osterland@diehl.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
More code sharing between kernel and kernel template.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
Parallel building is handled automatically. No need to explicitly add the
options.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
Same as 565aabf6f36d3ed31544d882394604c4a1b13597 but for the kernel
template instead of the kernel itself.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If CONFIG_MODULE_SIG_ALL is set in kernelconfig then modules will be
automatically signed during the modules_install phase of a kernel build.
Signed modules are BRITTLE as the signature is outside of the defined ELF
container. Thus they MAY NOT be stripped once the signature is computed
and attached. Note the entire module is the signed payload, including any
and all debug information present at the time of signing.
See: https://www.kernel.org/doc/html/latest/admin-guide/module-signing.html
Signed-off-by: Denis Osterland-Heim <denis.osterland@diehl.com>
Message-Id: <20210331113525.22330-1-denis.osterland@diehl.com>
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are several packages that get the version/md5 from the ptxconfig
variables PTXCONF_<PKG>_VERSION / PTXCONF_<PKG>_MD5. These new new macros
can be used for this and add basic sanity checking:
If the package is enable, then the version and md5 must not be empty.
Otherwise the string 'undefined' is returned to make it obvious that the
version is currently not available.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
The problem with the pattern rule is that it also matches some files, such
as $(PTXDIST_TOPDIR)/config/images/barebox_partitions.config. This results
in strange error messages.
Use a global list of possible config targets and use it to generate
explicit lists of make targets.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Add macro for pypi URLs, e.g.:
$(call ptx/mirror-pypi, aiohttp, $(PYTHON3_AIOHTTP).$(PYTHON3_AIOHTTP_SUFFIX))
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Message-Id: <20200922141434.8544-2-bst@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
With oder make versions '$(1)' starts with a newline. So strip the argument
to avoid this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
This should probably not be used here.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
For example make 3.82 from CentOS 7 does not support $(file ..).
Provide a (slower) fallback for those cases.
For some things use ptx/file as fallback. However, this is very slow, so it
cannot be called for every PTXCONF variable. So fallback to the old, less
optimal handling in that case.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
With the latest changes, some things where added to the hash file twice
when --progress was used. As a result, the hashes where different with and
without --progress.
Introduce a helper variable that determintes if make is called for the
first time and use it everywhere.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
These macros can be used to add strings or files to the <PKG>_CFGHASH.
With this, changes to these strings and files will trigger a rebuild of the
package.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
commit f4f917544638 ("canutils: hardcode version 4.0.6") hardcoded
canutils version, but left no longer used pre rule file in place.
Delete it.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Message-Id: <20200204210359.GA33146@lenoch>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
- Define SYSTEMPYTHON similar to SYSTEMPYTHON3
- No absolute paths to avoid too long shebangs
- Only define if the packages are enabled
- Define the variables in rules/pre/ to allow usage with ':='
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
It's no longer needed. host-system-python2 handles all remaining packages.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|