In dac31c4 U_BOOT_SERIES was removed with the explanation it would not
be used in ptxdist anymore. This is not true. In
./scripts/lib/ptxd_make_world_patchin.sh and
./rules/post/ptxd_make_world_patchin.make there's a mechanism which
automatically uses an option PACKAGENAME_SERIES if present. This can
be used to have different series file in one patches directory for a
given package. Removing U_BOOT_SERIES broke our BSP using this
mechanism.

Signed-off-by: Alexander Dahl <p...@lespocky.de>
---
 platforms/at91bootstrap.in |    9 +++++++++
 platforms/u-boot.in        |    9 +++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/platforms/at91bootstrap.in b/platforms/at91bootstrap.in
index da54849..c7ce1d3 100644
--- a/platforms/at91bootstrap.in
+++ b/platforms/at91bootstrap.in
@@ -44,6 +44,15 @@ config AT91BOOTSTRAP_MD5
        prompt "AT91 Bootstrap source md5sum"
        string
 
+config AT91BOOTSTRAP_SERIES
+       prompt "patch series file"
+       string
+       default "series"
+       help
+         This entry specifies a patch series file which has to live in
+         the u-boot patches directory. This way you can set a different
+         series file than the default.
+
 config AT91BOOTSTRAP_CONFIG
        string
        prompt "AT91 Bootstrap config target"
diff --git a/platforms/u-boot.in b/platforms/u-boot.in
index 244bee3..d318923 100644
--- a/platforms/u-boot.in
+++ b/platforms/u-boot.in
@@ -18,6 +18,15 @@ config U_BOOT_MD5
        string
        prompt "U-Boot source md5"
 
+config U_BOOT_SERIES
+       prompt "patch series file"
+       string
+       default "series"
+       help
+         This entry specifies a patch series file which has to live in
+         the u-boot patches directory. This way you can set a different
+         series file than the default.
+
 config U_BOOT_CONFIG
        string
        prompt "U-Boot config target"
-- 
1.7.2.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to