Skip to content

Commit

Permalink
Fix kernel module build with custom toolchain
Browse files Browse the repository at this point in the history
Change-Id: If17d7391df61cf477f6cad0f1113e897248586f8
  • Loading branch information
mikeNG committed Oct 19, 2015
1 parent 591b480 commit 10964ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions BoardConfigCommon.mk
Expand Up @@ -48,11 +48,11 @@ WLAN_MODULES:
mv $(KERNEL_OUT)/modules/$(TARGET_MODULES_SOURCE_DIR)/net/wireless/cfg80211.ko $(KERNEL_MODULES_OUT)
mv $(KERNEL_OUT)/modules/$(TARGET_MODULES_SOURCE_DIR)/drivers/net/wireless/wl12xx/wl12xx.ko $(KERNEL_MODULES_OUT)
mv $(KERNEL_OUT)/modules/$(TARGET_MODULES_SOURCE_DIR)/drivers/net/wireless/wl12xx/wl12xx_sdio.ko $(KERNEL_MODULES_OUT)
$(ARM_EABI_TOOLCHAIN)/arm-eabi-strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/compat.ko
$(ARM_EABI_TOOLCHAIN)/arm-eabi-strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/mac80211.ko
$(ARM_EABI_TOOLCHAIN)/arm-eabi-strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/cfg80211.ko
$(ARM_EABI_TOOLCHAIN)/arm-eabi-strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/wl12xx.ko
$(ARM_EABI_TOOLCHAIN)/arm-eabi-strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/wl12xx_sdio.ko
$(KERNEL_TOOLCHAIN_PATH)strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/compat.ko
$(KERNEL_TOOLCHAIN_PATH)strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/mac80211.ko
$(KERNEL_TOOLCHAIN_PATH)strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/cfg80211.ko
$(KERNEL_TOOLCHAIN_PATH)strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/wl12xx.ko
$(KERNEL_TOOLCHAIN_PATH)strip --strip-debug --strip-unneeded $(KERNEL_MODULES_OUT)/wl12xx_sdio.ko

TARGET_KERNEL_MODULES += WLAN_MODULES

Expand Down

0 comments on commit 10964ca

Please sign in to comment.