mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
As discussed in the BR developer days, we want to be more strict about API changes in buildroot. I.e., we want to make it less likely that a user's customizations break down after upgrading buildroot. A first step is to make sure that the user is warned about API changes. This patch introduces Makefile.legacy and Config.in.legacy, which will issue clear error messages for such situations. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 lines
532 B
Makefile
14 lines
532 B
Makefile
#
|
|
# Makefile.legacy - support for backward compatibility
|
|
#
|
|
# This file contains placeholders to detect backward-compatibility problems.
|
|
# When a buildroot "API" feature is being deprecated, a rule should be added
|
|
# here that issues an error when the old feature is used.
|
|
#
|
|
# This file is not included if BR2_DEPRECATED is selected, so it is possible
|
|
# to bypass the errors (although that's usually a bad idea).
|
|
|
|
ifeq ($(BR2_LEGACY),y)
|
|
$(error "You have legacy configuration in your .config! Please check your configuration.")
|
|
endif
|