diff options
-rw-r--r-- | meta/classes/go.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index 21ac2276c5..afd68b5951 100644 --- a/meta/classes/go.bbclass +++ b/meta/classes/go.bbclass | |||
@@ -114,7 +114,7 @@ do_compile_ptest_base[dirs] =+ "${GOTMPDIR}" | |||
114 | 114 | ||
115 | go_do_install() { | 115 | go_do_install() { |
116 | install -d ${D}${libdir}/go/src/${GO_IMPORT} | 116 | install -d ${D}${libdir}/go/src/${GO_IMPORT} |
117 | tar -C ${S}/src/${GO_IMPORT} -cf - --exclude-vcs --exclude '*.test' . | \ | 117 | tar -C ${S}/src/${GO_IMPORT} -cf - --exclude-vcs --exclude '*.test' --exclude 'testdata' . | \ |
118 | tar -C ${D}${libdir}/go/src/${GO_IMPORT} --no-same-owner -xf - | 118 | tar -C ${D}${libdir}/go/src/${GO_IMPORT} --no-same-owner -xf - |
119 | tar -C ${B} -cf - pkg | tar -C ${D}${libdir}/go --no-same-owner -xf - | 119 | tar -C ${B} -cf - pkg | tar -C ${D}${libdir}/go --no-same-owner -xf - |
120 | 120 | ||