Opened 10 years ago

Last modified 8 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 Changed 17 years ago by bird

  • Milestone changed from 0.3.0 to 0.2.0
  • Status changed from new to assigned

comment:2 Changed 8 years ago by bird

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

comment:3 Changed 8 years ago by bird

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.