summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac J. Manjarres <isaacmanjarres@google.com>2023-01-09 17:23:10 -0800
committerIsaac J. Manjarres <isaacmanjarres@google.com>2023-01-09 17:27:27 -0800
commit0ad97411ae8a5a90715b90a299b29b0852ebeeaf (patch)
tree0e1896b07a1b0f8508269916304d51b714db57aa
parentf44f925105e27d9fea8bf59a161d92759b707dac (diff)
downloaddataipa-0ad97411ae8a5a90715b90a299b29b0852ebeeaf.tar.gz
msm: ipa: Fix module compilation
Currently the default make target causes the IPA modules to be compiled, which is all that is needed. However, the target is written such that it will cause the kernel's makefile to be invoked with the "all" target, which unnecessarily recompiles the devicetree. Fix this by ensuring that the default rule only compiles the kernel modules. Bug: 264944277 Change-Id: Ic36874546b483bb94678c0f99cb3e3dd609019c7 Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
-rw-r--r--drivers/platform/msm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/msm/Makefile b/drivers/platform/msm/Makefile
index ef1cc33..5a3d27b 100644
--- a/drivers/platform/msm/Makefile
+++ b/drivers/platform/msm/Makefile
@@ -4,7 +4,8 @@ endif
KBUILD_OPTIONS+=KBUILD_DTC_INCLUDE=$(KP_MODULE_ROOT)
-all: modules # dtbs
+all:
+ $(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean