chiark / gitweb /
[PATCH] only build klibc_fixups.c if we are actually using klibc.
authorgreg@kroah.com <greg@kroah.com>
Mon, 24 Nov 2003 04:56:52 +0000 (20:56 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:02 +0000 (21:13 -0700)
Makefile

index fc5c9b1..a2f904a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -151,10 +151,13 @@ OBJS =    udev.o          \
        udevdb.o        \
        logging.o       \
        namedev.o       \
-       klibc_fixups.o  \
        $(SYSFS)        \
        $(TDB)
 
+ifeq ($(strip $(KLIBC)),true)
+       OBJS += klibc_fixups.o
+endif
+
 # header files automatically generated
 GEN_HEADERS =  udev_version.h