prplos/include
Paul HENRYS e2109f88b1
image: add defines for imagegenerator
3 define instructions are created to prepare imagegenerator build
directory, to run binman and run swugenerator.
Those defines can be used with artifacts related variables to build
images with those tools.
A device could typically build images with those tools as such:

  define Device/mydevice
  ...
  IMG_GEN_DIR := $$(wildcard $$(BUILD_DIR_BASE)/hostpkg/imagegenerator-*)
  BINMAN_INPUT_tb341 := $$(IMG_GEN_DIR)/configs/binman/binman_mydevice.dts \
                        $$(KDIR)/u-boot-*/u-boot-nodtb.bin \
                        $$(KDIR)/u-boot-*/u-boot.dtb \
                        $$(KDIR)/vmlinux.gz \
                        $$(KDIR)/tmp/$$(DEVICE_IMG_PREFIX).dtb \
                        $$(BIN_DIR)/$(IMG_PREFIX)-secure-initramfs.cpio.gz \
                        $$(KDIR)/tmp/$$(DEVICE_IMG_PREFIX)-squashfs-fs.rootfs
  SWU_INPUT_tb341 := $$(IMG_GEN_DIR)/configs/swugenerator/sw-description_mydevice
  ARTIFACT/wgrtd159be_b_wav700-image.swu := imagegenerator-init $$(BINMAN_INPUT_mydevice) $$(SWU_INPUT_mydevice) | \
                                            binman binman_mydevice.dts | \
                                            swugenerator sw-description_mydevice
  ARTIFACTS := mydevice-image.swu
  ...
  endef

Implements: PCF-2354
Tracked-by: FEAT-29
Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
2026-06-23 10:56:32 +02:00
..
overlay-feed BuildSystem: Use cached list of Makefile.append's during package processing 2025-11-16 15:54:49 +00:00
site build: remove ac_cv_header_netinet_sctp_h=no from pre-cached variables 2024-09-22 16:04:09 +02:00
autotools.mk include: autotools: do not symlink files in autoreconf 2024-08-29 20:04:02 +02:00
bpf.mk build: bpf: fix LLVM tool paths with host toolchain 2025-04-09 18:30:49 +02:00
cmake.mk include: cmake.mk: honor CONFIG_DEBUG 2024-11-26 12:23:06 +00:00
debug.mk
default-packages.mk imagebuilder: move handling of DEFAULT_PACKAGES into shareable place 2025-01-03 11:14:12 +01:00
depends.mk
device_table.txt
download.mk
feeds.mk build: Unconditionally append kmod feed for BuildBot 2024-12-03 12:41:08 +01:00
hardened-ld-pie.specs
hardening.mk
host-build.mk build: add support for host building in a subdirectory 2024-07-27 20:32:20 +02:00
image-commands.mk image: add defines for imagegenerator 2026-06-23 10:56:32 +02:00
image.mk image: integrate the secure initramfs generator 2026-06-22 18:24:25 +02:00
kernel-build.mk kernel-build.mk: Fix multi-core build warning. 2024-10-06 13:49:39 +02:00
kernel-defaults.mk image: add the implementation to support the secure initramfs 2026-06-22 18:24:25 +02:00
kernel-version.mk kernel: move kernel version files to linux/generic directory 2025-07-31 15:27:30 +00:00
kernel.mk
logo.png
logo.svg
meson.mk include: meson.mk: honor CONFIG_DEBUG 2024-11-26 12:23:06 +00:00
netfilter.mk iptables: update to 1.8.10 2024-10-22 00:52:03 +02:00
nls.mk
openssl-module.mk
optee-os.mk optee-os.mk: override default PATH to not use hostpkg python 2025-03-17 16:21:23 +01:00
package-bin.mk
package-defaults.mk build: add support for PKG_SUBDIRS variable 2024-07-08 08:49:42 +02:00
package-dumpinfo.mk
package-pack.mk build: add support for checksec.sh based mitigation reports 2025-07-31 15:20:37 +00:00
package-seccomp.mk
package.mk build: exclude checksec report files from rebuild check 2026-02-10 15:26:24 +00:00
prereq-build.mk prereq-build: limit python distutils check to <v3.12 2024-10-16 22:36:43 +02:00
prereq.mk
quilt.mk
rootfs.mk imagebuilder: complete support for local signing keys 2024-10-29 00:07:52 +01:00
scan.awk BuildSystem: Add <package>/Makefile.append files in all active feeds as dependency for <package>/Makefile 2025-09-15 13:46:17 +03:00
scan.mk Buildsystem: Invalidate OpenWrt package information when some of SCAN_DEPS deleted 2025-09-15 13:46:17 +03:00
shell.sh
subdir.mk
target.mk target: fix kernel_menuconfig with external feed overwriting generic 2025-07-31 15:29:47 +00:00
toolchain-build.mk
toplevel.mk build: remove targetinfo invalidation based on .config 2025-01-03 11:16:17 +01:00
trusted-firmware-a.mk include/trusted-firmware-a.mk: support LTS releases 2025-06-16 15:35:49 +02:00
u-boot.mk u-boot.mk: pass CROSS_COMPILE during config 2024-09-02 12:42:05 +02:00
uclibc++.mk
unpack.mk
verbose.mk
version.mk version.mk: introduce prplOS Git based versioning 2025-07-31 15:18:08 +00:00