summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongguang <hgchen@google.com>2022-05-23 19:17:51 -0700
committerHongguang <hgchen@google.com>2022-05-23 19:17:51 -0700
commitb18840db80ef8621a0c6dfdd7c21388939f5ad42 (patch)
tree4bbd62d4f6343ebce9f97568c9cf8bc4b74f1f11
parent1e6f3ffe1425cb2db23fd95a69b9f50f7d250330 (diff)
downloaddhd-driver-android-tv-13.0.0_r0.2.tar.gz
Fix private modules installing pathandroid-tv-13.0.0_r0.2
Bug: 220644706 Test: make and find the private modules in dist. Change-Id: I83004e21f5d2a4f80256f2c660b4dd15fcaa6dc6
-rw-r--r--bcmdhd.100.10.315.x/Makefile4
-rw-r--r--bcmdhd.101.10.240.x/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/bcmdhd.100.10.315.x/Makefile b/bcmdhd.100.10.315.x/Makefile
index 78a7ae5..a3d819c 100644
--- a/bcmdhd.100.10.315.x/Makefile
+++ b/bcmdhd.100.10.315.x/Makefile
@@ -249,8 +249,8 @@ all: bcmdhd_sdio
EXTRA_CFLAGS += -I$(KERNEL_SRC)/$(M)/include -I$(KERNEL_SRC)/$(M)/
modules_install:
@$(MAKE) INSTALL_MOD_STRIP=1 M=$(M) -C $(KERNEL_SRC) modules_install
- mkdir -p ${OUT_DIR}/private/modules
- cd ${OUT_DIR}/$(M)/; find -name "*.ko" -exec cp {} ${OUT_DIR}/private/modules/ \;
+ mkdir -p ${OUT_DIR}/../private/modules
+ cd ${OUT_DIR}/$(M)/; find -name "*.ko" -exec cp {} ${OUT_DIR}/../private/modules/ \;
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean $(KBUILD_OPTIONS)
diff --git a/bcmdhd.101.10.240.x/Makefile b/bcmdhd.101.10.240.x/Makefile
index 9b15cad..56557f8 100644
--- a/bcmdhd.101.10.240.x/Makefile
+++ b/bcmdhd.101.10.240.x/Makefile
@@ -244,8 +244,8 @@ all: bcmdhd_sdio
EXTRA_CFLAGS += -I$(KERNEL_SRC)/$(M)/include -I$(KERNEL_SRC)/$(M)/
modules_install:
@$(MAKE) INSTALL_MOD_STRIP=1 M=$(M) -C $(KERNEL_SRC) modules_install
- mkdir -p ${OUT_DIR}/private/modules
- cd ${OUT_DIR}/$(M)/; find -name "*.ko" -exec cp {} ${OUT_DIR}/private/modules/ \;
+ mkdir -p ${OUT_DIR}/../private/modules
+ cd ${OUT_DIR}/$(M)/; find -name "*.ko" -exec cp {} ${OUT_DIR}/../private/modules/ \;
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean $(KBUILD_OPTIONS)