aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/layerscape
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2018-09-06 13:30:32 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2018-09-22 21:20:58 +0200
commit87d7a596eca7809a7845d507fd32d0e52230f11e (patch)
treec071a20f37d095a330748e5654c16e9981eec8f5 /package/firmware/layerscape
parentdb30adc9312bd0c42830af60ddf2ca398494c265 (diff)
downloadupstream-87d7a596eca7809a7845d507fd32d0e52230f11e.tar.gz
upstream-87d7a596eca7809a7845d507fd32d0e52230f11e.tar.bz2
upstream-87d7a596eca7809a7845d507fd32d0e52230f11e.zip
layerscape: build ls-dpl package with linux dtc tool
Building ls-dpl package requires the dtc tool. This patch is to support using linux dtc tool for ls-dpl package. This avoids compile issue when host system doesn't have the dtc tool. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'package/firmware/layerscape')
-rw-r--r--package/firmware/layerscape/ls-dpl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/firmware/layerscape/ls-dpl/Makefile b/package/firmware/layerscape/ls-dpl/Makefile
index 2bb9825893..c9c96400f4 100644
--- a/package/firmware/layerscape/ls-dpl/Makefile
+++ b/package/firmware/layerscape/ls-dpl/Makefile
@@ -17,6 +17,7 @@ PKG_SOURCE_VERSION:=de3c46f16732f5e050851277b91e82d63818ca58
PKG_MIRROR_HASH:=b19bba34abbb83a204ac925a18425463e508c812c43a59eafc89347fc09d5f0a
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/kernel.mk
define Package/layerscape-dpl-ls1088ardb
SECTION:=firmware
@@ -37,6 +38,8 @@ define Package/layerscape-dpl-ls2088ardb
endef
MAKE_PATH:=config
+MAKE_VARS+= \
+ PATH=$(LINUX_DIR)/scripts/dtc:$(PATH)
define Package/layerscape-dpl-ls1088ardb/install
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)