VirtualBox

Changeset 2815 in kBuild for trunk/src/kmk/kbuild.c


Ignore:
Timestamp:
Aug 14, 2016 12:03:44 PM (8 years ago)
Author:
bird
Message:

func_kbuild_source_one: Use different variable block compile job dependency file inclusion: NO_COMPILE_CMDS_DEPS -> NO_COMPILE_DEPS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kbuild.c

    r2771 r2815  
    19621962func_kbuild_source_one(char *o, char **argv, const char *pszFuncName)
    19631963{
    1964     static int s_fNoCompileCmdsDepsDefined = -1;
     1964    static int s_fNoCompileDepsDefined = -1;
    19651965    struct variable *pTarget    = kbuild_get_variable_n(ST("target"));
    19661966    struct variable *pSource    = kbuild_get_variable_n(ST("source"));
     
    20532053    /*
    20542054    # dependencies
    2055     ifndef NO_COMPILE_CMDS_DEPS
     2055    ifndef NO_COMPILE_DEPS
    20562056    _DEPFILES_INCLUDED += $(dep)
    20572057    $(if $(wildcard $(dep)),$(eval include $(dep)))
    20582058    endif
    20592059     */
    2060     if (s_fNoCompileCmdsDepsDefined == -1)
    2061         s_fNoCompileCmdsDepsDefined = kbuild_lookup_variable_n(ST("NO_COMPILE_CMDS_DEPS")) != NULL;
    2062     if (!s_fNoCompileCmdsDepsDefined)
     2060    if (s_fNoCompileDepsDefined == -1)
     2061        s_fNoCompileDepsDefined = kbuild_lookup_variable_n(ST("NO_COMPILE_DEPS")) != NULL;
     2062    if (!s_fNoCompileDepsDefined)
    20632063    {
    20642064        pVar = kbuild_query_recursive_variable_n("_DEPFILES_INCLUDED", sizeof("_DEPFILES_INCLUDED") - 1);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette