[OpenWrt-Devel] [PATCH v2] ramips: EX2700: remove unused kernel modules

Joseph C. Lehner joseph.c.lehner at gmail.com
Thu Mar 10 08:01:21 EST 2016


This patch has been merged in Chaos Calmer 6 days ago,
but it also applies to trunk!

Also, checking the most recent trunk images (2016-03-10),
I've noticed that the image for the EX2700 also includes
kmod-usb-core, kmod-usb-ohci, kmod-ledtrig-usbdev and
kmod-usb2 (another whopping 118k), even though they
shoudln't be, according to the PACKAGES specification.
I encountered a similar issue while building on my machine,
where I had to clean the whole build environment before
a package was actually unselected.

Could this be a bug in the build process somewhere?

Regards
Joseph

On 2016-03-01 17:04, Joseph C. Lehner wrote:
> Remove the kmod-mt76 package from the EX2700 profile to free up
> around 100 KiB of space on the root filesystem.
> 
> This patch applies to both trunk and Chaos Calmer.
> 
> Signed-off-by: Joseph C. Lehner <joseph.c.lehner at gmail.com>
> 
> ---
> 
> Changes in v2:
> * Don't remove kmod-rt2800-pci
> 
> 
> diff --git a/target/linux/ramips/mt7620/profiles/netgear.mk
> b/target/linux/ramips/mt7620/profiles/netgear.mk
> index d1b073a..9631537 100644
> --- a/target/linux/ramips/mt7620/profiles/netgear.mk
> +++ b/target/linux/ramips/mt7620/profiles/netgear.mk
> @@ -7,7 +7,8 @@
> 
>  define Profile/EX2700
>  	NAME:=Netgear EX2700
> -	PACKAGES:=-kmod-usb-core -kmod-usb2 -kmod-usb-ohci -kmod-ledtrig-usbdev
> +	PACKAGES:=-kmod-usb-core -kmod-usb2 -kmod-usb-ohci -kmod-ledtrig-usbdev \
> +		-kmod-mt76
>  endef
> 
>  define Profile/EX2700/Description
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list