aboutsummaryrefslogtreecommitdiff
path: root/package/hal/hal.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-12-16 10:10:18 +0100
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-12-16 10:10:18 +0100
commitebe6ce42941b502fcd40967f53165418064d7d30 (patch)
tree5b32921a0005b78a8935572105254ef38e20e4c8 /package/hal/hal.mk
parentc09e51037a52984d7faa3ad268dc7de34f7298b5 (diff)
downloadbuildroot-ebe6ce42941b502fcd40967f53165418064d7d30.tar.gz
buildroot-ebe6ce42941b502fcd40967f53165418064d7d30.tar.bz2
hal: fix build, correct glib/udev/expat paths
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/hal/hal.mk')
-rw-r--r--package/hal/hal.mk15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/hal/hal.mk b/package/hal/hal.mk
index a72bc63ed6..754ed85b2c 100644
--- a/package/hal/hal.mk
+++ b/package/hal/hal.mk
@@ -12,11 +12,11 @@ HAL_BINARY:=hald/hald
HAL_TARGET_BINARY:=usr/sbin/hald
GLIB_CFLAGS:=-I$(STAGING_DIR)/usr/include/glib-2.0 \
- -I$(STAGING_DIR)/lib/glib/include
-GLIB_LIBS:=$(STAGING_DIR)/lib/libglib-2.0.so \
- $(STAGING_DIR)/lib/libgmodule-2.0.so \
- $(STAGING_DIR)/lib/libgobject-2.0.so \
- $(STAGING_DIR)/lib/libgthread-2.0.so
+ -I$(STAGING_DIR)/usr/lib/glib-2.0/include
+GLIB_LIBS:=$(STAGING_DIR)/usr/lib/libglib-2.0.so \
+ $(STAGING_DIR)/usr/lib/libgmodule-2.0.so \
+ $(STAGING_DIR)/usr/lib/libgobject-2.0.so \
+ $(STAGING_DIR)/usr/lib/libgthread-2.0.so
DBUS_GLIB_LIBS:=$(STAGING_DIR)/usr/lib/libdbus-glib-1.so
$(DL_DIR)/$(HAL_SOURCE):
@@ -29,7 +29,7 @@ $(HAL_DIR)/.unpacked: $(DL_DIR)/$(HAL_SOURCE)
toolchain/patch-kernel.sh $(HAL_DIR) package/hal/ \*.patch
touch $(HAL_DIR)/.unpacked
-$(HAL_DIR)/.configured: $(HAL_DIR)/.unpacked /usr/bin/pkg-config
+$(HAL_DIR)/.configured: $(HAL_DIR)/.unpacked
(cd $(HAL_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
@@ -39,7 +39,7 @@ $(HAL_DIR)/.configured: $(HAL_DIR)/.unpacked /usr/bin/pkg-config
DBUS_CFLAGS="-I$(STAGING_DIR)/usr/include/dbus-1.0 -I$(STAGING_DIR)/usr/lib/dbus-1.0/include" \
DBUS_LIBS="$(STAGING_DIR)/usr/lib/libdbus-1.so" \
VOLUME_ID_CFLAGS="$(TARGET_CFLAGS)" \
- VOLUME_ID_LIBS="$(STAGING_DIR)/usr/lib/libvolume_id.so" \
+ VOLUME_ID_LIBS="$(STAGING_DIR)/lib/libvolume_id.so" \
ac_cv_path_LIBUSB_CONFIG= \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
@@ -49,6 +49,7 @@ $(HAL_DIR)/.configured: $(HAL_DIR)/.unpacked /usr/bin/pkg-config
--sysconfdir=/etc \
--localstatedir=/var \
--with-hwdata=$(TARGET_DIR)/usr/share/hwdata \
+ --with-expat=$(STAGING_DIR)/usr/ \
--disable-policy-kit \
--disable-gtk-doc \
--disable-static \