summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b1e6bfc..a89b79c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
-SRCARCH ?= arm
-CROSS_COMPILE ?= arm-none-linux-gnueabi-
-KDIR ?= /usr/src/linux
+CROSS_COMPILE ?=
+KDIR ?=
-KINC := -I$(KDIR)/include -I$(KDIR)/arch/$(SRCARCH)/include
+KINC := -I$(KDIR)/usr/include
CC := $(CROSS_COMPILE)gcc
CFLAGS += -O2 -Wall -fpic -I. $(KINC)