[media-ctl PATCH 2/3] Just include kernel headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We shouldn't require full kernel source for this.

Signed-off-by: Sergio Aguirre <saaguirre@xxxxxx>
---
 Makefile |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index bf4cf55..300ed7e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,9 @@
-SRCARCH ?= arm
 CROSS_COMPILE ?= arm-none-linux-gnueabi-
-KDIR ?= /usr/src/linux
+HDIR ?= /usr/include
 
-KINC := -I$(KDIR)/include -I$(KDIR)/arch/$(SRCARCH)/include
 CC   := $(CROSS_COMPILE)gcc
 
-CFLAGS = -O2 -Wall -fpic -I. $(KINC)
+CFLAGS = -O2 -Wall -fpic -I$(HDIR)
 OBJS = media.o main.o options.o subdev.o
 
 all: media-ctl
-- 
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux