summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-05-04 23:11:20 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-04 23:11:20 +0200
commit79db1ff5ac3c5f32ba473258bef1f8328564ca77 (patch)
tree366205f00ac271fb70b6db64606dc6c217c23f89 /package
parent32ed97007509228e0b4aa1050dd1d017118d0d7a (diff)
hal: cleanup package
Closes #1525 Kconfig selects are not recursive, so ensure we select the dependencies of our dependencies as well. Cleanup target installation: - Remove tasks handled by the generic post-build cleanup - Hal doesn't install etc/rc.d, so don't try to delete it Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/hal/Config.in6
-rw-r--r--package/hal/hal.mk8
2 files changed, 6 insertions, 8 deletions
diff --git a/package/hal/Config.in b/package/hal/Config.in
index 623825cd1..250e00509 100644
--- a/package/hal/Config.in
+++ b/package/hal/Config.in
@@ -1,6 +1,12 @@
config BR2_PACKAGE_HAL
bool "hal"
+ select BR2_PACKAGE_EXPAT
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_GETTEXT
+ select BR2_PACKAGE_LIBINTL
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_DBUS_EXPAT
select BR2_PACKAGE_DBUS_GLIB
select BR2_PACKAGE_HWDATA
select BR2_PACKAGE_UDEV
diff --git a/package/hal/hal.mk b/package/hal/hal.mk
index 754ed85b2..0c362b053 100644
--- a/package/hal/hal.mk
+++ b/package/hal/hal.mk
@@ -63,19 +63,12 @@ $(HAL_DIR)/hald/hald: $(HAL_DIR)/.configured
$(TARGET_DIR)/$(HAL_TARGET_BINARY): $(HAL_DIR)/hald/hald
$(MAKE) STAGING_DIR="$(STAGING_DIR)" DESTDIR="$(TARGET_DIR)" -C $(HAL_DIR) install
- rm -rf $(TARGET_DIR)/usr/share/locale
- rm -rf $(TARGET_DIR)/usr/share/doc
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
rm -rf $(TARGET_DIR)/usr/share/hal/device-manager
- rm -rf $(TARGET_DIR)/usr/lib/pkgconfig
- # remove _everything_ in $(TARGET_DIR)/usr/include?
- # rm -rf $(TARGET_DIR)/usr/include
rm -rf $(TARGET_DIR)/usr/lib/libhal*.so
- rm -rf $(TARGET_DIR)/usr/lib/libhal*.la
rm -rf $(TARGET_DIR)/usr/lib/hal
rm -rf $(TARGET_DIR)/etc/PolicyKit
$(INSTALL) -m 0755 -D package/hal/S98haldaemon $(TARGET_DIR)/etc/init.d
- rm -rf $(TARGET_DIR)/etc/rc.d
for file in hald-addon-acpi* hald-addon-cpufreq \
hald-addon-keyboard hald-addon-pmu \
hald-probe-pc-floppy hald-probe-printer \
@@ -86,7 +79,6 @@ $(TARGET_DIR)/$(HAL_TARGET_BINARY): $(HAL_DIR)/hald/hald
do \
rm -f $(TARGET_DIR)/usr/libexec/$$file; \
done
- -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libhal*
hal: host-pkg-config dbus-glib hwdata udev $(TARGET_DIR)/$(HAL_TARGET_BINARY)