From c384dc577bd32f3315bacb410fc31610b41f742c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Mar 2016 12:51:42 +0100 Subject: rework menu based config system After the addition of bare metal toolchains the menu system allowed to create non-valid configurations. I reworked it so we can also add other operating system support if we wish. So first you choose your operating system, then your architecture and endianess, after that your embedded system, emulator or generic device and then you choose your task you want to run. Tasks may be toolchain, a new appliance/application or some preconfigured sets of packages and configurations as kodi, mpd, firefox and more. The tasks are limited to a plausible choice of hardware and software. Deduplicate CPU configuration. You don't wanna compile Kodi for a H8/300 microcontroller ;) --- target/xtensa/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target/xtensa/Makefile') diff --git a/target/xtensa/Makefile b/target/xtensa/Makefile index 4643854d4..b5db1376d 100644 --- a/target/xtensa/Makefile +++ b/target/xtensa/Makefile @@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk include $(ADK_TOPDIR)/mk/kernel-build.mk include $(ADK_TOPDIR)/mk/image.mk -ifeq ($(ADK_TARGET_XTENSA_DE212),y) +ifeq ($(ADK_TARGET_CPU_XTENSA_DE212),y) KERNEL:=$(LINUX_DIR)/arch/xtensa/boot/Image.elf else KERNEL:=$(LINUX_DIR)/arch/xtensa/boot/uImage @@ -13,13 +13,13 @@ endif QEMU_ARGS:=-M ml605 -monitor null QEMU_ARGS+=${ADK_QEMU_ARGS} -ifeq ($(ADK_TARGET_XTENSA_DC233C),y) +ifeq ($(ADK_TARGET_CPU_XTENSA_DC233C),y) QEMU_ARGS+=-cpu dc233c endif -ifeq ($(ADK_TARGET_XTENSA_DC232B),y) +ifeq ($(ADK_TARGET_CPU_XTENSA_DC232B),y) QEMU_ARGS+=-cpu dc232b endif -ifeq ($(ADK_TARGET_XTENSA_DE212),y) +ifeq ($(ADK_TARGET_CPU_XTENSA_DE212),y) QEMU_ARGS+=-cpu de212 endif -- cgit v1.2.3