mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-05 17:37:43 +00:00
package/Makefile.autotools.in: Add $(PKG)_AUTORECONF_OPT variable.
Allow options to be passed to the autoreconf script if necessary. Signed-off-by: Will Newton <will.newton@gmail.com>
This commit is contained in:
parent
b7f689ae2d
commit
bf5e693d75
@ -30,6 +30,8 @@
|
|||||||
# list of (package) targets that must be built before foo
|
# list of (package) targets that must be built before foo
|
||||||
# FOO_AUTORECONF [YES/NO, default NO]
|
# FOO_AUTORECONF [YES/NO, default NO]
|
||||||
# run <autoreconf> before <configure>
|
# run <autoreconf> before <configure>
|
||||||
|
# FOO_AUTORECONF_OPT [default empty]
|
||||||
|
# arguments passed to the <autoreconf> script
|
||||||
# FOO_LIBTOOL_PATCH [YES/NO, default YES]
|
# FOO_LIBTOOL_PATCH [YES/NO, default YES]
|
||||||
# Do you want the standard buildroot patch applied to ltmain.sh? (libtool)
|
# Do you want the standard buildroot patch applied to ltmain.sh? (libtool)
|
||||||
# FOO_USE_CONFIG_CACHE [YES/NO default $(BR2_CONFIG_CACHE)]
|
# FOO_USE_CONFIG_CACHE [YES/NO default $(BR2_CONFIG_CACHE)]
|
||||||
@ -225,7 +227,7 @@ endif
|
|||||||
# Running autoreconf
|
# Running autoreconf
|
||||||
$(BUILD_DIR)/%/.stamp_autoconfigured:
|
$(BUILD_DIR)/%/.stamp_autoconfigured:
|
||||||
$(call MESSAGE,"Running autoreconf")
|
$(call MESSAGE,"Running autoreconf")
|
||||||
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
|
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF) $($(PKG)_AUTORECONF_OPT)
|
||||||
# if the package uses libtool, patch it for cross-compiling in buildroot
|
# if the package uses libtool, patch it for cross-compiling in buildroot
|
||||||
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \
|
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \
|
||||||
for i in `find $(@D)/$($(PKG)_SUBDIR) -name ltmain.sh`; do \
|
for i in `find $(@D)/$($(PKG)_SUBDIR) -name ltmain.sh`; do \
|
||||||
@ -329,6 +331,7 @@ $(2)_SITE ?= \
|
|||||||
http://$$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/$(1)
|
http://$$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/$(1)
|
||||||
$(2)_DEPENDENCIES ?=
|
$(2)_DEPENDENCIES ?=
|
||||||
$(2)_AUTORECONF ?= NO
|
$(2)_AUTORECONF ?= NO
|
||||||
|
$(2)_AUTORECONF_OPT ?=
|
||||||
$(2)_LIBTOOL_PATCH ?= YES
|
$(2)_LIBTOOL_PATCH ?= YES
|
||||||
$(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO)
|
$(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO)
|
||||||
$(2)_CONF_ENV ?=
|
$(2)_CONF_ENV ?=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user