From f1c0186b2f0dd8eb14df1de1bda3dd7e79866dcb Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 3 Jul 2011 23:02:16 +0200 Subject: config: move multi-line shell commands from Makefile to script Maintaining thos multi-line shell commands in a Makefile rule is a real PITA. Move the two affected rules (build_gen_choice_in and build_gen_menu_in to a shell script. Signed-off-by: "Yann E. MORIN" --- scripts/gen_in_frags.sh | 158 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100755 scripts/gen_in_frags.sh (limited to 'scripts') diff --git a/scripts/gen_in_frags.sh b/scripts/gen_in_frags.sh new file mode 100755 index 00000000..24514955 --- /dev/null +++ b/scripts/gen_in_frags.sh @@ -0,0 +1,158 @@ +#!/bin/sh +set -e + +# This scripts generates either a choice or a menuconfig +# with the specified entries. +# +# Usage: +# generate a choice: +# gen_in_frags.sh choice