mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
go: Remove three unnecessary paths from do_compile[dirs]
There is no reason to include a path in foo[dirs] if it is also in foo[cleandirs] (except if it is the last path in foo[dirs]). (From OE-Core rev: 9f610748f760b2d58d5250b55ae4b268909f33ef) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d081a76063
commit
c41e58279a
@@ -27,7 +27,6 @@ do_compile() {
|
||||
./make.bash --host-only --no-banner
|
||||
cd ${B}
|
||||
}
|
||||
do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ do_compile() {
|
||||
./make.bash --host-only --no-banner
|
||||
cd ${B}
|
||||
}
|
||||
do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
|
||||
make_wrapper() {
|
||||
|
||||
@@ -13,7 +13,6 @@ do_compile() {
|
||||
./make.bash --host-only --no-banner
|
||||
cd ${B}
|
||||
}
|
||||
do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
|
||||
make_wrapper() {
|
||||
|
||||
@@ -27,7 +27,6 @@ do_compile() {
|
||||
./make.bash ${GOMAKEARGS}
|
||||
cd ${B}
|
||||
}
|
||||
do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin"
|
||||
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin"
|
||||
|
||||
make_wrapper() {
|
||||
|
||||
@@ -38,7 +38,6 @@ do_compile() {
|
||||
fi
|
||||
cd ${B}
|
||||
}
|
||||
do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -29,7 +29,6 @@ do_compile() {
|
||||
./make.bash --target-only --no-banner
|
||||
cd ${B}
|
||||
}
|
||||
do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
|
||||
|
||||
do_install() {
|
||||
|
||||
Reference in New Issue
Block a user