VirtualBox

Changeset 1390 in kBuild


Ignore:
Timestamp:
Feb 3, 2008 9:53:30 PM (17 years ago)
Author:
bird
Message:

Fixed bug when DEPTH == SUB_DEPTH which caused CURSUBDIR = PATH_SUB_ROOT because patsubst failed (no trailing slash). The result would be lots of werid stuff, esp. on windows. The actual caused was a mixup of PATH_CURRENT and PATH_SUB_ROOT in the test trying to avoid the issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r1389 r1390  
    269269## CURSUBDIR is PATH_SUB_ROOT described relative to PATH_ROOT.
    270270# This variable is used to determin where the object files and other output goes.
    271 ifneq ($(PATH_ROOT),$(PATH_CURRENT))
    272 CURSUBDIR           := $(patsubst $(PATH_ROOT)/%,%,$(PATH_SUB_ROOT))
    273 else
    274 CURSUBDIR           := .
     271ifneq ($(PATH_ROOT),$(PATH_SUB_ROOT))
     272 CURSUBDIR          := $(patsubst $(PATH_ROOT)/%,%,$(PATH_SUB_ROOT))
     273else
     274 CURSUBDIR          := .
    275275endif
    276276
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