# Set the following to `true' to make a debuggable build.
# Leave this set to `false' for production use.
-DEBUG = true
+DEBUG = false
ROOT = udev
# code taken from uClibc to determine the current arch
ARCH := ${shell $(CC) -dumpmachine | sed -e s'/-.*//' -e 's/i.86/i386/' -e 's/sparc.*/sparc/' \
- -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/g'}
+ -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/powerpc/ppc/g'}
# code taken from uClibc to determine the gcc include dir
GCCINCDIR := ${shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"}
-I$(INCLUDE_DIR)/bits$(BITSIZE) -I$(GCCINCDIR) -Iklibc/linux/include \
-D__KLIBC__
LIB_OBJS =
- LDFLAGS = --static --nostdlib -nostartfiles
+ LDFLAGS = --static --nostdlib -nostartfiles -nodefaultlibs
else
CRT0 =
LIBC =
udevdb.o \
logging.o \
namedev.o \
+ namedev_parse.o \
$(SYSFS) \
$(TDB)