summaryrefslogtreecommitdiffstats
path: root/rules/post/barebox-common.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/post/barebox-common.make')
-rw-r--r--rules/post/barebox-common.make13
1 files changed, 13 insertions, 0 deletions
diff --git a/rules/post/barebox-common.make b/rules/post/barebox-common.make
new file mode 100644
index 0000000..d78e0f1
--- /dev/null
+++ b/rules/post/barebox-common.make
@@ -0,0 +1,13 @@
+# ----------------------------------------------------------------------------
+# oldconfig
+# ----------------------------------------------------------------------------
+
+ifneq ($(filter barebox-common_oldconfig,$(MAKECMDGOALS)),)
+$(eval $(addsuffix _oldconfig,$(filter-out barebox-common, \
+ $(filter barebox-%, $(PTX_PACKAGES_SELECTED)))): barebox-common_oldconfig_$(ptx/nl))
+endif
+
+barebox-common_oldconfig: \
+ $(addsuffix _oldconfig,$(filter-out barebox-common, \
+ $(filter barebox-%, $(PTX_PACKAGES_SELECTED))))
+# vim: syntax=make