aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nigel Kukard <nkukard@lbsd.net>2008-04-06 10:35:22 +0000
committerGravatar Nigel Kukard <nkukard@lbsd.net>2008-04-06 10:35:22 +0000
commit296a0308e06b489bb2d30f06d38ad45b87c2eefe (patch)
treee39bca7e51e6a6988e4e94c26fdc0877541e5947
parent186cd571e6f5458f0ecdee06ec6251ec35268ccb (diff)
downloadbuildroot-296a0308e06b489bb2d30f06d38ad45b87c2eefe.tar.gz
buildroot-296a0308e06b489bb2d30f06d38ad45b87c2eefe.tar.bz2
* udev will not install if you remove project_build_*/uclibc/root and project_build_*/uclibc/.root ... this sets the dependency on the target binary so if its removed, its installed again
-rw-r--r--package/udev/udev.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/udev/udev.mk b/package/udev/udev.mk
index e50e4fa6c5..9186853c6e 100644
--- a/package/udev/udev.mk
+++ b/package/udev/udev.mk
@@ -47,8 +47,6 @@ $(TARGET_DIR)/$(UDEV_TARGET_BINARY): $(UDEV_DIR)/$(UDEV_BINARY)
LDFLAGS="-warn-common" \
USE_LOG=false USE_SELINUX=false \
udevdir=$(UDEV_ROOT) -C $(UDEV_DIR) install
-
-$(UDEV_DIR)/.target_install: $(UDEV_DIR)/$(UDEV_BINARY)
$(INSTALL) -m 0755 package/udev/S10udev $(TARGET_DIR)/etc/init.d
$(INSTALL) -m 0644 $(UDEV_DIR)/etc/udev/frugalware/* $(TARGET_DIR)/etc/udev/rules.d
( grep udev_root $(TARGET_DIR)/etc/udev/udev.conf > /dev/null 2>&1 || echo 'udev_root=/dev' >> $(TARGET_DIR)/etc/udev/udev.conf )
@@ -59,12 +57,11 @@ ifneq ($(strip $(BR2_PACKAGE_UDEV_UTILS)),y)
rm -f $(TARGET_DIR)/usr/bin/udevinfo
rm -f $(TARGET_DIR)/usr/bin/udevtest
endif
- touch $@
#####################################################################
.PHONY: udev-source udev udev-clean udev-dirclean
-udev: uclibc $(TARGET_DIR)/$(UDEV_TARGET_BINARY) $(UDEV_DIR)/.target_install
+udev: uclibc $(TARGET_DIR)/$(UDEV_TARGET_BINARY)
udev-source: $(DL_DIR)/$(UDEV_SOURCE)