summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* host-autotools-autoconf: fix m4 pathMichael Olbrich2019-02-261-1/+2
| | | | | | | | | The path for m4 already is the full path in sysroot-host. Replace it with the current sysroot-host in case we just extracted a dev package. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Tested-by: Jon Ringle <jringle@gridpoint.com>
* doc: describe a strange behaviour and its solutionJuergen Borleis2019-02-262-0/+18
| | | | | | | | Using a unusual 'umask' leads to a strange erroneous behaviour. This was reported on the PTXdist mailing list. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* doc: follow 'proselint' and improve the textJuergen Borleis2019-02-263-4/+4
| | | | | | | Follow the hints of the nice tool 'proselint'... Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* doc: BUILDTIME versus RUNTIMEJuergen Borleis2019-02-262-0/+63
| | | | | | | | Describe the difference of some detailed dependency descriptions in Kconfig menufiles. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* fontconfig: untangle from xorg-fontsBaeuerle, Florian2019-02-265-10/+5
| | | | | | | | | | | The rc-once fc-cache drop-in used to be installed via the xorg-fonts package, which can be undesirable when using collections in combination with image packages. Untangle the packages by installing the rc-once drop-in via the fontconfig package. Signed-off-by: Florian Bäuerle <florian.baeuerle@allegion.com> [mol: move 'select' to toplevel option] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* libxml2: version bump 2.9.7 -> 2.9.9Alexander Dahl2019-02-235-40/+7
| | | | | | | | | | | | | Includes bug fixes and fixes for CVE-2018-9251, CVE-2018-14567, and CVE-2018-14404. The patch for CVE-2017-8872 was removed. Although there's nothing about that in the changelogs, the underlying problem was solved with 2.9.9: https://mail.gnome.org/archives/xml/2019-January/msg00011.html Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel: rework prepare stageMichael Olbrich2019-02-231-15/+16
| | | | | | | | | | | | | | | | | | The old implementation is broken, when a initramfs is used. Changing the kconfig symbol back to '# Automatically set by PTXDist' is broken because '$(<)' is not the kernel config any more (Broken since cd920ab716bab0c190666e0273c10b19c7cdaeec "barebox/kernel: drop explicit dependency"). Also, world/kconfig-sync compares .config and KERNEL_CONFIG and this does not work because CONFIG_INITRAMFS_SOURCE in .config has been modified. Instead, make sure that KERNEL_CONFIG contains the path independent dummy text before copying it to .config. Then run the default prepare stage that checks or updates the config. Insert the path for the empty initramfs after all checks are done. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Tested-by: Jon Ringle <jringle@gridpoint.com>
* host-imx-cst: version bump 2.3.2 -> 3.1.0Michael Olbrich2019-02-211-7/+6
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* pcsc-lite: version bump 1.8.14 -> 1.8.23Michael Olbrich2019-02-213-7/+14
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-p11-kit: disable DEVPKG and use HOST_AUTOCONF_SYSROOTMichael Olbrich2019-02-211-1/+2
| | | | | | | | p11-kit will look for relative pkcs11 libs relative to the --prefix used during configure. Without using the sysroot as the --prefix p11-kit is unable to find the libs inside the sysroot. This patch fixes the problem. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* hardening: add option for -fstack-clash-protectionMichael Olbrich2019-02-2113-1/+24
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_license_yaml: fix and improve patch informationMichael Olbrich2019-02-211-1/+5
| | | | | | | | Use ptxd_make_world_patchin_init to make sure that pkg_patch_dir is actually defined. Also add the series filename if patches are used and it has a non default filename. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_common: always define pkg_patch_seriesMichael Olbrich2019-02-212-1/+1
| | | | | | This way, it can be used not just during patchin. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_package_info: fix printing the patch directoryMichael Olbrich2019-02-211-1/+2
| | | | | | | The ptxd_make_world_patchin_init here is correct: It defines pkg_patch_dir. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* progress: fix total countMichael Olbrich2019-02-211-2/+2
| | | | | | | This was broken in the final cleanup of the last change. Also, remove accidentally commited debug 'tee a'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* systemd: update to the latest revision of the v241 stable branchMichael Olbrich2019-02-212-6/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_kconfig_create_config_merge: handle values that contain '='Michael Olbrich2019-02-201-1/+1
| | | | | | | Only split at the first '='. This way, 'b' contains the rest of the line, even if it contains another '='. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptx/in-path: don't call the shell unless neededMichael Olbrich2019-02-201-2/+2
| | | | | | | | The optimization didn't actually work: The second argument for ptx/in-path3 was always evaluated. Move the shell execution directly to the 'if' argument to really skip. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptx/collection: validate collection filesMichael Olbrich2019-02-202-1/+53
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add new command 'bsp-info'Michael Olbrich2019-02-204-1/+67
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_package_info: extend and handle image packagesMichael Olbrich2019-02-202-44/+54
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_license: add more data and and handle image packagesMichael Olbrich2019-02-205-17/+66
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_kconfig_create_config_merge: add sanity check to detect parse errorsMichael Olbrich2019-02-201-0/+4
| | | | | | | Otherwise, 'config' may be called with invalid arguments. This catches the error earlier and provides a hint where the error occured. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_kconfig_create_config_merge: handle more characters in symbol namesMichael Olbrich2019-02-201-1/+1
| | | | | | Without this symbols with e.g. lowercase letters are not parsed correctly. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* systemd: add missing dependencyMichael Olbrich2019-02-201-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* file: version bump 5.33 -> 5.35Clemens Gruber2019-02-196-167/+2
| | | | | | | Now we can remove the upstreamed seccomp patches. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* grpc: version bump 1.17.2 -> 1.18.0Clemens Gruber2019-02-194-2/+2
| | | | | Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* nfs-utils: add patch to fix building with glibc 2.28Michael Tretter2019-02-192-1/+81
| | | | | Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* wayland-protocols: version bump 1.16 -> 1.17Philipp Zabel2019-02-191-2/+2
| | | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Makefile: overwrite existing man-page fileMichael Olbrich2019-02-191-1/+1
| | | | | | Without this, gzip will ask before overwriting the file. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-ninja: use world/executeMichael Olbrich2019-02-191-5/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ca-certificates: use world/executeMichael Olbrich2019-02-191-5/+6
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptx/oldconfig: use 'execute'Michael Olbrich2019-02-191-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-meson: use world/executeMichael Olbrich2019-02-191-5/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* introduce 'world/execute' and 'execute' macrosMichael Olbrich2019-02-193-4/+127
| | | | | | | | With these, arbitrary commands can be executed in the build stages. They habe the advantage that the environment is identical to the default build stages. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* doc: add some basic documentation for 'world/*' and 'compile'Michael Olbrich2019-02-191-0/+27
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_prepare: move build dir setup into a separate functionMichael Olbrich2019-02-191-5/+10
| | | | | | This makes it reusable elsewhere. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* progress: count image stagesMichael Olbrich2019-02-193-13/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* systemd: version bump 239 -> 241Michael Olbrich2019-02-196-146/+16
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-meson: version bump 0.44.1 -> 0.49.2Michael Olbrich2019-02-153-35/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* optee: only build if selected in the platformconfigptxdist-2019.02.0Michael Olbrich2019-02-153-3/+9
| | | | | | | | | | Limiting the packages to ARM is not quite correct. Instead skip them if no OP-TEE platform is defined. This happens when optee is disabled in the platformconfig. This way the packages can be enabled in the ptxconfig but are only built if optee is also enabled in the platformconfig. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* optee: only build on armMichael Olbrich2019-02-143-3/+3
| | | | | | arm64 is broken and any other architectures are not supported. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* optee-examples: add as new target packageRouven Czerwinski2019-02-142-0/+81
| | | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* optee-test: add new optee-test target packageRouven Czerwinski2019-02-142-0/+85
| | | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* optee: add the OP-TEE as new target packageRouven Czerwinski2019-02-143-0/+141
| | | | | | | | Provide two KConfig files to allow inclusion of OP-TEE for userspace libraries and applications. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* optee-client: add tee-supplicant service fileRouven Czerwinski2019-02-133-2/+27
| | | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* optee-client: bump to 3.4.0Rouven Czerwinski2019-02-134-64/+2
| | | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* f2fs-tools: version bump 1.8.0 => 1.12.0Jon Ringle2019-02-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f2fs-tools-1.8.0 fails to build with OSELAS.Toolchain-2018.12.0 due to changes done in glibc-2.28 that moved 'major', 'minor' and 'makedev'. The failure is this: libf2fs.c: In function 'get_rootdev': libf2fs.c:508:3: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] major(sb.st_dev), minor(sb.st_dev)); ^~~~~ libf2fs.c:508:21: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] major(sb.st_dev), minor(sb.st_dev)); ^~~~~ mknod libf2fs.c: In function 'get_device_info': libf2fs.c:794:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] MSG(0, " %lu blocks per zone\n", ^~~~ CCLD libf2fs.la make[3]: Leaving directory `/home/local/GRIDPOINT/jringle/git/linux-initramfs/platform-EC1K/build-target/f2fs-tools-1.8.0/lib' Making all in mkfs make[3]: Entering directory `/home/local/GRIDPOINT/jringle/git/linux-initramfs/platform-EC1K/build-target/f2fs-tools-1.8.0/mkfs' CC f2fs_format_main.o CC libf2fs_format_la-f2fs_format_utils.lo CC libf2fs_format_la-f2fs_format.lo CC f2fs_format.o CC libf2fs_format_la-f2fs_format_main.lo CC f2fs_format_utils.o CCLD mkfs.f2fs /opt/OSELAS.Toolchain-2018.12.0/arm-v5te-linux-gnueabi/gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/lib/gcc/arm-v5te-linux-gnueabi/8.2.1/../../../../arm-v5te-linux-gnueabi/bin/ld: ../lib/.libs/libf2fs.so: undefined reference to `minor' /opt/OSELAS.Toolchain-2018.12.0/arm-v5te-linux-gnueabi/gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/lib/gcc/arm-v5te-linux-gnueabi/8.2.1/../../../../arm-v5te-linux-gnueabi/bin/ld: ../lib/.libs/libf2fs.so: undefined reference to `major' collect2: error: ld returned 1 exit status Upstream commit fixes the issue: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?id=191a60fb4b3a761aea0877d02c0ee8d86baf1e93 Signed-off-by: Jon Ringle <jringle@gridpoint.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* mxt-app: new packageLucas Stach2019-02-133-0/+68
| | | | | | | | This adds the mxt-app utility, which is used to manipulate the configuration of Atmel MaXTouch devices. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* nvme-cli: new packageLucas Stach2019-02-132-0/+68
| | | | | | | | This adds the nvme userspace tool used for administration and monitoring of NVMe devices. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>