Merge pull request #1838 from LudwigOrtmann/native_subsstructure
native: add substructure
This commit is contained in:
commit
a2bb383a86
@ -1,8 +1,7 @@
|
||||
MODULE = cpu
|
||||
|
||||
ifneq (,$(filter rtc,$(USEMODULE)))
|
||||
DIRS += rtc
|
||||
endif
|
||||
DIRS += periph
|
||||
DIRS += drivers
|
||||
ifneq (,$(filter nativenet,$(USEMODULE)))
|
||||
DIRS += net
|
||||
endif
|
||||
|
||||
@ -1 +1,2 @@
|
||||
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