summaryrefslogtreecommitdiff
path: root/include/prereq-build.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-28 18:13:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-28 18:13:54 +0000
commit447b0f537ae94134043a76d798f01e78ef18bfe1 (patch)
tree196382a95602edcd4d0386da63641410ffad4627 /include/prereq-build.mk
parent36b75197e31bf5ee881739c750a9a9c4fbdff582 (diff)
downloadmtk-20170518-447b0f537ae94134043a76d798f01e78ef18bfe1.zip
mtk-20170518-447b0f537ae94134043a76d798f01e78ef18bfe1.tar.gz
mtk-20170518-447b0f537ae94134043a76d798f01e78ef18bfe1.tar.bz2
add PKG_NAME to prereq-build.mk so that failed checks show a proper prefix instead of just ':'
SVN-Revision: 6747
Diffstat (limited to 'include/prereq-build.mk')
-rw-r--r--include/prereq-build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index c73b124..78a278e 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -9,6 +9,8 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/prereq.mk
include $(INCLUDE_DIR)/host.mk
+PKG_NAME:=Build dependency
+
define Require/non-root
[ "$$(shell whoami)" != "root" ]
endef