make-rules/common.mk
changeset 5687 3edec987dfad
parent 5682 94c0ca64c022
child 6552 402379bc1b60
equal deleted inserted replaced
5686:10b8edde211b 5687:3edec987dfad
    25 
    25 
    26 #
    26 #
    27 # This file sets up the standard, default options and base requirements for
    27 # This file sets up the standard, default options and base requirements for
    28 # userland components.
    28 # userland components.
    29 #
    29 #
       
    30 
       
    31 # Assume that if no COMPONENT_ARCHIVE_URL or COMPONENT_ARCHIVE_SRC has been
       
    32 # defined that no COMPONENT_ARCHIVE exists; this allows providing a default
       
    33 # value for COMPONENT_ARCHIVE while avoiding prep errors.
       
    34 ifndef COMPONENT_ARCHIVE_URL
       
    35 ifndef COMPONENT_ARCHIVE_SRC
       
    36 COMPONENT_ARCHIVE=
       
    37 endif
       
    38 endif
    30 
    39 
    31 include $(WS_MAKE_RULES)/prep.mk
    40 include $(WS_MAKE_RULES)/prep.mk
    32 
    41 
    33 # Override this to limit builds and publication to a single architecture.
    42 # Override this to limit builds and publication to a single architecture.
    34 BUILD_ARCH ?= $(MACH)
    43 BUILD_ARCH ?= $(MACH)
    99 ifneq ($(strip $(BUILD_BITS)),NO_ARCH)
   108 ifneq ($(strip $(BUILD_BITS)),NO_ARCH)
   100 ASLR_MODE= $(ASLR_ENABLE)
   109 ASLR_MODE= $(ASLR_ENABLE)
   101 endif # BUILD_BITS NO_ARCH
   110 endif # BUILD_BITS NO_ARCH
   102 endif # BUILD_STYLE ant
   111 endif # BUILD_STYLE ant
   103 endif # findstring library
   112 endif # findstring library
   104 
       
   105 # Assume that if no COMPONENT_ARCHIVE_URL or COMPONENT_ARCHIVE_SRC has been
       
   106 # defined that no COMPONENT_ARCHIVE exists; this allows providing a default
       
   107 # value for COMPONENT_ARCHIVE while avoiding prep errors.
       
   108 ifndef COMPONENT_ARCHIVE_URL
       
   109 ifndef COMPONENT_ARCHIVE_SRC
       
   110 COMPONENT_ARCHIVE=
       
   111 endif
       
   112 endif
       
   113 
   113 
   114 # Determine if we should automatically include lint libraries in build and
   114 # Determine if we should automatically include lint libraries in build and
   115 # install targets based on presence of llib* files in component directory. This
   115 # install targets based on presence of llib* files in component directory. This
   116 # must be done before defining any common targets since the include affects
   116 # must be done before defining any common targets since the include affects
   117 # later variable expansion.
   117 # later variable expansion.