summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-10 13:53:28 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-10 13:53:28 +0000
commitf4d23f7ead1711c89fb6626d29bc1bdfa2c57b91 (patch)
tree8870d0802e3e77f81f9d4f383467e75d30505154
parent0186dab79fd4b34a1e39a13d5cc4b85a7e2ca1d3 (diff)
downloadbuildroot-novena-f4d23f7ead1711c89fb6626d29bc1bdfa2c57b91.tar.gz
buildroot-novena-f4d23f7ead1711c89fb6626d29bc1bdfa2c57b91.zip
- Add default udev.conf and fix a mkdir call.
Thanks to Petr Stetiar.
-rw-r--r--package/udev/udev.conf7
-rw-r--r--package/udev/udev.mk2
2 files changed, 8 insertions, 1 deletions
diff --git a/package/udev/udev.conf b/package/udev/udev.conf
new file mode 100644
index 000000000..2cea6cdd3
--- /dev/null
+++ b/package/udev/udev.conf
@@ -0,0 +1,7 @@
+# udev.conf
+
+# The initial syslog(3) priority: "err", "info", "debug" or its
+# numerical equivalent. For runtime debugging, the daemons internal
+# state can be changed with: "udevcontrol log_priority=<value>".
+udev_log="err"
+udev_root=/dev
diff --git a/package/udev/udev.mk b/package/udev/udev.mk
index a33a82978..b13e59f14 100644
--- a/package/udev/udev.mk
+++ b/package/udev/udev.mk
@@ -49,7 +49,7 @@ UDEV_CONF:=etc/udev/frugalware/*
$(TARGET_DIR)/$(UDEV_TARGET_BINARY): $(UDEV_DIR)/$(UDEV_BINARY)
-mkdir $(TARGET_DIR)/sys
- -mkdir $(TARGET_DIR)/etc/udev/rules.d
+ -mkdir -p $(TARGET_DIR)/etc/udev/rules.d
$(INSTALL) -D -m 0644 $(UDEV_DIR)/$(UDEV_CONF) \
$(TARGET_DIR)/etc/udev/rules.d
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) CC=$(TARGET_CC) LD=$(TARGET_CC) \