X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/013ef04c6c77024c40d39363ee9f3e1ee89fcda5..46ba32a61f3690ea0b72fe4d372e97b9d644146d:/include/prereq-build.mk diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 10bc68ae1..d3aec6439 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -6,10 +6,11 @@ # include $(TOPDIR)/rules.mk -TMP_DIR:=$(TOPDIR)/tmp include $(INCLUDE_DIR)/prereq.mk include $(INCLUDE_DIR)/host.mk +PKG_NAME:=Build dependency + define Require/non-root [ "$$(shell whoami)" != "root" ] endef @@ -77,6 +78,9 @@ $(eval $(call Require,zlib, \ Please install zlib. (Missing libz.so or zlib.h) \ )) +$(eval $(call RequireCommand,gawk, \ + Please install GNU awk. \ +)) $(eval $(call RequireCommand,bison, \ Please install GNU bison. \ @@ -86,10 +90,6 @@ $(eval $(call RequireCommand,flex, \ Please install flex. \ )) -$(eval $(call RequireCommand,python, \ - Please install python. \ -)) - $(eval $(call RequireCommand,unzip, \ Please install unzip. \ )) @@ -117,3 +117,7 @@ endef $(eval $(call Require,gnutar, \ Please install GNU tar. \ )) + +$(eval $(call RequireCommand,autoconf, \ + Please install GNU autoconf. \ +))