summaryrefslogtreecommitdiff
path: root/packages/gpsd/gpsd.inc
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2007-04-02 23:04:32 +0000
committerJustin Patrin <papercrane@gmail.com>2007-04-02 23:04:32 +0000
commit583e67fbf167c75d9ebefb4c40a8f8298f3508e4 (patch)
tree6da335fe6c8f8da0587332f6eeaf36c510d85256 /packages/gpsd/gpsd.inc
parent2101a73213e474cef3e4d17ef6759e713c3c903f (diff)
gpsd: export BUILD_SYS and HOST_SYS as setup.py expects them to be set
Diffstat (limited to 'packages/gpsd/gpsd.inc')
-rw-r--r--packages/gpsd/gpsd.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/gpsd/gpsd.inc b/packages/gpsd/gpsd.inc
index ffd314d2e8..b4601fedd5 100644
--- a/packages/gpsd/gpsd.inc
+++ b/packages/gpsd/gpsd.inc
@@ -19,6 +19,11 @@ INITSCRIPT_PARAMS = "defaults 35"
export LDFLAGS = "-L${STAGING_LIBDIR} -lm"
+do_compile_prepend() {
+ export BUILD_SYS="${BUILD_SYS}"
+ export HOST_SYS="${HOST_SYS}"
+}
+
do_stage() {
oe_libinstall -so -C ${S}/.libs libgps ${STAGING_LIBDIR}
install -m 0655 ${S}/libgps.la ${STAGING_LIBDIR}