mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
5e4e634625
If `select_from_ports` is evaluated lazily, we might miss a port during the dependency check. A way to prevent this is to use the `:=` operator. Fixes genodelabs/genode#4618
16 lines
326 B
PHP
16 lines
326 B
PHP
SHARED_LIB = yes
|
|
|
|
YUV_PORT := $(call select_from_ports,libyuv)
|
|
YUV_DIR = $(YUV_PORT)/src/lib/libyuv
|
|
|
|
LIBS = libc stdcxx jpeg
|
|
|
|
INC_DIR += $(YUV_PORT)/include
|
|
|
|
SRC_CC = $(notdir $(wildcard $(YUV_DIR)/source/*.cc))
|
|
|
|
CC_CXX_WARN_STRICT = -Wextra -Werror
|
|
CC_OPT += -Wno-unused-parameter -DHAVE_JPEG
|
|
|
|
vpath %.cc $(YUV_DIR)/source
|