summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Weinstein <jake@aospa.co>2020-09-29 02:17:46 +0200
committeralk3pInjection <webmaster@raspii.tech>2022-01-13 16:38:27 +0800
commite6ce890f56c4f1032616884860c38b2c9fc40a93 (patch)
treed956278da5aca4373540543c2db55f2be813f6c9
parent411e0b557ccd0c890e9e204e58aa7c1a05407741 (diff)
kernelscripts: Define TARGET_KERNEL_APPEND_DTB if BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb.
* No reason to make this incompatible with literally every other ROM. Change-Id: I2742816adf1ccdf7975dd23d0e3e76f81dda60d4
-rw-r--r--legacy_definitions.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/legacy_definitions.mk b/legacy_definitions.mk
index 2827470..55dc520 100644
--- a/legacy_definitions.mk
+++ b/legacy_definitions.mk
@@ -12,6 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+ifeq ($(BOARD_KERNEL_IMAGE_NAME),Image.gz-dtb)
+TARGET_KERNEL_APPEND_DTB := true
+endif
+
ifneq ($(TARGET_KERNEL_CONFIG),)
KERNEL_DEFCONFIG := $(TARGET_KERNEL_CONFIG)
endif