| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
of the source archive
This is especially useful in combination with <PKG>_STRIP_LEVEL when
only a subdirectory is relevant.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
This broke during final cleanup before it was merged.
Without this, the argument for world/license-part is missing and an
empty source-packages: section is created.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
details
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<PKG>_SOURCES cannot be used to match back to the package parts because
the same source path may be used by multiple packages.
So define <PKG>_PARTS that contains <PKG> and can be extended with
<PKG>_EXTRA etc. for additional sources. In that case,
<PKG>_EXTRA_SOURCE, etc. is expected to be defined.
This makes it possible to extract all components in the default rule
among other things.
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>
|
|
|
|
|
|
|
|
| |
It already implemented by the code shared with install_tree. So just add
the missing bits to hook it up. This way stripping can be skipped, when
an archive is extracted into the rootfs.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
It's maintained, builds faster and works as drop-in replacement for
pkg-config.
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>
|
|
|
|
|
|
|
|
|
| |
This has two advantages:
1. we don't rely on a toolchain that provides the wrapper script
2. packages that use meson can use it to determine that we're
cross-compiling (e.g. gst-plugins-rs).
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
It has been broken for a long time because it creates command-lines that
are too long. It has been superseded by 'ptxdist print' with % patterns,
so just remove it.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
e.g. with meson and cargo-c
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, building out-of-tree Kernel modules fails when the kernel source
tree is kernel git tree in local_src/kernel.<arch> during development.
This happens because the path is outside of the expected build directories.
To make this possible, the new package variable <PKG>_WRAPPER_ACCEPT_PATHS
is introduced. Any paths specified here are not filtered out when the
package is compiled. Kernel module packages can set it to $(KERNEL_DIR) to
fix the problem mentioned above.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Replace it with an error to detect remaining users.
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>
|
|
|
|
|
|
|
|
|
|
| |
This adds compile_commands.json support for kbuild based packages such as
the Linux kernel and Barebox.
It also adds a make macro that can be used by packages with other
compile_commands.json generators.
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>
|
|
|
|
|
|
| |
The dtc is located in the build dir not the source dir of the kernel.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some packages may require certain files that are maintained
or generated outside of their source repository. For example,
binary firmware blobs could be excluded from the sources due
to licensing issues. Add a helper that allows to inject certain
files into the source directory (usually in the prepare stage).
Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
Message-Id: <20220129070330.2601433-4-michael.riesch@wolfvision.net>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Make ptxd_make_dtb more general and provide suitable wrappers to
support the generation of device tree overlays.
Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
Message-Id: <20211209110258.3307503-2-michael.riesch@wolfvision.net>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Any rules/<pkg>.<something>.make file now belongs to the corresponging
package. Only one instance of this file in the regular rules/ search path
is used. The content of such a file is added to the package hash to
detect changes to the package.
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>
|
|
|
|
|
|
| |
Another option to prevent unwanted implicit dependencies.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
This is mostly done because it also removes duplicates from host and target
packages.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
The new ptxdist 'lint' command complains about all macros that are not
defined. Make sure that _touch_opt_output is always defined to avoid
problems here.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
For now it contains the following checks:
- unused patch directories
- use of undefined symbols in menu files
- use of undefined kconfig symbols in rule files and other makefiles
- use of undefined macros in rule files and other makefiles
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
This is no longer needed. The source hash contains all the necessary
variables to ensure that packages are rebuilt when the souce changes.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Without _ptx_source_to_pkg the package mapping may be wrong and e.g.
'ptxdist urlcheck host-kernel-header' will run into the kernel/deprecated
check.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
The list can get rather long. The shell command limit has not been reached
yet, but this may become a problem in the future. Avoid this entirely by
exporting the package lists directly in make. They are not target specific.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
The variable names in shell and make are the same so they can just be
exported in make. None of those variables are in any way target specific,
so it's save to have the available everywhere.
This keeps the command-line a bit shorter.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
This way, the current umask will not influence the resulting directory
permissions.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the dependencies where broken because of the variable evaluation
order. This was not noticed, because during dtb generation the same
dependencies where generated as well.
There is only one dependency not generated: When a dts is added in the
platformconfigdir that overwrites a dts in the kernel source tree.
This additional dependency is added here. So all other dependencies in the
makefile can be removed.
Also remove the dependency on kernel.extract.post. All dtbs depend on
dtc.install and dtc selects the kernel.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Make it possible to check all MD5 sums of license files by building all
report stages without also building the license report (which produces
tons of LaTeX output).
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Message-Id: <20200529091339.8396-1-rhi@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of always building the index with the default md5sum, the index
will now be built with sha256, iff the target opkg package is
configured to support sha256.
Also, the ipkg support in ipkg-push has been removed, and it now always
uses the opkg tools instead. The name is kept, since everything else is
still using the 'ipkg' naming scheme though.
Message-Id: <20200417095414.9278-1-sfalsig@veritystudios.com>
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>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a package which generates a FIT image from the kernel image
and all selected device trees in PTXCONF_DTC_OFTREE_DTS. The image will
be signed if desired.
** Note **
Currently the U-Boot mkimage tool supports PKCS#11, but there is no way
to specify the PIN in an environment variable like it is done in many
other tools. This means you will be prompted for a PIN each time a
signed FIT image is being built.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|