X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=include%2Fprereq-build.mk;h=b7ada69bb418ba51c3cedbc05f277a5fffb637c5;hp=c7d59f12029152fa2887e2374949c378ef918de7;hb=308a3aa8affe60673e31727fa2c162dcc57e5af3;hpb=036f79f8ded930bcdab359dfda6772f68d850f6d diff --git a/include/prereq-build.mk b/include/prereq-build.mk index c7d59f1202..b7ada69bb4 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. \ )) @@ -170,6 +168,10 @@ $(eval $(call RequireCommand,svn, \ Please install the subversion client. \ )) +$(eval $(call RequireCommand,openssl, \ + Please install openssl. \ +)) + define Require/gnu-find $(FIND) --version 2>/dev/null endef