mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
pkg-infra: warn about use of deprecated GENTARGETS
With the replacement of GENTARGETS by package-generic, there is a risk that local packages don't work anymore without any indication of what is wrong. Therefore, generate an error message if the GENTARGETS, AUTOTARGETS or CMAKETARGETS macro is still used. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
dd00c5fcd0
commit
5e0d702b7c
@ -300,6 +300,12 @@ else
|
|||||||
SHARED_STATIC_LIBS_OPTS=--enable-static --enable-shared
|
SHARED_STATIC_LIBS_OPTS=--enable-static --enable-shared
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Warn if a package uses the deprecated GENTARGETS macros. This can be
|
||||||
|
# removed again for BR-2012.11.
|
||||||
|
GENTARGETS = $$(error The GENTARGETS macro no longer exists; use $$$$(eval $$$$(generic-package)) or $$$$(eval $$$$(host-generic-package)))
|
||||||
|
AUTOTARGETS = $$(error The AUTOTARGETS macro no longer exists; use $$$$(eval $$$$(autotools-package)) or $$$$(eval $$$$(host-autotools-package)))
|
||||||
|
CMAKETARGETS = $$(error The CMAKETARGETS macro no longer exists; use $$$$(eval $$$$(cmake-package)) or $$$$(eval $$$$(host-cmake-package)))
|
||||||
|
|
||||||
include package/pkg-utils.mk
|
include package/pkg-utils.mk
|
||||||
include package/pkg-download.mk
|
include package/pkg-download.mk
|
||||||
include package/pkg-autotools.mk
|
include package/pkg-autotools.mk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user