Allow setting BUILDDIR in the build to dictate where to find directories (#1153)
This allows building many components without elevated permissions or needing to do it within a container.
This commit is contained in:
committed by
GitHub
parent
2c3c066ea0
commit
d7c09e15b9
7
Makefile
7
Makefile
@@ -1,7 +1,8 @@
|
||||
RELEASE_DIR = /build/release
|
||||
BUILDDIR:=$(shell pwd)
|
||||
RELEASE_DIR = $(BUILDDIR)/release
|
||||
|
||||
BUILDROOT=/build/buildroot
|
||||
BUILDROOT_EXTERNAL=/build/buildroot-external
|
||||
BUILDROOT=$(BUILDDIR)/buildroot
|
||||
BUILDROOT_EXTERNAL=$(BUILDDIR)/buildroot-external
|
||||
DEFCONFIG_DIR = $(BUILDROOT_EXTERNAL)/configs
|
||||
VERSION_DATE := $(shell date --utc +'%Y%m%d')
|
||||
VERSION_DEV := "dev$(VERSION_DATE)"
|
||||
|
||||
Reference in New Issue
Block a user