mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
arch/sim/src/Makefile: Move all SMP stuff into one place for arch/sim.
This commit is contained in:
@@ -82,6 +82,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_SMP),y)
|
ifeq ($(CONFIG_SMP),y)
|
||||||
CSRCS += up_smpsignal.c up_smphook.c up_cpuidlestack.c
|
CSRCS += up_smpsignal.c up_smphook.c up_cpuidlestack.c
|
||||||
|
HOSTCFLAGS += -DCONFIG_SMP=1 -DCONFIG_SMP_NCPUS=$(CONFIG_SMP_NCPUS)
|
||||||
HOSTSRCS += up_simsmp.c
|
HOSTSRCS += up_simsmp.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -158,10 +159,6 @@ endif # HOSTOS != Cygwin
|
|||||||
endif # CONFIG_NET_ETHERNET
|
endif # CONFIG_NET_ETHERNET
|
||||||
endif # CONFIG_SIM_NETDEV
|
endif # CONFIG_SIM_NETDEV
|
||||||
|
|
||||||
ifeq ($(CONFIG_SMP),y)
|
|
||||||
HOSTCFLAGS += -DCONFIG_SMP=1 -DCONFIG_SMP_NCPUS=$(CONFIG_SMP_NCPUS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_FS_HOSTFS),y)
|
ifeq ($(CONFIG_FS_HOSTFS),y)
|
||||||
HOSTSRCS += up_hostfs.c
|
HOSTSRCS += up_hostfs.c
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user