mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package: derive HOST_FOO_DEPENDENCIES from FOO_DEPENDENCIES
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
fcc7cd3c7b
commit
bbc53fa844
@ -200,6 +200,16 @@ define AUTORECONF_HOOK
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# This must be repeated from GENTARGETS_INNER, otherwise we get an empty
|
||||||
|
# _DEPENDENCIES if _AUTORECONF is YES. Also filter the result of _AUTORECONF
|
||||||
|
# away from the non-host rule
|
||||||
|
ifndef $(2)_DEPENDENCIES
|
||||||
|
ifdef $(3)_DEPENDENCIES
|
||||||
|
$(2)_DEPENDENCIES = $(filter-out host-automake host-autoconf host-libtool,\
|
||||||
|
$(patsubst host-host-%,host-%,$(addprefix host-,$($(3)_DEPENDENCIES))))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($$($(2)_AUTORECONF),YES)
|
ifeq ($$($(2)_AUTORECONF),YES)
|
||||||
$(2)_PRE_CONFIGURE_HOOKS += AUTORECONF_HOOK
|
$(2)_PRE_CONFIGURE_HOOKS += AUTORECONF_HOOK
|
||||||
$(2)_DEPENDENCIES += host-automake host-autoconf host-libtool
|
$(2)_DEPENDENCIES += host-automake host-autoconf host-libtool
|
||||||
|
@ -542,7 +542,12 @@ $(2)_OVERRIDE_SRCDIR = $($(2)_SITE)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(2)_DEPENDENCIES ?=
|
ifndef $(2)_DEPENDENCIES
|
||||||
|
ifdef $(3)_DEPENDENCIES
|
||||||
|
$(2)_DEPENDENCIES = $(patsubst host-host-%,host-%,$(addprefix host-,$($(3)_DEPENDENCIES)))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
$(2)_INSTALL_STAGING ?= NO
|
$(2)_INSTALL_STAGING ?= NO
|
||||||
$(2)_INSTALL_IMAGES ?= NO
|
$(2)_INSTALL_IMAGES ?= NO
|
||||||
$(2)_INSTALL_TARGET ?= YES
|
$(2)_INSTALL_TARGET ?= YES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user