summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-12 15:32:04 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-12 15:32:04 +0000
commite17c3858c409edd4916c94fc8d87468f889a92ee (patch)
treedf08847e1d79b5da3b6c8c81cfe30312eb085a0a
parente327a1f0a76db118ef1e86041c91cee061675182 (diff)
Add comment on when to use BUILD_DIR vs PROJECT_BUILD_DIR
-rw-r--r--package/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index fc0f020b4..2fe658353 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -68,8 +68,11 @@ ifeq ($(DL_DIR),)
DL_DIR:=$(BASE_DIR)/dl
endif
#PATCH_DIR=$(BASE_DIR)/sources/patches
+
+# All non-configurable packages should be built in BUILD_DIR
BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
+# All configurable packages (like Busybox,Linux etc) should be built in PROJECT_BUILD_DIR
PROJECT_BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)project_build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)/$(PROJECT)
BINARIES_DIR:=$(BASE_DIR)/binaries/$(PROJECT)
TARGET_DIR:=$(PROJECT_BUILD_DIR)/root