p≡p engine FORK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
807 B

  1. # Copyright 2017, pEp Foundation
  2. # This file is part of pEpEngine
  3. # This file may be used under the terms of the GNU General Public License version 3
  4. # see LICENSE.txt
  5. # To use custom build configuration variables, put them in a new file at `build-config/<name>.conf`. Execute `export PLATFORM_OVERRIDE=<name>` before running make. If this environment variable is not set, make will load a default configuration for your platform.
  6. include build-config/common.conf
  7. # cross-compiling is currently not supported, but maybe you can hack something with `PLATFORM_OVERRIDE`
  8. ifeq ($(BUILD_ON),$(BUILD_FOR))
  9. include build-config/$(BUILD_ON).conf
  10. else
  11. $(error I don't know how to build for $(BUILD_FOR) on $(BUILD_ON))
  12. endif
  14. include build-config/$(PLATFORM_OVERRIDE).conf
  15. endif