Merge pull request #1838 from LudwigOrtmann/native_subsstructure
native: add substructure
This commit is contained in:
commit
a2bb383a86
@ -1,8 +1,7 @@
|
|||||||
MODULE = cpu
|
MODULE = cpu
|
||||||
|
|
||||||
ifneq (,$(filter rtc,$(USEMODULE)))
|
DIRS += periph
|
||||||
DIRS += rtc
|
DIRS += drivers
|
||||||
endif
|
|
||||||
ifneq (,$(filter nativenet,$(USEMODULE)))
|
ifneq (,$(filter nativenet,$(USEMODULE)))
|
||||||
DIRS += net
|
DIRS += net
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -1 +1,2 @@
|
|||||||
export NATIVEINCLUDES += -I$(RIOTCPU)/native/include -I$(RIOTBASE)/sys/include
|
export NATIVEINCLUDES += -I$(RIOTCPU)/native/include -I$(RIOTBASE)/sys/include
|
||||||
|
export USEMODULE += periph drivers
|
||||||
|
|||||||
5
cpu/native/drivers/Makefile
Normal file
5
cpu/native/drivers/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
ifneq (,$(filter rtc,$(USEMODULE)))
|
||||||
|
DIRS += rtc
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(RIOTBASE)/Makefile.base
|
||||||
1
cpu/native/periph/Makefile
Normal file
1
cpu/native/periph/Makefile
Normal file
@ -0,0 +1 @@
|
|||||||
|
include $(RIOTBASE)/Makefile.base
|
||||||
Loading…
x
Reference in New Issue
Block a user