diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-17 01:31:38 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-17 01:31:38 +0000 |
commit | 50e1da8698f484cfcf6793136ea268c3f997d6ea (patch) | |
tree | 41b4b9ee3ae7f0ecb179689601ca048b825225b7 /make/uclibc.mk | |
parent | 8162065d968b219e01628d5118683ba41da6c121 (diff) | |
download | buildroot-novena-50e1da8698f484cfcf6793136ea268c3f997d6ea.tar.gz buildroot-novena-50e1da8698f484cfcf6793136ea268c3f997d6ea.zip |
Fix most things when large file support is not configured.
Mostly submitted by Thomas Lundquist <lists@zelow.no>.
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r-- | make/uclibc.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk index 5c0952b10..4c4bc855c 100644 --- a/make/uclibc.mk +++ b/make/uclibc.mk @@ -54,8 +54,14 @@ endif $(UCLIBC_DIR)/.config sed -ie 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \ $(UCLIBC_DIR)/.config - sed -ie 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y\nUCLIBC_HAS_LOCALE=n,g' \ +ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true) + sed -ie "s/^.*UCLIBC_HAS_LFS.*/UCLIBC_HAS_LFS=y/;" \ $(UCLIBC_DIR)/.config +else + sed -ie "s/^.*UCLIBC_HAS_LFS.*/UCLIBC_HAS_LFS=n/;" \ + $(UCLIBC_DIR)/.config +endif + sed -ie 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config if [ -n "$(strip $(TARGET_SOFT_FLOAT))" ] ; then \ sed -ie 's,.*HAS_FPU.*,HAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' \ $(UCLIBC_DIR)/.config; \ |