Skip to content

Commit

Permalink
Add patch to build in-kernel devicetree overlays
Browse files Browse the repository at this point in the history
using the kernel's 'make dtbs' target
  • Loading branch information
simonvanderveldt committed Feb 21, 2019
1 parent 193ef84 commit 891d1a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions linux/linux.mk
Expand Up @@ -438,6 +438,7 @@ define LINUX_BUILD_CMDS
@if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) modules ; \
fi
$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) dtbs
$(LINUX_BUILD_DTB)
$(LINUX_APPEND_DTB)
endef
Expand Down Expand Up @@ -475,6 +476,7 @@ endef
define LINUX_INSTALL_IMAGES_CMDS
$(call LINUX_INSTALL_IMAGE,$(BINARIES_DIR))
$(call LINUX_INSTALL_DTB,$(BINARIES_DIR))
$(LINUX_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) INSTALL_DTBS_PATH=$(BINARIES_DIR) -C $(@D) dtbs_install;
endef

ifeq ($(BR2_STRIP_strip),y)
Expand Down

0 comments on commit 891d1a1

Please sign in to comment.