diff options
author | Sergio Aguirre <saaguirre@ti.com> | 2010-07-14 11:17:26 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-07-30 15:41:34 +0200 |
commit | 821996487a44e7ef95760e47f149a95e3132918f (patch) | |
tree | 103ef4333656e7c045300c9f1c369739cd1947d8 /Makefile | |
parent | d18467f3e7793778c85c79fa167ed3495c7b3930 (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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |