diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2014-01-28 14:41:54 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-02 11:22:09 +0000 |
commit | 81325a412b1983ba7af92ef141fd471e37d6a448 (patch) | |
tree | cf8e5ab35330abdcc188e9bdb2cf6a4691989904 /meta/recipes-extended/ltp/ltp | |
parent | 815261a9277e2027ac92b3e229a07b8f9103695e (diff) | |
download | openembedded-core-contrib-81325a412b1983ba7af92ef141fd471e37d6a448.tar.gz |
ltp: fix ffsb ftbfs on cross-compiled environment
Add ffsb-remove-hardcoded-configure.patch: get rid of the hardcoded configure call preventing cross-compilation
Add do_configure_prepend to explicitly force regeneration the configure file and pass configure options as appropriate.
(From OE-Core rev: ce48f4ebfeae0bca599c6e39958ec8dec11e09dd)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp/ltp')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/ffsb-remove-hardcoded-configure.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/ffsb-remove-hardcoded-configure.patch b/meta/recipes-extended/ltp/ltp/ffsb-remove-hardcoded-configure.patch new file mode 100644 index 0000000000..9f02711070 --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/ffsb-remove-hardcoded-configure.patch @@ -0,0 +1,15 @@ +Get rid of the hardcoded configure call preventing cross-compilation + +Upstream-Status: Pending +Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> + +--- a/utils/Makefile ++++ b/utils/Makefile +@@ -29,7 +29,6 @@ FILTER_OUT_DIRS := $(FFSBDIR) + FFSB := $(FFSBDIR)/ffsb + + $(FFSB): $(FFSBDIR) +- cd $^; ./configure + $(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" all + cp $(FFSBDIR)/ffsb ffsb + |