Lines Matching full:generated
19 UNSTRIPPED="generated/unstripped/$(basename "$OUTNAME")"
43 mkdir -p generated/unstripped
45 if isnewer generated/Config.in toys
56 if isnewer generated/newtoys.h toys
58 echo -n "generated/newtoys.h "
60 echo "USE_TOYBOX(NEWTOY(toybox, NULL, TOYFLAG_STAYROOT))" > generated/newtoys.h
63 | $SED 's/[^ ]* //' >> generated/newtoys.h
76 CFLAGS="$CFLAGS $(cat generated/cflags)"
105 <(head -n 7 generated/build.sh 2>/dev/null | $SED '7s/ -o .*//')
114 > generated/optlibs.dat
118 …${CROSS_COMPILE}${CC} $CFLAGS $LDFLAGS -xc - -o generated/libprobe $LDASNEEDED -l$i > /dev/null 2>…
119 echo -l$i >> generated/optlibs.dat
122 rm -f generated/libprobe
128 LINK="$(echo $LDOPTIMIZE $LDFLAGS -o "$UNSTRIPPED" $LDASNEEDED $(cat generated/optlibs.dat))"
129 genbuildsh > generated/build.sh && chmod +x generated/build.sh || exit 1
132 if true #isnewer generated/config.h "$KCONFIG_CONFIG"
134 echo "Make generated/config.h from $KCONFIG_CONFIG."
159 $KCONFIG_CONFIG > generated/config.h || exit 1
162 if [ ! -f generated/mkflags ] || [ generated/mkflags -ot scripts/mkflags.c ]
164 do_loudly $HOSTCC scripts/mkflags.c -o generated/mkflags || exit 1
185 cat generated/config.h
187 $SED '/USE_.*([^)]*)$/s/$/ __VA_ARGS__/' generated/config.h
190 cat generated/newtoys.h
208 tee generated/flags.raw | generated/mkflags > generated/flags.h || exit 1
211 if isnewer generated/flags.h toys "$KCONFIG_CONFIG"
213 echo -n "generated/flags.h "
232 if isnewer generated/globals.h toys
234 echo -n "generated/globals.h "
243 ) > generated/globals.h
246 if [ ! -f generated/mktags ] || [ generated/mktags -ot scripts/mktags.c ]
248 do_loudly $HOSTCC scripts/mktags.c -o generated/mktags || exit 1
251 if isnewer generated/tags.h toys
253 echo -n "generated/tags.h "
256 toys/*/*.c lib/*.c | generated/mktags > generated/tags.h
259 if [ ! -f generated/config2help ] || [ generated/config2help -ot scripts/config2help.c ]
261 do_loudly $HOSTCC scripts/config2help.c -o generated/config2help || exit 1
263 if isnewer generated/help.h generated/Config.in
265 echo "generated/help.h"
266 generated/config2help Config.in $KCONFIG_CONFIG > generated/help.h || exit 1
277 # Any headers newer than the oldest generated/obj file?
278 X="$(ls -1t generated/obj/* 2>/dev/null | tail -n 1)"
282 rm -rf generated/obj && mkdir -p generated/obj || exit 1
284 rm -f generated/obj/{main,lib_help}.o || exit 1
287 # build each generated/obj/*.o file in parallel
301 OUT="generated/obj/${X%%.c}.o"