summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-03-31 15:30:11 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-03-31 15:30:11 +1000
commit140921a0c705545707953d0655207ff508fd79d7 (patch)
tree28a3e39cd3bb545b088bf85457ec4af2ffd58eb5
parentcd67eae1c63c64a2edd9560aec6d0b78fd7549cb (diff)
downloadmeta-xilinx-140921a0c705545707953d0655207ff508fd79d7.tar.gz
device-tree.bb: Set S directory as WORKDIR
* This sorts out the S directory doesn't exist warning/check which occurs due to the recipe not having a primary source which is unpacked Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--recipes-bsp/device-tree/device-tree.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-bsp/device-tree/device-tree.bb b/recipes-bsp/device-tree/device-tree.bb
index 7159f529..aea5200c 100644
--- a/recipes-bsp/device-tree/device-tree.bb
+++ b/recipes-bsp/device-tree/device-tree.bb
@@ -13,6 +13,8 @@ DEPENDS += "dtc-native"
13FILES_${PN} = "/boot/devicetree*" 13FILES_${PN} = "/boot/devicetree*"
14DEVICETREE_FLAGS ?= "-R 8 -p 0x3000" 14DEVICETREE_FLAGS ?= "-R 8 -p 0x3000"
15 15
16S = "${WORKDIR}"
17
16do_compile() { 18do_compile() {
17 if test -n "${MACHINE_DEVICETREE}"; then 19 if test -n "${MACHINE_DEVICETREE}"; then
18 mkdir -p ${WORKDIR}/devicetree 20 mkdir -p ${WORKDIR}/devicetree