Unpatch Makefile.lib for AK3918EV300

pull/236/head
Dmitry Ermakov 2022-06-12 18:09:34 +03:00
parent c5edd9eccc
commit 325b172e19
1 changed files with 0 additions and 14 deletions

View File

@ -307433,20 +307433,6 @@ index 00000000..03ce3c05
+ destroy(fd);
+ return EXIT_SUCCESS;
+}
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 0be6f110..1e6fe873 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -316,7 +316,8 @@ UIMAGE_COMPRESSION ?= $(if $(2),$(2),none)
UIMAGE_OPTS-y ?=
UIMAGE_TYPE ?= kernel
UIMAGE_LOADADDR ?= arch_must_set_this
-UIMAGE_ENTRYADDR ?= $(UIMAGE_LOADADDR)
+UIMAGE_HEAD := 0x40
+UIMAGE_ENTRYADDR ?= $(shell /bin/bash -c 'printf "0x%08x" $$[$(UIMAGE_LOADADDR)+$(UIMAGE_HEAD)]')
UIMAGE_NAME ?= 'Linux-$(KERNELRELEASE)'
UIMAGE_IN ?= $<
UIMAGE_OUT ?= $@
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index bd6dca8a..849dbe95 100644
--- a/scripts/setlocalversion