arch/sim/src/Makefile: Move all SMP stuff into one place for arch/sim.
This commit is contained in:
parent
a4ce23518e
commit
5a3d9c7570
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user