Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@elbnacht Well, you're passing arguments to the compiler which it does not know
I thought the makefile is simple (without any arguments):
# makefile for a wdt_dio kernel module # CC := emcc obj-m += wdt_dio.o KDIR := /lib/modules/$(shell uname -r)/build CDIR := $(shell pwd) all: $(MAKE) -C $(KDIR) SUBDIRS=$(CDIR) modules clean:
Emscripten/wasm does not have access to the kernel, so trying to build kernel modules for wasm will not work. It lives in the web browser sandbox alongside javascript.