X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5d739a43e714fc3ec49ff85034a7ecb2a8929958..479d18c8590fbda577f5f84d511d4fea1da1f9e0:/include/prereq-build.mk diff --git a/include/prereq-build.mk b/include/prereq-build.mk index fbe7d69f4..d6d2d73a6 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -134,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 \ +))