summaryrefslogtreecommitdiffstats
path: root/scripts/migrate
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-07-09 17:25:41 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-07-16 21:24:43 +0200
commitf50cd1449e9347309b1050b0b738882dac1954e9 (patch)
treeb175944d7ca8a9d7cd411adc2021728afdfeea4d /scripts/migrate
parent23c16ce0af08610ddf99a5450627590d575ed775 (diff)
downloadptxdist-f50cd1449e9347309b1050b0b738882dac1954e9.tar.gz
ptxdist-f50cd1449e9347309b1050b0b738882dac1954e9.tar.xz
rework device-tree handling
It's not really possible to build a dtb by itself. A lot of included dtsi and header files are needed. So build the device-trees with the package that provides these files. Currently that's the kernel package. This also means, that other kernel packages can have their own device-trees as well. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/migrate')
-rwxr-xr-xscripts/migrate/migrate_platform10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/migrate/migrate_platform b/scripts/migrate/migrate_platform
index 6790975d3..e9b4854d5 100755
--- a/scripts/migrate/migrate_platform
+++ b/scripts/migrate/migrate_platform
@@ -41,3 +41,13 @@ s/^\(\(# \)\?PTXCONF\)_IMAGE_IPKG_EXTRA_ARGS\(.*$\)/\1_IMAGE_XPKG_EXTRA_ARGS\3/
# reason : tf-a can be built for multiple platforms now
#
s/^\(\(# \)\?PTXCONF_TF_A_PLATFORM\>\)\(.*$\)/\1S\3/
+
+#
+# from : ptxdist-2020.07.0
+# to : ptxdist-2020.08.0
+# symbol : PTXCONF_DTC -> PTXCONF_KERNEL_DTB
+# symbol : PTXCONF_DTC_OFTREE_DTS{,_PATH} -> PTXCONF_KERNEL__DTS{,_PATH}
+# reason : dtc package removed. Devicetrees are built and installed with the kernel
+#
+s/^\(\(# \)\?PTXCONF\)_DTC\>\(.*$\)/\1_KERNEL_DTB\3/
+s/^\(\(# \)\?PTXCONF\)_DTC_OFTREE\(_DTS\(\|_PATH\)\)\(.*$\)/\1_KERNEL\3\5/