mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-23 15:54:21 -09:00
Rather than repeat the same canned sequence over and over again, move it to a function that we can reuse as many times as needed. This will come handy when we later need to check merged-bin. Switch to using bash as it allows for nicer functions (local variables), but we anyway require it globally already so that's not an additional dependency. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Acked-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Romain Naour <romain.naour@smile.fr>