diff options
author | Yang Zhong <yang.zhong@intel.com> | 2019-02-02 15:24:46 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-05 16:50:20 +0100 |
commit | fa83f64855ad4c3b829e3fa2b683fd30c42db4c4 (patch) | |
tree | 7ed310885ec0e38763dfd03c875db3525a16f06e | |
parent | d84929da9af089f1f50115c07099e3b7a1c2f8d0 (diff) | |
download | qemu-fa83f64855ad4c3b829e3fa2b683fd30c42db4c4.zip qemu-fa83f64855ad4c3b829e3fa2b683fd30c42db4c4.tar.gz qemu-fa83f64855ad4c3b829e3fa2b683fd30c42db4c4.tar.bz2 |
hw/nios2/Makefile.objs: Conditionally build nios2
CONFIG_NIOS2_10M50 added for 10m50 dev board.
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190202072456.6468-18-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | default-configs/nios2-softmmu.mak | 1 | ||||
-rw-r--r-- | hw/nios2/Makefile.objs | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/default-configs/nios2-softmmu.mak b/default-configs/nios2-softmmu.mak index 74dc70c..ab42d0f 100644 --- a/default-configs/nios2-softmmu.mak +++ b/default-configs/nios2-softmmu.mak @@ -4,3 +4,4 @@ CONFIG_NIOS2=y CONFIG_SERIAL=y CONFIG_PTIMER=y CONFIG_ALTERA_TIMER=y +CONFIG_NIOS2_10M50=y diff --git a/hw/nios2/Makefile.objs b/hw/nios2/Makefile.objs index 6b5c421..89a419a 100644 --- a/hw/nios2/Makefile.objs +++ b/hw/nios2/Makefile.objs @@ -1 +1,2 @@ -obj-y = boot.o cpu_pic.o 10m50_devboard.o +obj-y = boot.o cpu_pic.o +obj-$(CONFIG_NIOS2_10M50) += 10m50_devboard.o |