aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2017-12-25 12:21:26 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2017-12-26 23:30:59 +0100
commit5741835ed48c9205ff2cfd9f5ee9fe8fd997cad5 (patch)
treea77ee360043aab71cacd478554732bc1e1dbdea1
parent60c4f9ce564a2dba3587cfe75b4c8d44dd87ee3f (diff)
downloadupstream-5741835ed48c9205ff2cfd9f5ee9fe8fd997cad5.tar.gz
upstream-5741835ed48c9205ff2cfd9f5ee9fe8fd997cad5.tar.bz2
upstream-5741835ed48c9205ff2cfd9f5ee9fe8fd997cad5.zip
layerscape: fix PKG_BUILD_DIR for packages
PKG_BUILD_DIR was defined with quoting PKG_VERSION in layerscape package makefiles. Now PKG_VERSION has been removed from these makefiles. When PKG_BUILD_DIR quotes PKG_VERSION, '=' should be used instead ':=' to make sure PKG_VERSION has been defined in common makefile. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
-rw-r--r--package/firmware/layerscape/ls-dpl/Makefile2
-rw-r--r--package/firmware/layerscape/ls-mc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/firmware/layerscape/ls-dpl/Makefile b/package/firmware/layerscape/ls-dpl/Makefile
index c3e2f096a9..86483cab89 100644
--- a/package/firmware/layerscape/ls-dpl/Makefile
+++ b/package/firmware/layerscape/ls-dpl/Makefile
@@ -16,7 +16,7 @@ PKG_SOURCE_URL:=https://github.com/qoriq-open-source/dpl-examples.git
PKG_SOURCE_VERSION:=a6c83759c0d9c02822eec89e86357a0998ef51d4
PKG_MIRROR_HASH:=d0311591843fbf9faebc7e2f0d53cba47d42ef21c4407c5881f354df6c458ce5
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_FLAGS:=nonshared
diff --git a/package/firmware/layerscape/ls-mc/Makefile b/package/firmware/layerscape/ls-mc/Makefile
index eb58dd70a4..a81e095638 100644
--- a/package/firmware/layerscape/ls-mc/Makefile
+++ b/package/firmware/layerscape/ls-mc/Makefile
@@ -16,7 +16,7 @@ PKG_SOURCE_URL:=https://github.com/qoriq-open-source/mc-binary.git
PKG_SOURCE_VERSION:=824745fe1580b281bebb808321c3f41353a3140a
PKG_MIRROR_HASH:=984c7905af3a4b87b72263de9220901c531fe064f0b89dd2882676354e09ed16
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_FLAGS:=nonshared