X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fprereq-build.mk;h=d3aec643999c81501b5adc8f73d7189097dfc6ac;hp=e9f3a0173f89990aa6ab4aefe9edd105a27ebdd3;hb=3e91dd1bd509f3691a65b79d8ef2d02630aae479;hpb=d28e34c34a44afe72be59300d7773bc91e6e2388 diff --git a/include/prereq-build.mk b/include/prereq-build.mk index e9f3a0173f..d3aec64399 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 @@ -76,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. \ @@ -112,3 +117,7 @@ endef $(eval $(call Require,gnutar, \ Please install GNU tar. \ )) + +$(eval $(call RequireCommand,autoconf, \ + Please install GNU autoconf. \ +))