chiark / gitweb /
set default device node to /dev
[elogind.git] / Makefile
index b04321ff4e44a10b0dbbb9e37c144c32d4a00019..25e0825247272c7a0fc3ff4fe5231948299fdefd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ CONTROL =     udevcontrol
 INFO =         udevinfo
 TESTER =       udevtest
 STARTER =      udevstart
-VERSION =      059
+VERSION =      060
 RELEASE_NAME = $(ROOT)-$(VERSION)
 LOCAL_CFG_DIR =        etc/udev
 DESTDIR =
@@ -73,7 +73,7 @@ INSTALL_DATA  = ${INSTALL} -m 644
 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
 
 # place to put our device nodes
-udevdir =      ${prefix}/udev
+udevdir =      /dev
 udevdb =       ${udevdir}/.udevdb
 
 # set up PWD so that older versions of make will work with our build.
@@ -174,7 +174,7 @@ endif
 # link udev against it statically. Otherwise, use glibc and link dynamically.
 ifeq ($(strip $(USE_KLIBC)),true)
        KLIBC_INSTALL   = $(PWD)/klibc/.install
-       KLCC            = $(KLIBC_INSTALL)/bin/klcc
+       KLCC            = $(KLIBC_INSTALL)/bin/$(CROSS)klcc
        CC              = $(KLCC)
        LD              = $(KLCC)
 else