Re: [PATCH 07/34] kbuild: Allow to override LINUX_COMPILE_BY andLINUX_COMPILE_HOST macros

From: Jack Stone
Date: Tue Apr 05 2011 - 11:52:25 EST


On 05/04/2011 15:58, Michal Marek wrote:
> - echo \#define LINUX_COMPILE_BY \"`whoami`\"
> - echo \#define LINUX_COMPILE_HOST \"`hostname | $UTS_TRUNCATE`\"
> + echo \#define LINUX_COMPILE_BY \"`echo $KBUILD_BUILD_USER | $UTS_TRUNCATE`\"
> + echo \#define LINUX_COMPILE_HOST \"`echo $KBUILD_BUILD_HOST | $UTS_TRUNCATE`\"

Shouldn't these be the variables defined above otherwise we get empty
LINUX_COMPILE_{BY,HOST} in the case the corresponding environment
variable is unset.

Thanks,

Jack
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/