android_kernel_xiaomi_sm8350/shs/Makefile
Subash Abhinov Kasiviswanathan 6648503cde rmnet_shs: Ie9d6b5f64d2e94d8a8c3fb99fdcee1b13ae2ec6d
Initial driver from Ie9d6b5f64d2e94d8a8c3fb99fdcee1b13ae2ec6d

Change-Id: Ia4ed6cfe70067833a756f6d3f592e36e65bc9731
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2020-06-10 18:35:15 -07:00

14 lines
346 B
Makefile

KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
KBUILD_OPTIONS := RMNET_SHS_ROOT=$(PWD)
KBUILD_OPTIONS += MODNAME?=rmnet_shs
all:
$(MAKE) -C $(KERNEL_SRC) M=$(shell pwd) modules $(KBUILD_OPTIONS)
modules_install:
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(shell pwd) modules_install
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean