diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-12-04 22:40:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-12-04 22:40:20 +0000 |
commit | 8fc69335e9c6b53805a7bf883de7ac57b2f564b4 (patch) | |
tree | 11f78959e454d5121e351c45381e19d90a2c9238 /libc/unistd/Makefile | |
parent | d8b1702462fdcf890c03046da97c56d8055a4295 (diff) |
Change some variable names so we are more consistant with what
the linux kernel uses.
-Erik
Diffstat (limited to 'libc/unistd/Makefile')
-rw-r--r-- | libc/unistd/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile index 0d05e6d49..92f27e1a6 100644 --- a/libc/unistd/Makefile +++ b/libc/unistd/Makefile @@ -34,7 +34,7 @@ ifeq ($(strip $(UCLIBC_HAS_MMU)),y) 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 @@ ar-target: $(OBJS) # 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 @@ gen_sysconf_tester.o: sysconf_tester.o getpagesize_tester.o 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 |