mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
os: name rtc_drv unambigously (ref #2190)
This commit is contained in:
parent
2e68fae2ec
commit
d9143f805e
5
repos/os/src/drivers/rtc/spec/linux/target.mk
Normal file
5
repos/os/src/drivers/rtc/spec/linux/target.mk
Normal file
@ -0,0 +1,5 @@
|
||||
TARGET = linux_rtc_drv
|
||||
REQUIRES = x86
|
||||
LIBS = lx_hybrid
|
||||
|
||||
include $(REP_DIR)/src/drivers/rtc/target.inc
|
@ -1,12 +1,5 @@
|
||||
TARGET = rtc_drv
|
||||
REQUIRES = x86
|
||||
SRC_CC = main.cc
|
||||
LIBS = base
|
||||
|
||||
# enforce hybrid prg on Linux
|
||||
ifeq ($(filter-out $(SPECS),linux),)
|
||||
LIBS = lx_hybrid
|
||||
SRC_CC += linux.cc
|
||||
else
|
||||
LIBS = base
|
||||
SRC_CC += rtc.cc
|
||||
endif
|
||||
include $(REP_DIR)/src/drivers/rtc/target.inc
|
||||
|
5
repos/os/src/drivers/rtc/target.inc
Normal file
5
repos/os/src/drivers/rtc/target.inc
Normal file
@ -0,0 +1,5 @@
|
||||
SRC_CC = main.cc rtc.cc
|
||||
INC_DIR += $(REP_DIR)/src/drivers/rtc
|
||||
|
||||
vpath main.cc $(REP_DIR)/src/drivers/rtc
|
||||
vpath rtc.cc $(PRG_DIR)
|
Loading…
x
Reference in New Issue
Block a user