[source] layerscape: fix PKG_BUILD_DIR for packages

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 26 14:31:25 PST 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/5741835ed48c9205ff2cfd9f5ee9fe8fd997cad5

commit 5741835ed48c9205ff2cfd9f5ee9fe8fd997cad5
Author: Yangbo Lu <yangbo.lu at nxp.com>
AuthorDate: Mon Dec 25 12:21:26 2017 +0800

    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 at nxp.com>
---
 package/firmware/layerscape/ls-dpl/Makefile | 2 +-
 package/firmware/layerscape/ls-mc/Makefile  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/firmware/layerscape/ls-dpl/Makefile b/package/firmware/layerscape/ls-dpl/Makefile
index c3e2f09..86483ca 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 eb58dd7..a81e095 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
 



More information about the lede-commits mailing list