diff --git a/proto/Makefile b/proto/Makefile index 6613d91e2060a8e87139e3e49a9a3bc92f5c679b..ed1540df28a45cb80bc797db6ec36f7b1cff32f4 100644 --- a/proto/Makefile +++ b/proto/Makefile @@ -3,6 +3,10 @@ obj-m += hypervisor.o PWD := $(CURDIR) +ifeq ($(DEBUG), 1) + EXTRA_CFLAGS += -DDEBUG +endif + all: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules