make-rules/common.mk
changeset 6911 7b878dfe6f0d
parent 6552 402379bc1b60
equal deleted inserted replaced
6910:93182fb9923a 6911:7b878dfe6f0d
    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
       
    39 
    30 
    40 include $(WS_MAKE_RULES)/prep.mk
    31 include $(WS_MAKE_RULES)/prep.mk
    41 
    32 
    42 # Override this to limit builds and publication to a single architecture.
    33 # Override this to limit builds and publication to a single architecture.
    43 BUILD_ARCH ?= $(MACH)
    34 BUILD_ARCH ?= $(MACH)