summaryrefslogtreecommitdiff
path: root/poky/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta-selftest/recipes-test/fortran/fortran-helloworld.bb')
-rw-r--r--poky/meta-selftest/recipes-test/fortran/fortran-helloworld.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/poky/meta-selftest/recipes-test/fortran/fortran-helloworld.bb b/poky/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
index a897966608..11928dc95a 100644
--- a/poky/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
+++ b/poky/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
@@ -6,12 +6,15 @@ DEPENDS = "libgfortran"
SRC_URI = "file://hello.f95"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
# These set flags that Fortran doesn't support
SECURITY_CFLAGS = ""
SECURITY_LDFLAGS = ""
do_compile() {
- ${FC} ${LDFLAGS} ${UNPACKDIR}/hello.f95 -o ${B}/fortran-hello
+ ${FC} ${LDFLAGS} hello.f95 -o ${B}/fortran-hello
}
do_install() {