Add some more documentation, and print PLATFORM_OVERRIDE info during run ENGINE-228
authorDamiano Boppart <damiano@pep-security.net>
Wed, 23 Aug 2017 12:49:35 +0200
branchENGINE-228
changeset 19925ae14e2f4841
parent 1991 7dfc2771f082
child 1993 efaeadf3e6f0
Add some more documentation, and print PLATFORM_OVERRIDE info during run
Makefile
build-config/common.conf
     1.1 --- a/Makefile	Tue Aug 22 22:41:54 2017 +0200
     1.2 +++ b/Makefile	Wed Aug 23 12:49:35 2017 +0200
     1.3 @@ -11,7 +11,7 @@
     1.4  export YML_PATH=$(YML2_PATH)
     1.5  
     1.6  .PHONY: all
     1.7 -all:
     1.8 +all: _platform_override_info
     1.9  	$(MAKE) -C asn.1 generate
    1.10  	$(MAKE) -C asn.1
    1.11  	$(MAKE) -C sync
    1.12 @@ -51,3 +51,13 @@
    1.13  .PHONY: db
    1.14  db:
    1.15  	$(MAKE) -C db db
    1.16 +
    1.17 +.PHONY: _platform_override
    1.18 +ifdef PLATFORM_OVERRIDE
    1.19 +_platform_override_info:
    1.20 +	@echo "================================================"
    1.21 +	@echo "PLATFORM_OVERRIDE is set to '$(PLATFORM_OVERRIDE)'."
    1.22 +	@echo "================================================"
    1.23 +else
    1.24 +_platform_override_info:
    1.25 +endif
     2.1 --- a/build-config/common.conf	Tue Aug 22 22:41:54 2017 +0200
     2.2 +++ b/build-config/common.conf	Wed Aug 23 12:49:35 2017 +0200
     2.3 @@ -4,6 +4,7 @@
     2.4  # see LICENSE.txt
     2.5  
     2.6  # General remark: to use (only) system libraries, set all the *_INC and *_LIB variables to the empty string.
     2.7 +# All the *_INC and *_LIB variables are command line flags, not paths. Thus, all *_INC variables' values must start with "-I", and all *_LIB variables' values must start with "-L".
     2.8  
     2.9  ######### General #########
    2.10  BUILD_ON:=$(shell uname)