This is already in a separate chapter, see the previous patch for
INSTALL.ODP
Zoli
On 27/11/14 11:09, Maxim Uvarov wrote:
Debian things has to go to separate debian chapter. For OE all this
things are not needed.
Maxim.
On 11/26/2014 07:07 PM, Zoltan Kiss wrote:
Now it's easier to read the text and with DEB_HOST_ARCH properly set the
package files are correctly named. Unfortunately dpkg-gencontrol
insist to use
the host arch in the control files, unless you overwrite it with the
variable.
Signed-off-by: Zoltan Kiss <[email protected]>
---
INSTALL.ODP | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/INSTALL.ODP b/INSTALL.ODP
index 86cec1f..acf09d7 100644
--- a/INSTALL.ODP
+++ b/INSTALL.ODP
@@ -61,13 +61,19 @@ You can pass the configure options via
DATAPATH_CONFIGURE_OPTS:
DATAPATH_CONFIGURE_OPTS="--with-odp=<ODP_DIR>
--with-odp-platform=<platform>" \
fakeroot debian/rules binary
-If you cross-compile, you need to specify "host" for configure,
-DEB_HOST_GNU_TYPE for dh_strip, and probably a cross-compiled
OpenSSL. The
-latter needs to be told to configure, and dh_shlibdeps needs to find the
-libraries. E.g.:
+If you cross-compile, you need to:
+- specify "host" for configure
+- DEB_HOST_GNU_TYPE has to be set for dh_strip
+- DEB_HOST_ARCH has to be set for dh_gencontrol to correctly create the
+ debian/contol files
+- dh_shlibdeps needs to find the libraries in LD_LIBRARY_PATH
+- probably a cross-compiled OpenSSL. That needs to be told to configure
+
+An example:
LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/usr/arm-linux-gnueabihf/lib:<OpenSSL-DIR>'
\
DEB_HOST_GNU_TYPE=arm-linux-gnueabihf \
+DEB_HOST_ARCH=armhf \
DATAPATH_CONFIGURE_OPTS="--with-odp=<ODP_DIR>
--with-odp-platform=<platform> \
--host=arm-linux-gnueabihf --with-openssl=<OpenSSL-DIR>" fakeroot
debian/rules \
binary
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp