check if xz is installed on the host
[openadk.git] / target / linux / patches / 5.4.275 / dtc-noyaml.patch
blob759bb01f738b6060f1002bfc8b856bf7246bfa16
1 diff -Nur linux-5.4.53.orig/scripts/dtc/dtc.c linux-5.4.53/scripts/dtc/dtc.c
2 --- linux-5.4.53.orig/scripts/dtc/dtc.c 2020-07-22 09:33:18.000000000 +0200
3 +++ linux-5.4.53/scripts/dtc/dtc.c 2020-07-28 14:20:10.000000000 +0200
4 @@ -349,12 +349,6 @@
6 if (streq(outform, "dts")) {
7 dt_to_source(outf, dti);
8 -#ifndef NO_YAML
9 - } else if (streq(outform, "yaml")) {
10 - if (!streq(inform, "dts"))
11 - die("YAML output format requires dts input format\n");
12 - dt_to_yaml(outf, dti);
13 -#endif
14 } else if (streq(outform, "dtb")) {
15 dt_to_blob(outf, dti, outversion);
16 } else if (streq(outform, "asm")) {