busybox: enable truncate on bcm53xx target
authorRafał Miłecki <rafal@milecki.pl>
Thu, 20 Feb 2020 12:40:54 +0000 (13:40 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Sat, 21 Mar 2020 21:31:35 +0000 (22:31 +0100)
It's needed for optimized sysupgrade. On host machine this change
increased busybox size by 4096 B.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
package/utils/busybox/Config-defaults.in

index c0aaecbb303e9f110c233946e1fcc52c0ab5e1b3..91c9b9b5b92c168b19131d78bd60a20128626316 100644 (file)
@@ -846,6 +846,7 @@ config BUSYBOX_DEFAULT_TRUE
        default y
 config BUSYBOX_DEFAULT_TRUNCATE
        bool
+       default y if TARGET_bcm53xx
        default n
 config BUSYBOX_DEFAULT_TTY
        bool