aboutsummaryrefslogtreecommitdiff
path: root/scripts/make.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-09-08 01:27:54 -0500
committerRob Landley <rob@landley.net>2012-09-08 01:27:54 -0500
commit787eac5f1dac70ee4a6ac79699f6da87b8fd6ee6 (patch)
treee068491e7e9e10f26ed2b00d7e6ea1464ab9e589 /scripts/make.sh
parent85dd282b08eb378b4b8cc275f96226dc2c151216 (diff)
downloadtoybox-787eac5f1dac70ee4a6ac79699f6da87b8fd6ee6.tar.gz
Add switch_root and fix infrastructure to understand name "switch_root".
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
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..."