]>
Commit | Line | Data |
---|---|---|
ebcfa987 AVEM |
1 | # |
2 | # Makefile.legacy - support for backward compatibility | |
3 | # | |
4 | # This file contains placeholders to detect backward-compatibility problems. | |
5 | # When a buildroot "API" feature is being deprecated, a rule should be added | |
6 | # here that issues an error when the old feature is used. | |
7 | # | |
8 | # This file is not included if BR2_DEPRECATED is selected, so it is possible | |
9 | # to bypass the errors (although that's usually a bad idea). | |
10 | ||
11 | ifeq ($(BR2_LEGACY),y) | |
12 | $(error "You have legacy configuration in your .config! Please check your configuration.") | |
13 | endif | |
cc1cd3b2 | 14 | |
be2460c5 AVEM |
15 | # |
16 | # Legacy options from 2012.08 | |
17 | # | |
18 | ||
19 | host-pkg-config: | |
20 | @$(call MESSAGE,host-pkg-config is replaced by host-pkgconf) | |
21 | @$(call MESSAGE,please update your .mk files) | |
22 | @false | |
23 | .PHONY: host-pkg-config | |
24 | ||
cc1cd3b2 AVEM |
25 | # |
26 | # Legacy options from 2012.05 | |
27 | # | |
28 | GENTARGETS = $$(error The GENTARGETS macro no longer exists; use $$$$(eval $$$$(generic-package)) or $$$$(eval $$$$(host-generic-package))) | |
29 | AUTOTARGETS = $$(error The AUTOTARGETS macro no longer exists; use $$$$(eval $$$$(autotools-package)) or $$$$(eval $$$$(host-autotools-package))) | |
30 | CMAKETARGETS = $$(error The CMAKETARGETS macro no longer exists; use $$$$(eval $$$$(cmake-package)) or $$$$(eval $$$$(host-cmake-package))) |