X-Git-Url: http://git.tremily.us/?p=genkernel.git;a=blobdiff_plain;f=gen_compile.sh;h=71f5a68d48f10c463a1f0f36b38a3cc3fa074b67;hp=87fd58680c8af4c5e6035e67349e56c533873bd7;hb=7fdf3fc01a127b6c3c3ed4cf9c0611c7c1b69f6c;hpb=457cc95b07fc706f12bdd9adf6b862ce64361448 diff --git a/gen_compile.sh b/gen_compile.sh index 87fd586..71f5a68 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -25,7 +25,7 @@ compile_kernel_args() { then ARGS="${ARGS} ARCH=\"${KERNEL_ARCH}\"" fi - if [ -n "${KERNEL_OUTPUTDIR}" ] + if [ -n "${KERNEL_OUTPUTDIR}" -a "${KERNEL_OUTPUTDIR}" != "${KERNEL_DIR}" ] then ARGS="${ARGS} O=\"${KERNEL_OUTPUTDIR}\"" fi