VirtualBox

Changeset 923 in kBuild for trunk


Ignore:
Timestamp:
May 25, 2007 5:07:41 AM (18 years ago)
Author:
bird
Message:

Fixed double remake of maybe-update targets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/remake.c

    r921 r923  
    703703  /* Here depth returns to the value it had when we were called.  */
    704704  depth--;
     705
     706#ifdef CONFIG_WITH_EXPLICIT_MULTITARGET
     707  /* maybe-update targets in a multi target should have been remade
     708     by now, so return before we remake it again.
     709
     710     XXX What if there are extra dependencies for this file that
     711     triggers a remake when the primary target doesn't need remaking?
     712     Current solution is: Don't do that! */
     713  if (file->multi_maybe)
     714    {
     715      assert (file->multi_head->updated);
     716      assert (file->updated);
     717      assert (file->update_status <= 0);
     718      DBF (DB_VERBOSE, _("Finished maybe-update file `%s'.\n"));
     719      return 0;
     720    }
     721#endif
    705722
    706723  if (file->double_colon && file->deps == 0)
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