Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame^] | 1 | From 22f0bec462763f1b0b92daa33133e274d3b45f4f Mon Sep 17 00:00:00 2001 |
| 2 | From: Mingli Yu <mingli.yu@windriver.com> |
| 3 | Date: Thu, 5 Nov 2020 00:05:21 -0800 |
| 4 | Subject: [PATCH] autogen.sh: generate configure.ac only |
| 5 | |
| 6 | The autogen.sh should only generate configure.ac and the |
| 7 | logic used to generate configure script should follow the |
| 8 | autotools.bbclass in oe. Otherwise there may comes below |
| 9 | do_configure error: |
| 10 | | checking whether we are cross compiling... configure: error: in `/path/tmp/work/core2-64-poky-linux/ndpi/3.4-r0/git': |
| 11 | | configure: error: cannot run C compiled programs. |
| 12 | | If you meant to cross compile, use `--host'. |
| 13 | |
| 14 | Upstream-Status: Inappropriate [embedded specific] |
| 15 | |
| 16 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
| 17 | --- |
| 18 | autogen.sh | 5 ----- |
| 19 | 1 file changed, 5 deletions(-) |
| 20 | |
| 21 | diff --git a/autogen.sh b/autogen.sh |
| 22 | index 73f8d0ebe..15ff0aa84 100755 |
| 23 | --- a/autogen.sh |
| 24 | +++ b/autogen.sh |
| 25 | @@ -73,8 +73,3 @@ cat configure.seed | sed \ |
| 26 | > configure.ac |
| 27 | |
| 28 | rm -f config.h config.h.in *~ #* |
| 29 | - |
| 30 | -echo "Wait please..." |
| 31 | -autoreconf -if |
| 32 | -echo "" |
| 33 | -echo "Now run ./configure" |
| 34 | -- |
| 35 | 2.17.1 |
| 36 | |