summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2005-06-27 12:46:53 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-01 12:45:06 -0700
commit3cf745e128ba02fcea33bd13190b713f00119150 (patch)
treee002cb43bef6118ccde13644407f5dd9208ed359
parent[PATCH] #define NETLINK_KOBJECT_UEVENT (diff)
downloadeudev-3cf745e128ba02fcea33bd13190b713f00119150.tar.gz
eudev-3cf745e128ba02fcea33bd13190b713f00119150.tar.bz2
eudev-3cf745e128ba02fcea33bd13190b713f00119150.zip
[PATCH] Udev doesn't properly build with $CROSS
Patch attached - basically you're always invoking klcc for the udev build itself, but klibc builds $(CROSS)klcc. Thus static cross builds don't work.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b04321ff4..665f75a29 100644
--- a/Makefile
+++ b/Makefile
@@ -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