X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/4d761f0cd585654092dc87bc4887d0125f1cbd0b..99b811879d5118460120fb1509b6152c0b7c0df2:/include/prereq-build.mk diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 11ee111ce..d6d2d73a6 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -103,6 +103,10 @@ $(eval $(call RequireCommand,perl, \ Please install perl. \ )) +$(eval $(call RequireCommand,python, \ + Please install python. \ +)) + $(eval $(call RequireCommand,wget, \ Please install wget. \ )) @@ -123,3 +127,18 @@ $(eval $(call RequireCommand,autoconf, \ Please install GNU autoconf. \ )) +define Require/gnu-find + $(FIND) $(TMP_DIR) -lname foo +endef + +$(eval $(call Require,gnu-find, \ + Please install GNU find \ +)) + +define Require/getopt-extended + getopt --long - - >/dev/null +endef + +$(eval $(call Require,getopt-extended, \ + Please install an extended getopt version that supports --long \ +))