busybox: no need to disable clear and reset
authorArnout Vandecappelle <arnout@mind.be>
Mon, 24 Apr 2017 20:13:23 +0000 (22:13 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 26 Apr 2017 07:20:15 +0000 (09:20 +0200)
commit200282e2070ec0405184378c3cfb4e04ab26c5d8
tree1a95e287c703aa8e5e992181d29aca28bfaa9c4d
parentcddb22ac2b627b9af7c52b724d5648d90c343e8e
busybox: no need to disable clear and reset

Removing clear and reset from the busybox config when the ncurses tools
are enabled is not really needed.

Since commit 802bff9c42, the busybox install will not overwrite
existing programs. Therefore, the tools will be installed correctly
regardless of the order of the build:
- if busybox is built first, the clear and reset apps are installed,
  but they will be overwritten by ncurses;
- if ncurses is built first, it will install the clear and reset apps,
  and busybox will no longer install them.

We prefer not to modify the busybox configuration when not strictly
necessary, because it is surprising for the user that his configuration
is not applied. Clearly, it's not ideal that busybox is configured with
redundant apps, but if the user wants to shrink it, it's possible to
provide a custom config.

This partially reverts commit 33c72344a8686a136c1da6a056ed6c0945bbf8b7.

Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/busybox/busybox.mk