X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/68cd5d5a88798abb94a712a85dd1f72c0691205e..bc86dba383e35617ce0f4bf925e711415711a35e:/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 \ +))