Skip to content

Commit

Permalink
legacy: move old GENTARGETS macros to Makefile.legacy
Browse files Browse the repository at this point in the history
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  • Loading branch information
arnout authored and jacmet committed Nov 30, 2012
1 parent ebcfa98 commit cc1cd3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 7 additions & 0 deletions Makefile.legacy
Expand Up @@ -11,3 +11,10 @@
ifeq ($(BR2_LEGACY),y) ifeq ($(BR2_LEGACY),y)
$(error "You have legacy configuration in your .config! Please check your configuration.") $(error "You have legacy configuration in your .config! Please check your configuration.")
endif endif

#
# Legacy options from 2012.05
#
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)))
6 changes: 0 additions & 6 deletions package/Makefile.in
Expand Up @@ -305,12 +305,6 @@ 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
Expand Down

0 comments on commit cc1cd3b

Please sign in to comment.