summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-23 20:56:52 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:02 -0700
commit6a670d61bce2f9cc6df23af0d594e764fb2e573b (patch)
treeea9c98cbda7c3fcffd0d1b6ab4d8e119ae56d8cc /Makefile
parent10950dfe84c064da2fde8d812c0c90cfba836d16 (diff)
[PATCH] only build klibc_fixups.c if we are actually using klibc.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fc5c9b1792..a2f904a745 100644
--- 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