diff --git a/config.example b/config.example index 6ac2c721..4d303383 100644 --- a/config.example +++ b/config.example @@ -6,6 +6,12 @@ # Change it to your name. MAINTAINER = $(shell whoami) +# use your own target directory +#TARGET_DIR = /path/to/your/root + +# use your own sources directory +#SOURCE_DIR = /path/to/your/sources + # ----------------------------------------------------------------------------- # Choose one (1) of the following BOXMODELs. O n e ! diff --git a/make/environment-build.mk b/make/environment-build.mk index 20b7cdbd..750c26ff 100644 --- a/make/environment-build.mk +++ b/make/environment-build.mk @@ -38,7 +38,7 @@ DEPS_DIR = $(BASE_DIR)/deps D = $(DEPS_DIR) HOST_DIR = $(BASE_DIR)/host TARGET_DIR ?= $(BASE_DIR)/root -SOURCE_DIR = $(BASE_DIR)/source +SOURCE_DIR ?= $(BASE_DIR)/source MAKE_DIR = $(BASE_DIR)/make LOCAL_DIR = $(BASE_DIR)/local STAGING_DIR = $(BASE_DIR)/staging