summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSergio Aguirre <saaguirre@ti.com>2010-07-14 11:17:26 -0500
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-07-30 15:41:34 +0200
commit821996487a44e7ef95760e47f149a95e3132918f (patch)
tree103ef4333656e7c045300c9f1c369739cd1947d8 /Makefile
parentd18467f3e7793778c85c79fa167ed3495c7b3930 (diff)
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 <saaguirre@ti.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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