diff options
author | 2017-10-26 13:48:50 -0700 | |
---|---|---|
committer | 2018-03-01 16:10:36 -0800 | |
commit | c96dd1c721a051c1a9b9e05190a5a0518b96ee29 (patch) | |
tree | 36b3bfd5c343c7424f84d8fd9e860702cd3ac477 /meta-oe/recipes-test/testfloat/testfloat_3a.bb | |
parent | a53cb5a94488b62ed919bac17e1509c18b329d16 (diff) | |
download | meta-openembedded-contrib-c96dd1c721a051c1a9b9e05190a5a0518b96ee29.tar.gz |
testfloat: move to recipe-tests
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-test/testfloat/testfloat_3a.bb')
-rw-r--r-- | meta-oe/recipes-test/testfloat/testfloat_3a.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-test/testfloat/testfloat_3a.bb b/meta-oe/recipes-test/testfloat/testfloat_3a.bb new file mode 100644 index 0000000000..28e9677625 --- /dev/null +++ b/meta-oe/recipes-test/testfloat/testfloat_3a.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Berkeley TestFloat is a small collection of programs for \ + testing that an implementation of binary floating-point conforms to the \ + IEEE Standard for Floating-Point Arithmetic." + +HOMEPAGE = "http://www.jhauser.us/arithmetic/TestFloat.html" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://TestFloat-${PV}/COPYING.txt;md5=e45c175a323b5727777fb6bd4b26eafc" + +SRC_URI = "\ + http://www.jhauser.us/arithmetic/TestFloat-3a.zip;name=TestFloat \ + http://www.jhauser.us/arithmetic/SoftFloat-3a.zip;name=SoftFloat \ + file://0001-Makefile-for-cross-compile-SoftFloat.patch \ + file://0002-Makefile-for-cross-compile-TestFloat.patch \ +" +SRC_URI[TestFloat.md5sum] = "5a124e85ab74c5e52da27d401cea6cc3" +SRC_URI[TestFloat.sha256sum] = "fa258b5b3c751656a372051adee4183e19ad4763032322eb7a87dfb9e2c22c75" +SRC_URI[SoftFloat.md5sum] = "e53bd4550cf99690642c41374d188517" +SRC_URI[SoftFloat.sha256sum] = "946fd23180559d60eb6683dda1cf8b142f5426dedfefb97b03c6afdfd70ee9e0" + +S = "${WORKDIR}" + +do_compile(){ + oe_runmake -C SoftFloat-${PV}/build/Linux-Cross-Compile/ + oe_runmake -C TestFloat-${PV}/build/Linux-Cross-Compile/ +} + +do_install(){ + install -d ${D}/${bindir} + install ${S}/TestFloat-${PV}/build/Linux-Cross-Compile/testfloat ${D}/${bindir} + install ${S}/TestFloat-${PV}/build/Linux-Cross-Compile/testfloat_gen ${D}/${bindir} + install ${S}/TestFloat-${PV}/build/Linux-Cross-Compile/testfloat_ver ${D}/${bindir} + install ${S}/TestFloat-${PV}/build/Linux-Cross-Compile/testsoftfloat ${D}/${bindir} + install ${S}/TestFloat-${PV}/build/Linux-Cross-Compile/timesoftfloat ${D}/${bindir} +} |