aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@funtoo.org>2011-05-21 17:56:43 -0600
committerDaniel Robbins <drobbins@funtoo.org>2011-05-21 17:56:43 -0600
commit9f5dda5fba43efdfa26a86a279233110bd95275c (patch)
tree8f3c7bdf133eff62a8b34761101a7faa12b7f48b
parentmerged gentoo's 3.4.15 (diff)
downloadgenkernel-9f5dda5fba43efdfa26a86a279233110bd95275c.tar.gz
genkernel-9f5dda5fba43efdfa26a86a279233110bd95275c.tar.bz2
genkernel-9f5dda5fba43efdfa26a86a279233110bd95275c.zip
adding missing patch for O= fix due to my detached headv3.4.15-funtoo
-rwxr-xr-xgen_compile.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/gen_compile.sh b/gen_compile.sh
index b522ca2b..ecb95401 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -29,7 +29,10 @@ compile_kernel_args() {
ARGS="${ARGS} INSTALL_FW_PATH=\"${FIRMWARE_DST}\""
fi
# point to the sources we are building:
- ARGS="${ARGS} O=\"${BUILD_DST}\""
+ if [ "$BUILD_SRC" != "$BUILD_DST" ]
+ then
+ ARGS="${ARGS} O=\"${BUILD_DST}\""
+ fi
echo -n "${ARGS}"
}