diff options
Diffstat (limited to 'classes/dtc-145.bbclass')
-rw-r--r-- | classes/dtc-145.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/dtc-145.bbclass b/classes/dtc-145.bbclass new file mode 100644 index 00000000..d4a30711 --- /dev/null +++ b/classes/dtc-145.bbclass | |||
@@ -0,0 +1,7 @@ | |||
1 | # Use this class for U-Boot 2017.03 or older. | ||
2 | |||
3 | DEPENDS_append = " dtc-145-native" | ||
4 | |||
5 | do_configure_prepend () { | ||
6 | sed -i -e 's/^DTC[[:space:]]*=[[:space:]]*dtc[[:space:]]*$/DTC = dtc-145/' ${S}/Makefile | ||
7 | } | ||