Add comment on when to use BUILD_DIR vs PROJECT_BUILD_DIR
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 12 Jul 2007 15:32:04 +0000 (15:32 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 12 Jul 2007 15:32:04 +0000 (15:32 -0000)
package/Makefile.in

index fc0f020b422382fb9bc7302c1b5fb4886dca7f3b..2fe65835353dbf49864a86c435a9017aa3aca20a 100644 (file)
@@ -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