https://github.com/upa/nshkmod
Raw File
Tip revision: d336f2c749919199af0ea78d82b746fc5b183322 authored by Ryo Nakamura on 06 March 2016, 16:54:46 UTC
add nsh forwarding without nsh interface.
Tip revision: d336f2c
Makefile
KERNELSRCDIR := /lib/modules/$(shell uname -r)/build
BUILD_DIR := $(shell pwd)
VERBOSE = 0

DEBUG?=no
flag_debug_yes = -DDEBUG
flag_debug_no =

obj-m := nshkmod.o
ccflags-y := $(flag_debug_$(DEBUG))

all:
	make -C $(KERNELSRCDIR) M=$(BUILD_DIR) V=$(VERBOSE) modules

clean:
	make -C $(KERNELSRCDIR) M=$(BUILD_DIR) clean
back to top