Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4463298

Defs.gmk BINDIR reordering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: