summaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
fieldAdd field support for the media bus formatLaurent Pinchart11 years
masterMove media-ctl to git://linuxtv.org/v4l-utils.gitLaurent Pinchart11 years
 
' href='#n18'>18 19
SRCARCH ?= arm
CROSS_COMPILE ?= arm-none-linux-gnueabi-
KDIR ?= /usr/src/linux

KINC := -I$(KDIR)/include -I$(KDIR)/arch/$(SRCARCH)/include
CC   := $(CROSS_COMPILE)gcc

CFLAGS = -O2 -Wall -fpic -I. $(KINC)
OBJS = media.o main.o options.o subdev.o

all: media-ctl

media-ctl: $(OBJS)
	$(CC) $(CFLAGS) -o media-ctl $(OBJS)
	$(CROSS_COMPILE)strip media-ctl
clean:
	rm -f $(OBJS) media-ctl

.PHONY: clean all