X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/37657a06c035d9b3590eb529b8968c48578fb72d..479d18c8590fbda577f5f84d511d4fea1da1f9e0:/include/prereq-build.mk diff --git a/include/prereq-build.mk b/include/prereq-build.mk index b0114f0b9..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. \ )) @@ -130,3 +134,11 @@ 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 \ +))