mirror of https://git.wownero.com/dsc/mxe.git
Move whitespace variables up to where all the other variables are
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
332ffa9ca2
commit
5eccb2f4db
18
Makefile
18
Makefile
|
@ -51,6 +51,15 @@ BUILD := $(shell '$(EXT_DIR)/config.guess')
|
||||||
BUILD_PKGS := $(shell grep -l 'BUILD_$$(BUILD)' '$(TOP_DIR)/src/'*.mk | $(SED) -n 's,.*src/\(.*\)\.mk,\1,p')
|
BUILD_PKGS := $(shell grep -l 'BUILD_$$(BUILD)' '$(TOP_DIR)/src/'*.mk | $(SED) -n 's,.*src/\(.*\)\.mk,\1,p')
|
||||||
PATH := $(PREFIX)/$(BUILD)/bin:$(PREFIX)/bin:$(PATH)
|
PATH := $(PREFIX)/$(BUILD)/bin:$(PREFIX)/bin:$(PATH)
|
||||||
|
|
||||||
|
# define some whitespace variables
|
||||||
|
define newline
|
||||||
|
|
||||||
|
|
||||||
|
endef
|
||||||
|
|
||||||
|
null :=
|
||||||
|
space := $(null) $(null)
|
||||||
|
|
||||||
MXE_CONFIGURE_OPTS = \
|
MXE_CONFIGURE_OPTS = \
|
||||||
--host='$(TARGET)' \
|
--host='$(TARGET)' \
|
||||||
--build='$(BUILD)' \
|
--build='$(BUILD)' \
|
||||||
|
@ -182,15 +191,6 @@ $(PREFIX)/installed/check-requirements: $(MAKEFILE)
|
||||||
$(call CHECK_REQUIREMENT_VERSION,automake,1\.11\.[3-9]\|1\.[1-9][2-9]\(\.[0-9]\+\)\?)
|
$(call CHECK_REQUIREMENT_VERSION,automake,1\.11\.[3-9]\|1\.[1-9][2-9]\(\.[0-9]\+\)\?)
|
||||||
@touch '$@'
|
@touch '$@'
|
||||||
|
|
||||||
# define some whitespace variables
|
|
||||||
define newline
|
|
||||||
|
|
||||||
|
|
||||||
endef
|
|
||||||
|
|
||||||
null :=
|
|
||||||
space := $(null) $(null)
|
|
||||||
|
|
||||||
include $(patsubst %,$(TOP_DIR)/src/%.mk,$(PKGS))
|
include $(patsubst %,$(TOP_DIR)/src/%.mk,$(PKGS))
|
||||||
|
|
||||||
.PHONY: download
|
.PHONY: download
|
||||||
|
|
Loading…
Reference in New Issue