--- uclibc.mk (Revision 6252)
+++ uclibc.mk (Arbeitskopie)
@@ -61,23 +61,14 @@
KERNEL_SOURCE=\"$(FREETZ_BASE_DIR)/$(UCLIBC_KERNEL_SOURCE_DIR)\" \
, \
KERNEL_HEADERS=\"$(FREETZ_BASE_DIR)/$(UCLIBC_KERNEL_HEADERS_DIR)\" \
+ ARCH_WANTS_LITTLE_ENDIAN.=$(if $(FREETZ_TARGET_ARCH_LE),y,n) \
+ ARCH_WANTS_BIG_ENDIAN.=$(if $(FREETZ_TARGET_ARCH_LE),n,y) \
) \
UCLIBC_HAS_IPV6=$(FREETZ_TARGET_IPV6_SUPPORT) \
UCLIBC_HAS_LFS=$(FREETZ_TARGET_LFS) \
UCLIBC_HAS_FOPEN_LARGEFILE_MODE=n \
UCLIBC_HAS_WCHAR=y \
) $(UCLIBC_DIR)/.config
-ifneq ($(strip $(UCLIBC_VERSION)),0.9.28)
-ifeq ($(strip $(FREETZ_TARGET_ARCH_LE)),y)
- $(SED) -i -e 's,.*ARCH_BIG_ENDIAN.*,ARCH_LITTLE_ENDIAN=y,g' $(UCLIBC_DIR)/.config
- $(SED) -i -e 's,.*ARCH_WANTS_BIG_ENDIAN.*,# ARCH_WANTS_BIG_ENDIAN is not set,g' $(UCLIBC_DIR)/.config
- $(SED) -i -e 's,.*ARCH_WANTS_LITTLE_ENDIAN.*,ARCH_WANTS_LITTLE_ENDIAN=y,g' $(UCLIBC_DIR)/.config
-else
- $(SED) -i -e 's,.*ARCH_LITTLE_ENDIAN.*,ARCH_BIG_ENDIAN=y,g' $(UCLIBC_DIR)/.config
- $(SED) -i -e 's,.*ARCH_WANTS_BIG_ENDIAN.*,ARCH_WANTS_BIG_ENDIAN=y,g' $(UCLIBC_DIR)/.config
- $(SED) -i -e 's,.*ARCH_WANTS_LITTLE_ENDIAN.*,# ARCH_WANTS_LITTLE_ENDIAN is not set,g' $(UCLIBC_DIR)/.config
-endif
-endif
mkdir -p $(TARGET_TOOLCHAIN_DIR)/$(UCLIBC_DEVEL_SUBDIR)/usr/include
mkdir -p $(TARGET_TOOLCHAIN_DIR)/$(UCLIBC_DEVEL_SUBDIR)/usr/lib