X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fprereq-build.mk;h=59ea7ef9a78f976eba2b9169aab98fbc6b1571cd;hb=46e6cd8176ce004f7d97b18e34cbca3bc302f156;hp=c7d59f12029152fa2887e2374949c378ef918de7;hpb=036f79f8ded930bcdab359dfda6772f68d850f6d;p=openwrt.git diff --git a/include/prereq-build.mk b/include/prereq-build.mk index c7d59f1202..59ea7ef9a7 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -39,6 +39,8 @@ $(eval $(call Require,case-sensitive-fs, \ )) define Require/getopt + gnugetopt --help 2>&1 | grep long >/dev/null || \ + /usr/local/bin/getopt --help 2>&1 | grep long >/dev/null || \ getopt --help 2>&1 | grep long >/dev/null endef $(eval $(call Require,getopt, \ @@ -134,15 +136,11 @@ $(eval $(call RequireCommand,bzip2, \ Please install bzip2. \ )) -$(eval $(call RequireCommand,patch, \ - Please install patch. \ -)) - $(eval $(call RequireCommand,perl, \ Please install perl. \ )) -$(eval $(call RequireCommand,python, \ +$(eval $(call RequireCommand,$(PYTHON), \ Please install python. \ ))