comparison scripts/make.sh @ 1194:855b706d10dc draft

Use right config for single builds.
author Rob Landley <rob@landley.net>
date Tue, 04 Feb 2014 06:14:30 -0600
parents 260cce6c3e35
children c86b1579c383
comparison
equal deleted inserted replaced
1193:f6f56a002d9a 1194:855b706d10dc
129 ) > generated/globals.h 129 ) > generated/globals.h
130 130
131 echo "generated/help.h" 131 echo "generated/help.h"
132 do_loudly $HOSTCC scripts/config2help.c -I . lib/xwrap.c lib/llist.c lib/lib.c \ 132 do_loudly $HOSTCC scripts/config2help.c -I . lib/xwrap.c lib/llist.c lib/lib.c \
133 -o generated/config2help && \ 133 -o generated/config2help && \
134 generated/config2help Config.in .config > generated/help.h || exit 1 134 generated/config2help Config.in $KCONFIG_CONFIG > generated/help.h || exit 1
135 135
136 # Extract a list of toys/*/*.c files to compile from the data in $KCONFIG_CONFIG 136 # Extract a list of toys/*/*.c files to compile from the data in $KCONFIG_CONFIG
137 137
138 # 1) Get a list of C files in toys/* and glue them together into a regex we can 138 # 1) Get a list of C files in toys/* and glue them together into a regex we can
139 # feed to grep that will match any one of them (whole word, not substring). 139 # feed to grep that will match any one of them (whole word, not substring).