diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-03-31 15:30:11 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-03-31 15:30:11 +1000 |
commit | 140921a0c705545707953d0655207ff508fd79d7 (patch) | |
tree | 28a3e39cd3bb545b088bf85457ec4af2ffd58eb5 | |
parent | cd67eae1c63c64a2edd9560aec6d0b78fd7549cb (diff) | |
download | meta-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.bb | 2 |
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" | |||
13 | FILES_${PN} = "/boot/devicetree*" | 13 | FILES_${PN} = "/boot/devicetree*" |
14 | DEVICETREE_FLAGS ?= "-R 8 -p 0x3000" | 14 | DEVICETREE_FLAGS ?= "-R 8 -p 0x3000" |
15 | 15 | ||
16 | S = "${WORKDIR}" | ||
17 | |||
16 | do_compile() { | 18 | do_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 |