added arm variant selection
This commit is contained in:
parent
59af097dd9
commit
64c3f9b0e8
|
@ -78,6 +78,10 @@ $(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
|
||||||
-e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \
|
-e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \
|
||||||
-e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
|
-e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
|
||||||
$(UCLIBC_DIR)/.config
|
$(UCLIBC_DIR)/.config
|
||||||
|
ifeq ($(BR2_ARCH),"arm")
|
||||||
|
$(SED) 's,^.*CONFIG_$(shell echo $(BR2_ARM_TYPE)).*,CONFIG_$(shell echo $(BR2_ARM_TYPE))=y,g' \
|
||||||
|
$(UCLIBC_DIR)/.config
|
||||||
|
endif
|
||||||
ifneq ($(UCLIBC_TARGET_ENDIAN),)
|
ifneq ($(UCLIBC_TARGET_ENDIAN),)
|
||||||
$(SED) '/^# ARCH_$(UCLIBC_TARGET_ENDIAN)_ENDIAN /{s,# ,,;s, is not set,=y,g}' \
|
$(SED) '/^# ARCH_$(UCLIBC_TARGET_ENDIAN)_ENDIAN /{s,# ,,;s, is not set,=y,g}' \
|
||||||
-e '/^# ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN /{s,# ,,;s, is not set,=n,g}' \
|
-e '/^# ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN /{s,# ,,;s, is not set,=n,g}' \
|
||||||
|
|
Loading…
Reference in New Issue