From f3e04e9a5364a35482d231a417de504890805091 Mon Sep 17 00:00:00 2001 From: Sai Hari Chandana Kalluri Date: Sat, 6 Jun 2020 17:08:59 -0700 Subject: python3-dtc_1.5.1.bb: Explicitly set the path to run make during configure With current recipe,during build it fails with the following error: xecuting Tasks ERROR: python3-dtc-native-1.5.1-r0 do_configure: Execution of 'x86_64-linux/python3-dtc-native/1.5.1-r0/temp/run.do_configure.26600' failed with exit code 1: make: *** No rule to make target 'version_gen.h'. Stop. WARNING: x86_64-linux/python3-dtc-native/1.5.1-r0/temp/run.do_configure.26600:1 exit 1 from 'do_configure' ERROR: Logfile of failure stored in: x86_64-linux/python3-dtc-native/1.5.1-r0/temp/log.do_configure.26600 Explicitly set the path to change directory into so that the make command is succesful. Signed-off-by: Sai Hari Chandana Kalluri --- meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.5.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.5.1.bb b/meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.5.1.bb index dc87effa..08e356d4 100644 --- a/meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.5.1.bb +++ b/meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.5.1.bb @@ -20,7 +20,7 @@ DEPENDS += "libyaml dtc" inherit distutils3 do_configure_prepend() { - (cd .. ; make version_gen.h ) + (cd ${S}/../ ; make version_gen.h ) } BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf