diff options
Diffstat (limited to 'meta-oe/classes')
-rw-r--r-- | meta-oe/classes/dos2unix.bbclass | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/meta-oe/classes/dos2unix.bbclass b/meta-oe/classes/dos2unix.bbclass deleted file mode 100644 index 1bad998dd..000000000 --- a/meta-oe/classes/dos2unix.bbclass +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | # Class for use to convert all CRLF line terminators to LF | ||
2 | # provided that some projects are being developed/maintained | ||
3 | # on Windows so they have different line terminators(CRLF) vs | ||
4 | # on Linux(LF), which can cause annoying patching errors during | ||
5 | # git push/checkout processes. | ||
6 | |||
7 | do_convert_crlf_to_lf[depends] += "dos2unix-native:do_populate_sysroot" | ||
8 | |||
9 | # Convert CRLF line terminators to LF | ||
10 | do_convert_crlf_to_lf () { | ||
11 | find ${S} -type f -exec dos2unix {} \; | ||
12 | } | ||
13 | |||
14 | addtask convert_crlf_to_lf after do_unpack before do_patch | ||