
added mk and Kbuild script to support building synx driver as external module for Vendor SI Change-Id: Ib66325d115ca46e6b61de1e168e85d09419f73e2 Signed-off-by: NITIN LAXMIDAS NAIK <quic_nitinlax@quicinc.com>
12 lignes
320 B
Makefile
12 lignes
320 B
Makefile
KBUILD_OPTIONS+= SYNX_ROOT=$(KERNEL_SRC)/$(M)
|
|
|
|
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
|