mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
build: Allow overriding BUILDDIR from command line
You can now specify BUILDDIR= on the make command line, e.g., in order to put that into a tmpfs or similar. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
b3313939b7
commit
ce963433bd
@ -7,7 +7,8 @@ all: _all
|
||||
# setup some variables
|
||||
ROOTDIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
ROOTDIR := $(dir $(ROOTDIR:%../src/=%))../
|
||||
BUILDDIR := $(ROOTDIR)build
|
||||
BUILDDIR ?= $(abspath $(ROOTDIR)build)
|
||||
BUILDDIR := $(BUILDDIR:%/=%)
|
||||
_PROJ := $(abspath $(dir $(firstword $(MAKEFILE_LIST))))
|
||||
ABSROOT := $(abspath $(ROOTDIR))
|
||||
_PROJ := $(_PROJ:$(ABSROOT)/%=%)
|
||||
|
Loading…
Reference in New Issue
Block a user