Ignore:
Timestamp:
Dec 8, 2006, 11:31:16 PM (19 years ago)
Author:
bird
Message:

tools location is being cleaned up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/TAR.kmk

    r688 r692  
    2828
    2929# Tool Specific Properties
    30 ifndef TOOL_TAR_UNPACK
    31  TOOL_TAR_UNPACK := $(wildcard $(PATH_DEVTOOLS_BLD)/tar$(HOSTSUFF_EXE))
    32  ifeq ($(TOOL_TAR_UNPACK),)
    33   TOOL_TAR_UNPACK := tar$(HOSTSUFF_EXE)
     30ifndef TOOL_TAR_TAR
     31 TOOL_TAR_TAR := $(wildcard $(PATH_DEVTOOLS_BLD)/tar/v*/tar$(HOSTSUFF_EXE))
     32 ifeq ($(TOOL_TAR_TAR),)
     33  TOOL_TAR_TAR := $(wildcard $(PATH_DEVTOOLS_BLD)/bin/tar$(HOSTSUFF_EXE))
     34 endif
     35 ifeq ($(TOOL_TAR_TAR),)
     36  TOOL_TAR_TAR := $(lastword $(sort $(TOOL_TAR_TAR)))
     37 else
     38  TOOL_TAR_TAR := tar$(HOSTSUFF_EXE)
    3439 endif
    3540else
    36  TOOL_TAR_UNPACK := $(TOOL_TAR_UNPACK)
     41 TOOL_TAR_TAR := $(TOOL_TAR_TAR)
    3742endif
     43TOOL_TAR_UNPACK ?= $(TOOL_TAR_TAR)
    3844
    3945# General Properties used by kBuild
Note: See TracChangeset for help on using the changeset viewer.