0d22d1755c
This is the result after converting mtd-utils' flash_eraseall to BB. The functionality given by this patch almost the same except that this one does not support long options. I needed this tool a system which does not have a lot of flash for RFS and merging this into BB as the only way out. [bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl function old new delta flash_eraseall_main - 1072 +1072 show_progress - 62 +62 packed_usage 25156 25176 +20 applet_names 1958 1973 +15 applet_main 2352 2360 +8 target_endian - 4 +4 applet_nameofs 588 590 +2 applet_install_loc 147 148 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0) Total: 1184 bytes [bigeasy@]$ size miscutils/flash_eraseall.o text data bss dec hex filename 1586 4 0 1590 636 miscutils/flash_eraseall.o Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
42 lines
1.5 KiB
Makefile
42 lines
1.5 KiB
Makefile
# Makefile for busybox
|
|
#
|
|
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
|
#
|
|
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
|
|
|
lib-y:=
|
|
lib-$(CONFIG_ADJTIMEX) += adjtimex.o
|
|
lib-$(CONFIG_BBCONFIG) += bbconfig.o
|
|
lib-$(CONFIG_CHAT) += chat.o
|
|
lib-$(CONFIG_CHRT) += chrt.o
|
|
lib-$(CONFIG_CROND) += crond.o
|
|
lib-$(CONFIG_CRONTAB) += crontab.o
|
|
lib-$(CONFIG_DC) += dc.o
|
|
lib-$(CONFIG_DEVFSD) += devfsd.o
|
|
lib-$(CONFIG_DEVMEM) += devmem.o
|
|
lib-$(CONFIG_EJECT) += eject.o
|
|
lib-$(CONFIG_FBSPLASH) += fbsplash.o
|
|
lib-$(CONFIG_FLASH_ERASEALL) += flash_eraseall.o
|
|
lib-$(CONFIG_IONICE) += ionice.o
|
|
lib-$(CONFIG_HDPARM) += hdparm.o
|
|
lib-$(CONFIG_INOTIFYD) += inotifyd.o
|
|
lib-$(CONFIG_FEATURE_LAST_SMALL)+= last.o
|
|
lib-$(CONFIG_FEATURE_LAST_FANCY)+= last_fancy.o
|
|
lib-$(CONFIG_LESS) += less.o
|
|
lib-$(CONFIG_MAKEDEVS) += makedevs.o
|
|
lib-$(CONFIG_MAN) += man.o
|
|
lib-$(CONFIG_MICROCOM) += microcom.o
|
|
lib-$(CONFIG_MOUNTPOINT) += mountpoint.o
|
|
lib-$(CONFIG_MT) += mt.o
|
|
lib-$(CONFIG_RAIDAUTORUN) += raidautorun.o
|
|
lib-$(CONFIG_READAHEAD) += readahead.o
|
|
lib-$(CONFIG_RUNLEVEL) += runlevel.o
|
|
lib-$(CONFIG_RX) += rx.o
|
|
lib-$(CONFIG_SETSID) += setsid.o
|
|
lib-$(CONFIG_STRINGS) += strings.o
|
|
lib-$(CONFIG_TASKSET) += taskset.o
|
|
lib-$(CONFIG_TIME) += time.o
|
|
lib-$(CONFIG_TIMEOUT) += timeout.o
|
|
lib-$(CONFIG_TTYSIZE) += ttysize.o
|
|
lib-$(CONFIG_WATCHDOG) += watchdog.o
|