From 8384f472bc9f509b2c0e0981f316a6a02d0cf1e9 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Sat, 18 Jun 2016 12:03:14 +0200 Subject: [PATCH 1/1] tools: Include EXTRA_CFLAGS into build This allows to pass in additional flags or override existing ones, just like it is already possible for the parts under Kbuild control. Signed-off-by: Jan Kiszka --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index cfda7f9..64b1064 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -14,7 +14,7 @@ CC = $(CROSS_COMPILE)gcc CFLAGS = -g -O3 -I../driver -DLIBEXECDIR=\"$(libexecdir)\" \ -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes \ - -DJAILHOUSE_VERSION=\"$(shell cat ../VERSION)\" + -DJAILHOUSE_VERSION=\"$(shell cat ../VERSION)\" $(EXTRA_CFLAGS) TARGETS := jailhouse -- 2.39.2