openwrt/package/base-files/files/lib
Adrian Schmutzler 5b6a809092 treewide: move calibration data extraction function to library
This moves the almost identical calibration data extraction
functions present multiple times in several targets to a single
library file /lib/functions/caldata.sh.

Functions are renamed with more generic names to merge different
variants that only differ in their names.

Most of the targets used find_mtd_chardev, while some used
find_mtd_part inside the extraction code. To merge them, the more
abundant version with find_mtd_chardev is used in the common code.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[rebase on latest master; add mpc85xx]
Signed-off-by: David Bauer <mail@david-bauer.net>
2019-10-13 21:48:58 +02:00
..
functions treewide: move calibration data extraction function to library 2019-10-13 21:48:58 +02:00
preinit base-files: move urandom seed bits into separate package 2019-06-11 08:06:28 +02:00
upgrade base-files: upgrade: add case to export_bootdevice 2019-10-09 21:00:02 +02:00
functions.sh base-files: move xor() from caldata extraction to functions.sh 2019-10-13 19:03:57 +02:00