media: Strip modules_install rules lineage-20 lineage-21 lineage-22.0
authorBruno Martins <bgcngm@gmail.com>
Sun, 7 Jul 2024 21:24:59 +0000 (22:24 +0100)
committerBruno Martins <bgcngm@gmail.com>
Sun, 7 Jul 2024 21:57:29 +0000 (21:57 +0000)
There's no point in doing this.

Change-Id: I01d7963f3dfd8933c240e7c6b00c3c1e22d402f7

Makefile

index ee4779f4a886150c4d9d04c3be779d4c5b84901f..3801f46771c728c91939c6ef2e9ed82fc539afd7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,10 +35,6 @@ all: modules
 
 modules_install:
        $(MAKE) INSTALL_MOD_STRIP=1 M=$(M)/drivers -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/firmware/video
-       cp $(KERNEL_SRC)/$(M)/firmware/* ${OUT_DIR}/../private/firmware/video/
 
 clean:
        $(MAKE) -C $(KERNEL_SRC) M=$(M) clean