diff options
author | Philippe Mathieu-Daudé | 2021-02-21 23:56:24 +0100 |
---|---|---|
committer | Laurent Vivier | 2021-03-09 22:34:00 +0100 |
commit | c39dd149601d0401496f3264bda9c91d274cd4a0 (patch) | |
tree | 60d90447228db2b2a785a3224359bf7c1670f678 /hw/lm32 | |
parent | qemu-common.h: Update copyright string to 2021 (diff) | |
download | qemu-c39dd149601d0401496f3264bda9c91d274cd4a0.tar.gz qemu-c39dd149601d0401496f3264bda9c91d274cd4a0.tar.xz qemu-c39dd149601d0401496f3264bda9c91d274cd4a0.zip |
hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards
We want to be able to use the 'LM32' config for architecture
specific features. Introduce CONFIG_LM32_EVR to select the
lm32-evr / lm32-uclinux boards.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210221225626.2589247-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/lm32')
-rw-r--r-- | hw/lm32/Kconfig | 6 | ||||
-rw-r--r-- | hw/lm32/meson.build | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/hw/lm32/Kconfig b/hw/lm32/Kconfig index ed2e3060b0..20c36edc40 100644 --- a/hw/lm32/Kconfig +++ b/hw/lm32/Kconfig @@ -1,7 +1,6 @@ config LM32 bool select PTIMER - select PFLASH_CFI02 config MILKYMIST bool @@ -12,3 +11,8 @@ config MILKYMIST select FRAMEBUFFER select SD select USB_OHCI + +config LM32_EVR + bool + select LM32 + select PFLASH_CFI02 diff --git a/hw/lm32/meson.build b/hw/lm32/meson.build index 8caf0a727f..42d6f8db3d 100644 --- a/hw/lm32/meson.build +++ b/hw/lm32/meson.build @@ -1,6 +1,6 @@ lm32_ss = ss.source_set() # LM32 boards -lm32_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_boards.c')) +lm32_ss.add(when: 'CONFIG_LM32_EVR', if_true: files('lm32_boards.c')) lm32_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist.c')) hw_arch += {'lm32': lm32_ss} |