Opened 16 years ago

Last modified 13 years ago

#80 assigned defect

kmk: Make $(target)_$(source)_*_ local

Reported by: bird Owned by: bird
Priority: major Milestone: 0.2.0
Component: kmk Version: noversion
Keywords: Cc:

Description

The following bit in kbuild.c should be changed to local variables (lower case no, prefix or suffix):

    $(target)_$(source)_CMDS_   := $(TOOL_$(tool)_COMPILE_$(type)_CMDS)
    $(target)_$(source)_OUTPUT_ := $(TOOL_$(tool)_COMPILE_$(type)_OUTPUT)
    $(target)_$(source)_OUTPUT_MAYBE_ := $(TOOL_$(tool)_COMPILE_$(type)_OUTPUT_MAYBE)
    $(target)_$(source)_DEPEND_ := $(TOOL_$(tool)_COMPILE_$(type)_DEPEND) $(deps) $(source)
    $(target)_$(source)_DEPORD_ := $(TOOL_$(tool)_COMPILE_$(type)_DEPORD) $(dirdep)

Change History (3)

comment:1 by bird, 23 years ago

Milestone: 0.3.00.2.0
Status: newassigned

comment:2 by bird, 13 years ago

Made them local in r2539. The variable names are still unchanged to avoid incompatibilities.

comment:3 by bird, 13 years ago

For the time being, we'll defined two sets of local variables. The new ones are: kbsrc_cmds, kbsrc_output, kbsrc_output_maybe, kbsrc_depend & kbsrc_depord. Implemented in r2540.

Note: See TracTickets for help on using tickets.