build: simplify gnu-getopt search
[openwrt/staging/hauke.git] / include / prereq-build.mk
index 6fec4c1a4a6c5866ce01c3228a3fa5122e4ddb2e..19904853f1257ec794bd6199987ead6415861a64 100644 (file)
@@ -125,7 +125,6 @@ $(eval $(call SetupHostCommand,grep,Please install GNU 'grep', \
 $(eval $(call SetupHostCommand,getopt, \
        Please install an extended getopt version that supports --long, \
        gnugetopt -o t --long test -- --test | grep '^ *--test *--', \
-       /usr/local/bin/getopt -o t --long test -- --test | grep '^ *--test *--', \
        getopt -o t --long test -- --test | grep '^ *--test *--'))
 
 $(eval $(call SetupHostCommand,stat,Cannot find a file stat utility, \