From 08317fa541a10bd2e385479d73e99348cc2351dd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 25 May 2018 13:36:17 +0200 Subject: rework hardware and C library settings Make the menu system for configuration more intuitive. First choose operating system, then hardware, starting with architecture. Then choose either generic or a sample system. When choosing a sample be more strict in case of MMU or Endianess selection, so a misconfiguration isn't possible. Furthermore put a new top level menu for C library configuration and add Binary format, Instruction set, version selection, float type and any C library specific options. Refactor the duplicate definition of Qemu system versatile and Synopsys NSIM. --- toolchain/uclibc-ng/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toolchain') diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile index 70f4c762f..9c4d3dac0 100644 --- a/toolchain/uclibc-ng/Makefile +++ b/toolchain/uclibc-ng/Makefile @@ -123,7 +123,7 @@ endif ifeq ($(ADK_TARGET_UCLINUX),y) $(SED) 's/.*\(ARCH_USE_MMU\).*/# \1 is not set/' ${WRKBUILD}/.config endif -ifeq ($(ADK_TARGET_WITHOUT_MMU),y) +ifeq ($(ADK_TARGET_WITH_MMU),) $(SED) 's/.*\(ARCH_USE_MMU\).*/# \1 is not set/' ${WRKBUILD}/.config endif ifeq ($(ADK_TARGET_WITH_NPTL),y) @@ -187,7 +187,7 @@ endif # arm ifeq ($(ADK_TARGET_ARCH_ARM),y) -ifeq ($(ADK_TARGET_WITHOUT_MMU),y) +ifeq ($(ADK_TARGET_WITH_MMU),) $(SED) 's/.*\(DOPIC\).*/# \1 is not set/' ${WRKBUILD}/.config endif ifeq ($(ADK_TARGET_ARCH_ARM_WITH_THUMB),y) @@ -282,7 +282,7 @@ endif # m68k ifeq ($(ADK_TARGET_ARCH_M68K),y) -ifeq ($(ADK_TARGET_WITHOUT_MMU),y) +ifeq ($(ADK_TARGET_WITH_MMU),) ifeq ($(ADK_TARGET_BINFMT_FLAT_ONE)$(ADK_TARGET_BINFMT_FLAT_SEP_DATA),y) $(SED) 's/.*\(DOPIC\).*/# \1 is not set/' ${WRKBUILD}/.config endif -- cgit v1.2.3