From: Nigel Kukard Date: Sun, 6 Apr 2008 10:35:22 +0000 (-0000) Subject: * udev will not install if you remove project_build_*/uclibc/root and project_build_... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=296a0308e06b489bb2d30f06d38ad45b87c2eefe;p=buildroot.git * 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 --- 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)