From: Hongguang Date: Tue, 24 May 2022 02:23:36 +0000 (-0700) Subject: Fix private modules install path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d55b9ff3d68b52b873696f6626803d24d382dab8;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_optee.git Fix private modules install path Bug: 220644706 Test: make and find the private modules in dist. Change-Id: I25d123128fab6a0a3bfcf73de1aadd19a69d1f7a --- 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: