From: Ulf Samuelsson Date: Thu, 12 Jul 2007 15:32:04 +0000 (-0000) Subject: Add comment on when to use BUILD_DIR vs PROJECT_BUILD_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e17c3858c409edd4916c94fc8d87468f889a92ee;p=buildroot.git Add comment on when to use BUILD_DIR vs PROJECT_BUILD_DIR --- diff --git a/package/Makefile.in b/package/Makefile.in index fc0f020b42..2fe6583535 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