os: name rtc_drv unambigously (ref #2190)
This commit is contained in:
parent
2e68fae2ec
commit
d9143f805e
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue