From 821996487a44e7ef95760e47f149a95e3132918f Mon Sep 17 00:00:00 2001 From: Sergio Aguirre Date: Wed, 14 Jul 2010 11:17:26 -0500 Subject: Be able to add more CFLAGS This allows the gcc compilation to build with extra parameters. For example, if we want to build with -static, we just do: make CFLAGS=-static Signed-off-by: Sergio Aguirre --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bf4cf55..b1e6bfc 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ KDIR ?= /usr/src/linux KINC := -I$(KDIR)/include -I$(KDIR)/arch/$(SRCARCH)/include CC := $(CROSS_COMPILE)gcc -CFLAGS = -O2 -Wall -fpic -I. $(KINC) +CFLAGS += -O2 -Wall -fpic -I. $(KINC) OBJS = media.o main.o options.o subdev.o all: media-ctl -- cgit v1.2.3