dhd-driver: Strip modules_install rules lineage-20
authorBruno Martins <bgcngm@gmail.com>
Sun, 7 Jul 2024 21:24:59 +0000 (22:24 +0100)
committerBruno Martins <bgcngm@gmail.com>
Sun, 21 Jul 2024 13:18:30 +0000 (14:18 +0100)
There's no point in doing this.

Change-Id: I01d7963f3dfd8933c240e7c6b00c3c1e22d402f7

bcmdhd.100.10.545.x/Makefile
bcmdhd.101.10.240.x/Makefile
bcmdhd.101.10.361.x/Makefile

index 581970f470486a6edf1f884fbcfc325c2fe3d7d4..4cffe8d34f17d38dbce907b750ae447f85a3cd40 100644 (file)
@@ -249,8 +249,6 @@ 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/ \;
 
 clean:
        $(MAKE) -C $(KERNEL_SRC) M=$(M) clean $(KBUILD_OPTIONS)
index cc7e8b572e0b64f8aa5326f9b64343ddb444f425..4555c8319c8acb3fd8ed7e3a5300d6a29bfe115b 100644 (file)
@@ -244,8 +244,6 @@ 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/ \;
 
 clean:
        $(MAKE) -C $(KERNEL_SRC) M=$(M) clean $(KBUILD_OPTIONS)
index 67a5085a7d44d1efcd52e3afc1738565f343b122..6776825510c9a40682f1a904fd89b28fd013cf24 100755 (executable)
@@ -459,8 +459,6 @@ 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/ \;
 
 bcmdhd_sdio:
        $(warning "building BCMDHD_SDIO..........")