Skip to content

Commit

Permalink
Include optimizations for GCC build.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jan 18, 2021
1 parent 3232790 commit 08faad2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@ KERNEL_DIR ?= /usr/src/linux

CC := $(CROSS_COMPILE)gcc
KERNEL_INCLUDE := -I$(KERNEL_DIR)/include -I$(KERNEL_DIR)/arch/$(ARCH)/include

# For 720p
CFLAGS := -W -Wall -g $(KERNEL_INCLUDE)
LDFLAGS := -g

# For 1080p
#CFLAGS := -W -Wall -O3 $(KERNEL_INCLUDE)
#LDFLAGS := -O3g
CFLAGS := -W -Wall -O3 $(KERNEL_INCLUDE)
LDFLAGS := -O3g

all: uvc-gadget

Expand Down

0 comments on commit 08faad2

Please sign in to comment.