From d55b9ff3d68b52b873696f6626803d24d382dab8 Mon Sep 17 00:00:00 2001 From: Hongguang Date: Mon, 23 May 2022 19:23:36 -0700 Subject: [PATCH] Fix private modules install path Bug: 220644706 Test: make and find the private modules in dist. Change-Id: I25d123128fab6a0a3bfcf73de1aadd19a69d1f7a --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 82ce8e0..ca4dd72 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,8 @@ all: modules_install: @echo "$(MAKE) INSTALL_MOD_STRIP=1 M=$(M) -C $(KERNEL_SRC) 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: -- 2.20.1