Searched hist:289846 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11.0-release/share/mk/ | ||
H A D | bsd.crunchgen.mk | diff 289846 Fri Oct 23 19:50:19 MDT 2015 bdrewery Fix regression from r289734 that caused crunchgen "subdirs" to not be properly recursed. The .for loop was defining a ${__dir} variable that was being set at a different evaluation time than the target itself, so every 'cd ${__dir}' became the last value that was in ${__dir}. This resulted in 'make obj' not properly being ran in the tree that would leave .depend files scattered around when 'make all' was ran in rescue/. To fix this, define a CRUNCH_SRCDIR_* for every prog if it does not already have one and then use that variable in every relevant place. This allows simplifying some logic as well. Reported by: emaste X-MFC-With: r289734 MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division |
Completed in 109 milliseconds