摘要 |
A method for constructing a software distribution image includes modifying zero or more to-be-compiled components of the software distribution image using pre-processing instructions to delineate modifications for inclusion or exclusion from a final compiled version of the to-be-compiled components. Modifying one or more not-to-be-compiled components of the software distribution image using pre-processing instructions to delineate modifications for inclusion or exclusion from a final ready-to-run version of the not-to-be compiled components. Preprocessing each of the zero or more to-be-compiled components to either include or exclude each of the delineated modifications of the to-be-compiled components based on desired characteristics of the software distribution image. Preprocessing each of the one or more not-to-be-compiled components to either include or exclude each of the delineated modifications of the not-to-be-compiled components based on the desired characteristics of the software distribution image to obtain a ready-to-run version of each of the one or more not-to-be-compiled components. Compiling each of the zero or more preprocessed to-be-compiled components to obtain a compiled version of each of the zero or more to-be-compiled components. Assembling each of the one or more ready-to-run components and each of the zero or more compiled components into the software distribution image.
|