From 787eac5f1dac70ee4a6ac79699f6da87b8fd6ee6 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 8 Sep 2012 01:27:54 -0500 Subject: Add switch_root and fix infrastructure to understand name "switch_root". --- scripts/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/make.sh b/scripts/make.sh index 713a6b89..af56e6d1 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -124,7 +124,7 @@ TOYFILES="^$(ls toys/*/*.c | sed -n 's@^.*/\(.*\)\.c$@\1@;s/-/_/g;H;${g;s/\n//;s # 5) Remove any config symbol not recognized as a filename from step 1. # 6) Add "toys/*/" prefix and ".c" suffix. -TOYFILES=$(sed -nre 's/^CONFIG_(.*)=y/\1/;t skip;b;:skip;s/_.*//;p' < .config \ +TOYFILES=$(sed -nre 's/^CONFIG_(.*)=y/\1/p' < .config \ | sort -u | tr A-Z a-z | grep -E "$TOYFILES" | sed 's@\(.*\)@toys/\*/\1.c@') echo "Library probe..." -- cgit v1.2.3