summaryrefslogtreecommitdiffstats
path: root/rules/post/ptxd_make_world_patchin.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/post/ptxd_make_world_patchin.make')
-rw-r--r--rules/post/ptxd_make_world_patchin.make21
1 files changed, 21 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_world_patchin.make b/rules/post/ptxd_make_world_patchin.make
new file mode 100644
index 000000000..48c72a16b
--- /dev/null
+++ b/rules/post/ptxd_make_world_patchin.make
@@ -0,0 +1,21 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2010 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+world/patchin = \
+ $(call world/env, $(1)) \
+ pkg_patch_series="$(call ptx/escape,$(call remove_quotes, $(PTXCONF_$(strip $(1))_SERIES)))" \
+ ptxd_make_world_patchin
+
+patchin = \
+ pkg_deprecated_patchin_dir="$(call ptx/escape,$(2))" \
+ pkg_deprecated_patchin_series="$(call ptx/escape,$(3))" \
+ $(call world/patchin, $(1))
+
+# vim: syntax=make