Defs.gmk BINDIR reordering

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: infrastructure
    • None
    • beta2
    • sparc
    • solaris_7

      the line:

      dummy := $(shell $(MKDIR) -p $(BINDIR))

      needs to go after the block:

      # OBJDIRNAME is the name of the directory where the object code is to
      # be placed. It's name depends on whether is it debug or optimized code
      # and whether it the data model architecture is 32-bit or not.
      # Sometimes we need to specifically identify either the DEBUG or OPTIMIZED
      # location.
      # BINDIR is for generated binaries
      ifneq ($(ARCH_DATA_MODEL), 32)
        OBJDIRNAME = obj$(SUFFIX)$(ARCH_DATA_MODEL)
        OBJDIR = $(TMPDIR)/$(OBJDIRNAME)
        DBG_OBJDIR = $(TMPDIR)/obj$(DBG_SUFFIX)$(ARCH_DATA_MODEL)
        OPT_OBJDIR = $(TMPDIR)/obj$(OPT_SUFFIX)$(ARCH_DATA_MODEL)
        BINDIR = $(OUTPUTDIR)/bin/$(ARCH)
      else
        OBJDIRNAME = obj$(SUFFIX)
        OBJDIR = $(TMPDIR)/$(OBJDIRNAME)
        DBG_OBJDIR = $(TMPDIR)/obj$(DBG_SUFFIX)
        OPT_OBJDIR = $(TMPDIR)/obj$(OPT_SUFFIX)
        BINDIR = $(OUTPUTDIR)/bin
      endif

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Michael Mccloskey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: