mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 23:11:19 +01:00
Redirecting `2>&1 >/dev/null` moves stderr to stdout first and then stdout to /dev/null; when checking for command existence or otherwise silencing output, this is usually not desired (but only starts producing errors when the actual command fails, which is often not tested).
15 lines
371 B
Makefile
15 lines
371 B
Makefile
INCLUDES += -I$(PKGDIRBASE)/flatbuffers/include
|
|
|
|
FLATC ?= flatc
|
|
|
|
ifneq (0,$(shell which flatc > /dev/null 2>&1 ; echo $$?))
|
|
FLATC = $(RIOTTOOLS)/flatc/flatc
|
|
$(call target-export-variables,all,FLATC)
|
|
endif
|
|
|
|
# This module requires cpp11 support
|
|
CXXEXFLAGS += -std=c++11
|
|
|
|
# This package is a header only package, so there's nothing to build
|
|
PSEUDOMODULES += flatbuffers
|