|
|
@@ -109,10 +109,13 @@ endef
|
|
|
# append a fake/empty uImage header, to fool bootloaders rootfs integrity check
|
|
|
# for example
|
|
|
define Build/append-uImage-fakehdr
|
|
|
+ $(eval type=$(word 1,$(1)))
|
|
|
+ $(eval magic=$(word 2,$(1)))
|
|
|
touch [email protected]
|
|
|
$(STAGING_DIR_HOST)/bin/mkimage \
|
|
|
- -A $(LINUX_KARCH) -O linux -T $(1) -C none \
|
|
|
- -n '$(VERSION_DIST) fake $(1)' \
|
|
|
+ -A $(LINUX_KARCH) -O linux -T $(type) -C none \
|
|
|
+ -n '$(VERSION_DIST) fake $(type)' \
|
|
|
+ $(if $(magic),-M $(magic)) \
|
|
|
-d [email protected] \
|
|
|
-s \
|
|
|
[email protected]
|