mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-14 16:52:44 +00:00
fftw: Remove abspaths in binaries coming via FFTW_CC
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
parent
879b7b6e1d
commit
cd39565a5a
@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
|||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
http://www.fftw.org/fftw-${PV}.tar.gz \
|
http://www.fftw.org/fftw-${PV}.tar.gz \
|
||||||
file://0001-NEON-autodetection-segfaults-assume-neon-present.patch \
|
file://0001-NEON-autodetection-segfaults-assume-neon-present.patch \
|
||||||
file://0001-Remove-the-CC-and-CFLAGS-from-the-build.patch \
|
|
||||||
file://install-bench.patch \
|
file://install-bench.patch \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
"
|
"
|
||||||
@ -44,7 +43,7 @@ do_configure() {
|
|||||||
cd ${B}
|
cd ${B}
|
||||||
# configure only
|
# configure only
|
||||||
oe_runconf --enable-long-double
|
oe_runconf --enable-long-double
|
||||||
mv ${B} ${WORKDIR}/build-fftwl
|
mv ${B} ${WORKDIR}/build-fftwl
|
||||||
|
|
||||||
# configure fftwf
|
# configure fftwf
|
||||||
rm -rf ${WORKDIR}/build-fftwf
|
rm -rf ${WORKDIR}/build-fftwf
|
||||||
@ -58,7 +57,7 @@ do_configure() {
|
|||||||
do_compile() {
|
do_compile() {
|
||||||
for lib in fftw fftwl fftwf; do
|
for lib in fftw fftwl fftwf; do
|
||||||
cd ${WORKDIR}/build-$lib
|
cd ${WORKDIR}/build-$lib
|
||||||
test -n "${TOOLCHAIN_OPTIONS}" && sed -i -e 's|${TOOLCHAIN_OPTIONS}||g' config.h
|
sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' config.h
|
||||||
autotools_do_compile
|
autotools_do_compile
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user