aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2019-02-06 17:41:49 +0100
committerChristian Lamparter <chunkeey@gmail.com>2019-02-11 19:01:50 +0100
commit0dc48905cb1a11025cf3e362dc9940d92a8d8855 (patch)
tree1716915e12a1aa77ee86e29bad6719cb17e315cd /include/image.mk
parent83bcacb5215c21e1894fbe3d651d83948479ce91 (diff)
downloadupstream-0dc48905cb1a11025cf3e362dc9940d92a8d8855.tar.gz
upstream-0dc48905cb1a11025cf3e362dc9940d92a8d8855.tar.bz2
upstream-0dc48905cb1a11025cf3e362dc9940d92a8d8855.zip
build: add KERNEL_ENTRY and sort DEFAULT_DEVICE_VARS
The KERNEL_ENTRY was missing from the DEFAULT_DEVICE_VARS. This bug was discovered while preparing alternative images for the mpc85xx's TP-Link WDR4900-V1, which all failed to boot due to this: |## Booting kernel from Legacy Image at 02000000 ... | Image Name: POWERPC OpenWrt Linux-4.14.96 | Image Type: PowerPC Linux Kernel Image (uncompressed) | Data Size: 2056568 Bytes = 2 MiB | Load Address: 01000000 | Entry Point: 00000000 | Verifying Checksum ... OK Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/image.mk b/include/image.mk
index 4851a71bcd..5d93a42c62 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -387,12 +387,11 @@ define Device/Init
endef
DEFAULT_DEVICE_VARS := \
- DEVICE_NAME KERNEL KERNEL_INITRAMFS KERNEL_SIZE KERNEL_INITRAMFS_IMAGE \
- KERNEL_LOADADDR DEVICE_DTS DEVICE_DTS_CONFIG DEVICE_DTS_DIR BOARD_NAME \
- CMDLINE UBOOTENV_IN_UBI KERNEL_IN_UBI \
- BLOCKSIZE PAGESIZE SUBPAGESIZE VID_HDR_OFFSET \
- UBINIZE_OPTS UIMAGE_NAME UBINIZE_PARTS \
- SUPPORTED_DEVICES IMAGE_METADATA
+ DEVICE_NAME KERNEL KERNEL_INITRAMFS KERNEL_INITRAMFS_IMAGE KERNEL_SIZE \
+ CMDLINE UBOOTENV_IN_UBI KERNEL_IN_UBI BLOCKSIZE PAGESIZE SUBPAGESIZE \
+ VID_HDR_OFFSET UBINIZE_OPTS UBINIZE_PARTS MKUBIFS_OPTS DEVICE_DTS \
+ DEVICE_DTS_CONFIG DEVICE_DTS_DIR BOARD_NAME UIMAGE_NAME SUPPORTED_DEVICES \
+ IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR
define Device/ExportVar
$(1) : $(2):=$$($(2))