13 lines
402 B
Makefile
13 lines
402 B
Makefile
KBUILD_OPTIONS+= SYNX_ROOT=$(KERNEL_SRC)/$(M)
|
|
KBUILD_OPTIONS += KBUILD_EXTRA_SYMBOLS=$(M)/../mm-drivers/hw_fence/Module.symvers
|
|
|
|
all:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
|
|
modules_install:
|
|
$(MAKE) M=$(M) -C $(KERNEL_SRC) modules_install
|
|
%:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)
|
|
clean:
|
|
rm -f *.o *.ko *.mod.c *.mod.o *~ .*.cmd Module.symvers
|
|
rm -rf .tmp_versions
|