From 43b6d3f0598e58a9ee200cd6e403e26af865181d Mon Sep 17 00:00:00 2001
From: Alexandru Gagniuc <alex.g@adaptrum.com>
Date: Wed, 22 Feb 2017 16:04:36 -0800
Subject: [PATCH] uboot-omap: Makefile: Include kernel.mk

This is needed for the definition of $(LINUX_DIR). This is used in
u-boot.mk to change the device-tree compiler to the dtc used by
linux.

Without this, the build will use the system dtc. This results in a
build failure when a dtc does not exist outside the buildroot.

Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
---
 package/boot/uboot-omap/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/boot/uboot-omap/Makefile b/package/boot/uboot-omap/Makefile
index 35a76c8ef2..286d480b20 100644
--- a/package/boot/uboot-omap/Makefile
+++ b/package/boot/uboot-omap/Makefile
@@ -6,6 +6,7 @@
 #
 
 include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_VERSION:=2017.01
 PKG_RELEASE:=1
-- 
GitLab