mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
20a5c86a22
By using the build system's library-selection mechanism instead of many timer targets with different 'REQUIRES' declarations, this patch reduces the noise of the build system. For all platforms, the target at 'os/src/drivers/timer' is built. The target, in turn, depends on a 'timer' library, which is platform-specific. The various library description files are located under 'os/lib/mk/<platform>'. The common bits are contained in 'os/lib/mk/timer.inc'.
6 lines
150 B
PHP
6 lines
150 B
PHP
SRC_CC += main.cc
|
|
LIBS += cxx server env alarm signal
|
|
INC_DIR += $(REP_DIR)/src/drivers/timer/include
|
|
|
|
vpath main.cc $(REP_DIR)/src/drivers/timer
|