mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-16 07:27:35 +00:00
Fix source file location in RPi GPIO driver
The explicit relative location of the file instructed both target builds to generate ../main.o which gloriously fails with parallel builds. The produced range of error messages was astonishing ranging from "file truncated" to "TLS reference in ../main.o mismatches non-TLS reference in ../main.o".
This commit is contained in:
parent
adb26b5216
commit
febfb3bfe6
@ -1,5 +1,7 @@
|
||||
TARGET = foc_gpio_drv
|
||||
REQUIRES = rpi
|
||||
SRC_CC += ../main.cc
|
||||
LIBS += base
|
||||
SRC_CC += main.cc
|
||||
LIBS = base
|
||||
INC_DIR += $(PRG_DIR) $(PRG_DIR)/..
|
||||
|
||||
vpath main.cc $(PRG_DIR)/..
|
||||
|
@ -1,5 +1,7 @@
|
||||
TARGET = hw_gpio_drv
|
||||
REQUIRES = rpi
|
||||
SRC_CC += ../main.cc
|
||||
SRC_CC += main.cc
|
||||
LIBS = base
|
||||
INC_DIR += $(PRG_DIR) $(PRG_DIR)/..
|
||||
|
||||
vpath main.cc $(PRG_DIR)/..
|
||||
|
Loading…
x
Reference in New Issue
Block a user