Do not use custom dtbtool
Fixes the issue where magisk was not able to patch fstab in the dtb Signed-off-by: shivvvvvv <shivpratapd1@gmail.com> Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
@@ -71,8 +71,7 @@ BOARD_KERNEL_BASE := 0x80000000
|
||||
BOARD_KERNEL_IMAGE_NAME := Image.gz
|
||||
BOARD_KERNEL_PAGESIZE := 2048
|
||||
BOARD_KERNEL_SEPARATED_DT := true
|
||||
TARGET_CUSTOM_DTBTOOL := dtbTool_custom
|
||||
BOARD_DTBTOOL_ARGS := --force-v3 --motorola 1
|
||||
BOARD_DTBTOOL_ARGS := --force-v3
|
||||
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
|
||||
TARGET_KERNEL_ARCH := arm64
|
||||
TARGET_KERNEL_HEADER_ARCH := arm64
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
ifeq ($(BOARD_KERNEL_SEPARATED_DT),true)
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
dtbtool.c
|
||||
|
||||
LOCAL_CFLAGS += \
|
||||
-Wall
|
||||
|
||||
## Hybrid v1/v2 dtbTool. Use a different name to avoid conflicts with copies in device repos
|
||||
LOCAL_MODULE := dtbTool_custom
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
include $(BUILD_HOST_EXECUTABLE)
|
||||
endif
|
||||
1110
dtbtool/dtbtool.c
1110
dtbtool/dtbtool.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user