Diffstat (limited to 'Makefile.legacy')
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.legacy b/Makefile.legacy
new file mode 100644
@@ -0,0 +1,13 @@
+# 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).
+$(error "You have legacy configuration in your .config! Please check your configuration.")