Skip to contentSkip to conversation

Unbury Makefile-meta config definitions.

PATCH In review Jon Loeliger 1 participant 1 message Jun 30, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 5/5 Unbury Makefile-meta config definitions.

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.

---
 Makefile |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)
Makefile +12 -11
index b755b67..9f9ae01 100644
@@ -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)
Signature · 1 line
1.6.3.GIT