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 fc5c9b1792a35bbe5756444221b4ecd2b038da24..a2f904a7454a40addb70cc0ab4392f0cd525fa83 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