build: Fix source files of upekts and upketc drivers
The upekts driver needs upek_proto.c while the upektc driver does not. Move the corresponding source file entries so that both drivers compile standalone.
This commit is contained in:
parent
0a45ed7af6
commit
3b757ee738
1 changed files with 2 additions and 2 deletions
|
@ -76,10 +76,10 @@ drivers_sources = []
|
|||
drivers_cflags = []
|
||||
foreach driver: drivers
|
||||
if driver == 'upekts'
|
||||
drivers_sources += [ 'drivers/upekts.c' ]
|
||||
drivers_sources += [ 'drivers/upekts.c', 'drivers/upek_proto.c', 'drivers/upek_proto.h' ]
|
||||
endif
|
||||
if driver == 'upektc'
|
||||
drivers_sources += [ 'drivers/upektc.c', 'drivers/upektc.h', 'drivers/upek_proto.c', 'drivers/upek_proto.h' ]
|
||||
drivers_sources += [ 'drivers/upektc.c', 'drivers/upektc.h' ]
|
||||
endif
|
||||
if driver == 'upeksonly'
|
||||
drivers_sources += [ 'drivers/upeksonly.c', 'drivers/upeksonly.h' ]
|
||||
|
|
Loading…
Reference in a new issue