Skip to content

Instantly share code, notes, and snippets.

@taeseunglee
Created June 22, 2017 20:16
Show Gist options
  • Save taeseunglee/0560fd5b9934df2d3c1e3478505b7c39 to your computer and use it in GitHub Desktop.
Save taeseunglee/0560fd5b9934df2d3c1e3478505b7c39 to your computer and use it in GitHub Desktop.
taeguk
obj-m = puzzle.o
CC := arm-none-linux-gnueabi-gcc
KDIR := /work/achroimx_kernel/
PWD := $(shell pwd)
all:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
clean :
rm -rf *.o
rm -rf *.ko
rm -rf *.mod.c
rm -rf *.order
rm -rf *.symvers
rm -rf .*.cmd
rm -rf .tmp_versions/
rm daemon controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment