mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
bcm4908: prepend kernel images with a custom header
It's required for CFE to accept kernel. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
parent
6e7ca70449
commit
c40006e0af
@ -8,11 +8,16 @@ define Build/bcm4908lzma
|
||||
mv $@.new $@
|
||||
endef
|
||||
|
||||
define Build/bcm4908kernel
|
||||
$(STAGING_DIR_HOST)/bin/bcm4908kernel -i $@ -o $@.new
|
||||
mv $@.new $@
|
||||
endef
|
||||
|
||||
define Device/Default
|
||||
KERNEL := kernel-bin | bcm4908lzma
|
||||
KERNEL := kernel-bin | bcm4908lzma | bcm4908kernel
|
||||
KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
|
||||
KERNEL_INITRAMFS_SUFFIX := .bin
|
||||
KERNEL_INITRAMFS := kernel-bin | bcm4908lzma
|
||||
KERNEL_INITRAMFS := kernel-bin | bcm4908lzma | bcm4908kernel
|
||||
FILESYSTEMS := squashfs
|
||||
KERNEL_NAME := Image
|
||||
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user