summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-05-31 10:53:42 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-06-04 21:09:59 +0200
commitc98e2ba9594cd07257fa6dc648b3ab8e5b4df1cb (patch)
treea78a6bc7c9a5d361e182a08c8c0fd87920515d41 /config
parentf5aee262159f9b4b1eb3f8f9bf4f457afaab30be (diff)
downloadptxdist-c98e2ba9594cd07257fa6dc648b3ab8e5b4df1cb.tar.gz
ptxdist-c98e2ba9594cd07257fa6dc648b3ab8e5b4df1cb.tar.xz
detect patch changes and reextract when needed
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'config')
-rw-r--r--config/setup/Kconfig11
-rw-r--r--config/setup/ptxdistrc.default3
2 files changed, 13 insertions, 1 deletions
diff --git a/config/setup/Kconfig b/config/setup/Kconfig
index 31dc6c8c3..67fb2d365 100644
--- a/config/setup/Kconfig
+++ b/config/setup/Kconfig
@@ -348,6 +348,17 @@ config SETUP_DIRECT_CLEAN
help
I'm a developer. I know what I'm doing. Just clean the BSP.
+config SETUP_AUTO_EXTRACT
+ bool "automatically reextract non-git sources"
+ help
+ By default ptxdist will refuse to delete the existing package
+ source tree if the extract stage is triggered again due to
+ dependencies (e.g. new patches). This happens to ensure that
+ local changes are not accidentally lost.
+ If this option is enabled, then the sources are automatically
+ deleted unless they contain a .git directory. This is useful if
+ local modifications are only done in combination with --git.
+
config SETUP_HOST_CPP
prompt "host CPP"
string
diff --git a/config/setup/ptxdistrc.default b/config/setup/ptxdistrc.default
index b4ed5a64e..81b10c0f2 100644
--- a/config/setup/ptxdistrc.default
+++ b/config/setup/ptxdistrc.default
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# PTXdist 2019.03.0
+# PTXdist 2019.06.0
#
#
@@ -66,6 +66,7 @@ PTXCONF_SETUP_ENV_WHITELIST=""
# PTXCONF_SETUP_PATCHIN_GIT is not set
# PTXCONF_SETUP_NFS_REL_SYMLINK is not set
# PTXCONF_SETUP_DIRECT_CLEAN is not set
+# PTXCONF_SETUP_AUTO_EXTRACT is not set
PTXCONF_SETUP_HOST_CPP="cpp"
PTXCONF_SETUP_HOST_CC="gcc"
PTXCONF_SETUP_HOST_CXX="g++"