From 5de601c7bd41396ce928370a33bce19bf12219aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6glund?= Date: Tue, 18 Aug 2015 14:08:25 +0200 Subject: [PATCH] Remove dect.ko from bcm build to save space --- bcmkernel/416030.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bcmkernel/416030.mk b/bcmkernel/416030.mk index 2bc717ece..ed68e5bd7 100644 --- a/bcmkernel/416030.mk +++ b/bcmkernel/416030.mk @@ -252,11 +252,9 @@ define Package/bcmkernel/install # rm -rf $(1)/lib/modules/$(BCM_KERNEL_VERSION)/bcm_usb.ko - ifneq ($(CONFIG_BCM_OPEN),y) # Alternative DECT modules taken from the Natalie package and if that is not selected, no DECT modules should be loaded rm -f $(1)/lib/modules/$(BCM_KERNEL_VERSION)/extra/dect.ko - rm -f $(1)/lib/modules/$(BCM_KERNEL_VERSION)/extra/dectshim.ko - endif + cp -R $(PKG_BUILD_DIR)/$(BCM_SDK_VERSION)/kernel/linux-3.4rt/vmlinux $(KDIR)/vmlinux.bcm.elf $(KERNEL_CROSS)strip --remove-section=.note --remove-section=.comment $(KDIR)/vmlinux.bcm.elf