summaryrefslogtreecommitdiffstats
path: root/build/tasks/dtbo.mk
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-05 15:10:31 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-06 12:15:24 +0200
commitaf08db027b6214306683c8cbf9980798c5f85977 (patch)
tree97211afd7b11bace6ce508984d110ddf10dc41f2 /build/tasks/dtbo.mk
parentdc5051ce0272ddb572aaa72ecd0e1d00ad9b0f83 (diff)
downloadexternal_wget-replicant-11.tar.gz
external_wget-replicant-11.tar.bz2
external_wget-replicant-11.zip
This way: - We can rebase more easily if needed - We don't have to bring in the other part of vendor/lineage that is potentially incompatible with what we have wget was also moved in the top directory along the way. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'build/tasks/dtbo.mk')
-rw-r--r--build/tasks/dtbo.mk27
1 files changed, 0 insertions, 27 deletions
diff --git a/build/tasks/dtbo.mk b/build/tasks/dtbo.mk
deleted file mode 100644
index 674eae0a..00000000
--- a/build/tasks/dtbo.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-ifneq ($(TARGET_NO_KERNEL),true)
-ifeq ($(strip $(BOARD_KERNEL_SEPARATED_DTBO)),true)
-
-MKDTIMG := $(HOST_OUT_EXECUTABLES)/mkdtimg$(HOST_EXECUTABLE_SUFFIX)
-
-BOARD_PREBUILT_DTBOIMAGE := $(PRODUCT_OUT)/dtbo-pre.img
-
-# Most specific paths must come first in possible_dtbo_dirs
-possible_dtbo_dirs = $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/dts $(KERNEL_OUT)/arch/arm/boot/dts
-
-define build-dtboimage-target
- $(call pretty,"Target dtbo image: $(BOARD_PREBUILT_DTBOIMAGE)")
- $(hide) for dir in $(possible_dtbo_dirs); do \
- if [ -d "$$dir" ]; then \
- dtbo_dir="$$dir"; \
- break; \
- fi; \
- done; \
- $(MKDTIMG) create $@ --page_size=$(BOARD_KERNEL_PAGESIZE) $$(find "$$dtbo_dir" -name '*.dtbo')
- $(hide) chmod a+r $@
-endef
-
-$(BOARD_PREBUILT_DTBOIMAGE): $(MKDTIMG) $(INSTALLED_KERNEL_TARGET)
- $(build-dtboimage-target)
-
-endif # BOARD_KERNEL_SEPARATED_DTBO
-endif # TARGET_NO_KERNEL