arch/sim/src/Makefile: Move all SMP stuff into one place for arch/sim.

This commit is contained in:
Xiang Xiao 2019-11-10 20:42:00 -06:00 committed by Gregory Nutt
parent a4ce23518e
commit 5a3d9c7570

View File

@ -82,6 +82,7 @@ endif
ifeq ($(CONFIG_SMP),y)
CSRCS += up_smpsignal.c up_smphook.c up_cpuidlestack.c
HOSTCFLAGS += -DCONFIG_SMP=1 -DCONFIG_SMP_NCPUS=$(CONFIG_SMP_NCPUS)
HOSTSRCS += up_simsmp.c
endif
@ -158,10 +159,6 @@ endif # HOSTOS != Cygwin
endif # CONFIG_NET_ETHERNET
endif # CONFIG_SIM_NETDEV
ifeq ($(CONFIG_SMP),y)
HOSTCFLAGS += -DCONFIG_SMP=1 -DCONFIG_SMP_NCPUS=$(CONFIG_SMP_NCPUS)
endif
ifeq ($(CONFIG_FS_HOSTFS),y)
HOSTSRCS += up_hostfs.c