[uClibc-cvs] uClibc/libc/unistd Makefile,1.31,1.32
Erik Andersen
andersen at codepoet.org
Wed Dec 4 22:40:23 UTC 2002
Update of /var/cvs/uClibc/libc/unistd
In directory winder:/tmp/cvs-serv338/libc/unistd
Modified Files:
Makefile
Log Message:
Change some variable names so we are more consistant with what
the linux kernel uses.
-Erik
Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/unistd/Makefile,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- Makefile 31 Oct 2002 18:20:09 -0000 1.31
+++ Makefile 4 Dec 2002 22:40:19 -0000 1.32
@@ -34,7 +34,7 @@
endif
# TESTING -- comment this out if it breaks for you
-ifeq ($(TARGET_ARCH), $(NATIVE_ARCH))
+ifeq ($(TARGET_ARCH), $(HOST_ARCH))
SYSCONF = sysconf_native
else
SYSCONF = sysconf_$(TARGET_ARCH).c
@@ -52,8 +52,8 @@
# We are cross-compiling so use the generic sysconf.c.
sysconf_$(TARGET_ARCH).c: sysconf.c
- @echo warning: sysconf_$(NATIVE_ARCH).c is older then sysconf.c so using generic sysconf.c
- @echo To build sysconf_$(NATIVE_ARCH).c run gen_sysconf \> sysconf_$(NATIVE_ARCH).c on
+ @echo warning: sysconf_$(HOST_ARCH).c is older then sysconf.c so using generic sysconf.c
+ @echo To build sysconf_$(HOST_ARCH).c run gen_sysconf \> sysconf_$(HOST_ARCH).c on
@echo your target platform, place in the unistd directory, and rebuild
cp -f sysconf.c sysconf_$(TARGET_ARCH).c
@@ -74,14 +74,14 @@
cp -f sysconf.c sysconf_src.c ;\
else \
set -e -x; \
- if ../extra/gcc-uClibc/gcc-uClibc-$(NATIVE_ARCH) -static \
+ if ../extra/gcc-uClibc/gcc-uClibc-$(HOST_ARCH) -static \
-D_UCLIBC_GENERATE_SYSCONF_MAIN sysconf.c sysconf_tester.o \
- -o gen_sysconf && ./gen_sysconf > sysconf_$(NATIVE_ARCH).c ;\
+ -o gen_sysconf && ./gen_sysconf > sysconf_$(HOST_ARCH).c ;\
then \
- echo successfully built sysconf_$(NATIVE_ARCH).c ;\
+ echo successfully built sysconf_$(HOST_ARCH).c ;\
else \
echo warning: build of gen_sysconf failed so using generic sysconf.c ;\
- cp -f sysconf.c sysconf_$(NATIVE_ARCH).c ;\
+ cp -f sysconf.c sysconf_$(HOST_ARCH).c ;\
fi ;\
fi
More information about the uClibc-cvs
mailing list