From 10b78e0fa949032762389fa59a4c232651265eb0 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Thu, 28 Aug 2014 13:50:24 +0200 Subject: [PATCH] Fix dirvar into makefile Change-Id: I1d98e1f092998df81f5d52b439aa86fa0b1daa40 Signed-off-by: Ronan Le Martret --- .../sphinxbase/files/remove_useless_dirvar.patch | 16 ++++++++++++++++ recipes-tizen/sphinxbase/sphinxbase-extraconf.inc | 11 +++++++++++ 2 files changed, 27 insertions(+) create mode 100644 recipes-tizen/sphinxbase/files/remove_useless_dirvar.patch diff --git a/recipes-tizen/sphinxbase/files/remove_useless_dirvar.patch b/recipes-tizen/sphinxbase/files/remove_useless_dirvar.patch new file mode 100644 index 0000000..3df5736 --- /dev/null +++ b/recipes-tizen/sphinxbase/files/remove_useless_dirvar.patch @@ -0,0 +1,16 @@ +diff --git a/test/regression/Makefile.am b/test/regression/Makefile.am +index d13d2a7..3bdb18a 100644 +--- a/test/regression/Makefile.am ++++ b/test/regression/Makefile.am +@@ -33,9 +33,9 @@ CLEANFILES = test*.err test*.out \ + + # Disable sphinx_fe tests for now if fixed-point due to imprecision + if FIXED_POINT +-TESTS = $(srcdir)/test-cepview.sh $(srcdir)/test-sphinx_pitch.sh ++TESTS = test-cepview.sh test-sphinx_pitch.sh + else +-TESTS = $(srcdir)/test-*.sh ++TESTS = test-*.sh + endif + + EXTRA_DIST += $(TESTS) diff --git a/recipes-tizen/sphinxbase/sphinxbase-extraconf.inc b/recipes-tizen/sphinxbase/sphinxbase-extraconf.inc index e69de29..8d2b8fa 100644 --- a/recipes-tizen/sphinxbase/sphinxbase-extraconf.inc +++ b/recipes-tizen/sphinxbase/sphinxbase-extraconf.inc @@ -0,0 +1,11 @@ +SRC_URI_append = " file://remove_useless_dirvar.patch " + +export HOST_SYS +export BUILD_SYS +export STAGING_LIBDIR +export STAGING_INCDIR + +inherit pythonnative python-dir + +FILES_${PN}-dbg += "${prefix}/lib/python2.7/site-packages/.debug/sphinxbase.so" + \ No newline at end of file -- 2.7.4