Rather than having them buried in the middle of the Makefile, relocate the "quiet/not-quiet" options, MKDIR and INSTALL definitions to the top of the file. Signed-off-by: Jon Loeliger <jdl@xxxxxxxxxxxxxxxxxxx> --- Makefile | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index b755b67..9f9ae01 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,18 @@ UDEV_RULE_DIR?=/lib/udev/rules.d/ PUBKEY_DIR?=pubkeys +MKDIR ?= mkdir -p +INSTALL ?= install + + +ifeq ($(V),1) + Q= + NQ=@true +else + Q=@ + NQ=@echo +endif + # # Determine what target and host libraries and executables # need to be built as that will determine what libraries will @@ -236,17 +248,6 @@ verify: $(REG_BIN) host/regdbdump $(Q)./host/regdbdump $(REG_BIN) >/dev/null -MKDIR ?= mkdir -p -INSTALL ?= install - -ifeq ($(V),1) -Q= -NQ=@true -else -Q=@ -NQ=@echo -endif - $(REG_BIN): $(NQ) ' EXIST ' $(REG_BIN) $(NQ) -- 1.6.3.GIT -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html