make/common/Defs-embedded.gmk
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File jdk-tl-orig Sdiff make/common

make/common/Defs-embedded.gmk

Print this page




  48 # Reduced JRE locations
  49 JRE_REDUCED_HEADLESS_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-reduced-headless-image
  50 JRE_REDUCED_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-reduced-image
  51 
  52 # Override on linux to further reduce binary/lib sizes in product build
  53 ifeq ($(PLATFORM), linux)
  54   ifeq ($(VARIANT), OPT)
  55     ifneq ($(NO_STRIP), true)
  56       ifneq ($(DEBUG_BINARIES), true)
  57         POST_STRIP_PROCESS = $(STRIP) --strip-unneeded
  58       endif
  59     endif
  60   endif
  61 endif
  62 
  63 # NIO Platform specific source file location
  64 ifdef CROSS_COMPILE_ARCH
  65   NIO_PLATFORM_CLASSES_ROOT_DIR = $(CLOSED_PLATFORM_SRC)/classes/
  66 endif
  67 







  68 endif # JAVASE_EMBEDDED
  69 


  48 # Reduced JRE locations
  49 JRE_REDUCED_HEADLESS_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-reduced-headless-image
  50 JRE_REDUCED_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-reduced-image
  51 
  52 # Override on linux to further reduce binary/lib sizes in product build
  53 ifeq ($(PLATFORM), linux)
  54   ifeq ($(VARIANT), OPT)
  55     ifneq ($(NO_STRIP), true)
  56       ifneq ($(DEBUG_BINARIES), true)
  57         POST_STRIP_PROCESS = $(STRIP) --strip-unneeded
  58       endif
  59     endif
  60   endif
  61 endif
  62 
  63 # NIO Platform specific source file location
  64 ifdef CROSS_COMPILE_ARCH
  65   NIO_PLATFORM_CLASSES_ROOT_DIR = $(CLOSED_PLATFORM_SRC)/classes/
  66 endif
  67 
  68 # For ARM sflt we need to link to a library with improved FP accuracy
  69 # and it must be linked after fdlibm - this places it at the end after libc
  70 # -z muldefs avoids linker errors for duplicate symbols.
  71 ifeq ($(CROSS_COMPILE_ARCH), arm)
  72   EXTRA_LIBS +=  $(EXT_LIBS_PATH)/sflt_glibc_jdk.a -Xlinker -z -Xlinker muldefs
  73 endif
  74 
  75 endif # JAVASE_EMBEDDED
  76 
make/common/Defs-embedded.gmk
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File