Openwrt/include
Jeff Kletsky f0b76d02e8 build: define check-kernel-size to remove unflashable images
Certain boards have limitations on U-Boot that prevent flashing
of images where the kernel size exceeds a threshold, yet
sysupgrade can sucessfully manage larger kernels. The current
check-size will remove the target artifact if its total size
exceeds the threshold. If applied after append-kernel,
it will remove the kernel, but the remaining image-assembly
steps will continue, resulting in an image without a kernel
that is likely unbootable.

By defining check-kernel-size, it is now possible to prevent release
of such unbootable images through a construct similar to:

  IMAGE/factory.img := append-kernel | pad-to $$$$(GL_UBOOT_UBI_OFFSET) | \
    append-ubi | check-kernel-size $$$$(GL_UBOOT_UBI_OFFSET)

Cc: Chuanhong Guo <gch981213@gmail.com>

Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
2020-01-15 20:05:48 +01:00
..
site
autotools.mk
cmake.mk cmake: Install host packages to lib instead of lib64 2019-12-23 00:22:07 +01:00
debug.mk
depends.mk
device_table.txt
download.mk build: add PKG_SOURCE_URL_FILE support 2019-11-23 13:35:43 +01:00
feeds.mk
hardened-ld-pie.specs
hardening.mk buildsystem: Make PIE ASLR option tristate 2020-01-13 15:34:36 +01:00
host-build.mk
image-commands.mk build: define check-kernel-size to remove unflashable images 2020-01-15 20:05:48 +01:00
image-legacy.mk
image.mk build: image: add SOC device variable 2019-12-20 01:07:25 +01:00
kernel-build.mk kernel-build: ignore runtime config options during reconfig 2019-11-24 14:19:43 +01:00
kernel-defaults.mk
kernel-version.mk kernel: remove support for kernel 4.9 2020-01-08 16:45:08 +01:00
kernel.mk
netfilter.mk netfilter: package required kmods for nftables 2020-01-14 16:58:43 +01:00
nls.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk base-files: fix build for /sbin/pkg_check 2020-01-14 17:52:34 +01:00
package-seccomp.mk
package.mk
prereq-build.mk build: prereq: add support for Python 3.8 2019-11-14 22:53:31 +01:00
prereq.mk
quilt.mk
rootfs.mk
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk
toolchain-build.mk
toplevel.mk
u-boot.mk
uclibc++.mk libcxx: Add package 2019-12-23 00:22:07 +01:00
unpack.mk
verbose.mk
version.mk version.mk: use https:// instead of http:// 2019-06-11 01:49:44 +02:00