add prereq check for extended getopt (#3944)
[openwrt.git] / include / prereq-build.mk
index fbe7d69..d6d2d73 100644 (file)
@@ -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 \
+))
This page took 0.021151 seconds and 4 git commands to generate.