tools: ensure that BIN_DIR is created early
Fixes llvm-bpf buildbot failure Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2a832b3df5
commit
10cbce3b52
@ -125,6 +125,9 @@ define PrepareStaging
|
|||||||
); done
|
); done
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
$(BIN_DIR):
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
# preparatory work
|
# preparatory work
|
||||||
$(STAGING_DIR)/.prepared: $(TMP_DIR)/.build
|
$(STAGING_DIR)/.prepared: $(TMP_DIR)/.build
|
||||||
$(call PrepareStaging,$(STAGING_DIR))
|
$(call PrepareStaging,$(STAGING_DIR))
|
||||||
@ -145,8 +148,8 @@ endif
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(curdir)//prepare = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared
|
$(curdir)//prepare = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $(BIN_DIR)
|
||||||
$(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared
|
$(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $(BIN_DIR)
|
||||||
|
|
||||||
# prerequisites for the individual targets
|
# prerequisites for the individual targets
|
||||||
$(curdir)/ := .config prereq
|
$(curdir)/ := .config prereq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user