Changeset View
Changeset View
Standalone View
Standalone View
head/Makefile.inc1
Show First 20 Lines • Show All 1,172 Lines • ▼ Show 20 Lines | |||||
# be a complex command whose status will be returned to the caller. | # be a complex command whose status will be returned to the caller. | ||||
# Some scripts in tools rely on this behavior to report build errors. | # Some scripts in tools rely on this behavior to report build errors. | ||||
# | # | ||||
buildenv: .PHONY | buildenv: .PHONY | ||||
@echo Entering world for ${TARGET_ARCH}:${TARGET} | @echo Entering world for ${TARGET_ARCH}:${TARGET} | ||||
.if ${BUILDENV_SHELL:M*zsh*} | .if ${BUILDENV_SHELL:M*zsh*} | ||||
@echo For ZSH you must run: export CPUTYPE=${TARGET_CPUTYPE} | @echo For ZSH you must run: export CPUTYPE=${TARGET_CPUTYPE} | ||||
.endif | .endif | ||||
@cd ${BUILDENV_DIR} && env ${WMAKEENV} BUILDENV=1 ${BUILDENV_SHELL} | @cd ${BUILDENV_DIR} && env ${WMAKEENV} \ | ||||
INSTALL="${INSTALL_CMD} ${INSTALLFLAGS}" \ | |||||
MTREE_CMD="${MTREE_CMD} ${MTREEFLAGS}" BUILDENV=1 ${BUILDENV_SHELL} | |||||
TOOLCHAIN_TGTS= ${WMAKE_TGTS:Neverything:Nbuild${libcompat}} | TOOLCHAIN_TGTS= ${WMAKE_TGTS:Neverything:Nbuild${libcompat}} | ||||
toolchain: ${TOOLCHAIN_TGTS} .PHONY | toolchain: ${TOOLCHAIN_TGTS} .PHONY | ||||
KERNEL_TOOLCHAIN_TGTS= ${TOOLCHAIN_TGTS:N_obj:N_cleanobj:N_includes:N_libraries} | KERNEL_TOOLCHAIN_TGTS= ${TOOLCHAIN_TGTS:N_obj:N_cleanobj:N_includes:N_libraries} | ||||
.if make(kernel-toolchain) | .if make(kernel-toolchain) | ||||
.ORDER: ${KERNEL_TOOLCHAIN_TGTS} | .ORDER: ${KERNEL_TOOLCHAIN_TGTS} | ||||
.endif | .endif | ||||
kernel-toolchain: ${KERNEL_TOOLCHAIN_TGTS} .PHONY | kernel-toolchain: ${KERNEL_TOOLCHAIN_TGTS} .PHONY | ||||
▲ Show 20 Lines • Show All 2,170 Lines • Show Last 20 Lines |