[Alternative PATCH 7/7] OpenWrt: Save space

Fabian Bläse fabian at blaese.de
Mo Sep 24 02:57:47 CEST 2018


Hallo,

jup, ohne CONFIG_USE_MKLIBS baut es einwandfrei.
Danach war interessanterweise - wenn ich mich nicht irre, ich habs nicht gegengeprüft - sogar etwas mehr Speicher frei, als mit der Option.

Gruß
Fabian

> On 24. Sep 2018, at 01:00, Fabian Bläse <fabian at blaese.de> wrote:
> 
> Moin,
> 
> ich hab da mal etwas experimentiert.
> 
> Dieser Patch scheint der Grund dafür zu sein, warum parallele Builds nicht funktionieren.
> Ich tippe darauf, dass etwas beim strippen der Libraries nicht klappt.
> 
> Gruß
> Fabian
> 
> On 07.08.18 07:09, Tim Niemeyer wrote:
>> - make USB optional
>> - remove uboot-env tools for mr3020
>> - strip libs
>> 
>> Signed-off-by: Tim Niemeyer <tim at tn-x.org>
>> 
>> ---
>> 
>> bsp/ar71xx/.config | 8 ++------
>> 1 file changed, 2 insertions(+), 6 deletions(-)
>> 
>> diff --git a/bsp/ar71xx/.config b/bsp/ar71xx/.config
>> index 77b74e3a..c18aa281 100644
>> --- a/bsp/ar71xx/.config
>> +++ b/bsp/ar71xx/.config
>> @@ -15,7 +15,7 @@ CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_cpe210-220-v1=""
>> CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_cpe510-520-v1=y
>> CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_cpe510-520-v1=""
>> CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_tl-mr3020-v1=y
>> -CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_tl-mr3020-v1=""
>> +CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_tl-mr3020-v1="-uboot-envtools"
>> CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_tl-wa850re-v1=y
>> CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_tl-wa850re-v1=""
>> CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_tl-wa860re-v1=y
>> @@ -98,13 +98,9 @@ CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y
>> CONFIG_PACKAGE_kmod-ledtrig-netdev=y
>> CONFIG_PACKAGE_kmod-nls-base=y
>> CONFIG_PACKAGE_kmod-sched-connmark=y
>> -CONFIG_PACKAGE_kmod-usb-core=y
>> -CONFIG_PACKAGE_kmod-usb-ehci=y
>> -CONFIG_PACKAGE_kmod-usb-ledtrig-usbport=y
>> -CONFIG_PACKAGE_kmod-usb-ohci=y
>> -CONFIG_PACKAGE_kmod-usb2=y
>> CONFIG_PACKAGE_opkg=m
>> CONFIG_PACKAGE_qos-scripts=y
>> CONFIG_PACKAGE_tc=y
>> CONFIG_STRIP_KERNEL_EXPORTS=y
>> CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=512
>> +CONFIG_USE_MKLIBS=y
>> 
> 

-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigröße  : 833 bytes
Beschreibung: Message signed with OpenPGP
URL         : <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20180924/b793bf15/attachment.sig>


Mehr Informationen über die Mailingliste franken-dev