mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
compiler: Add a comment to host_build()
This function should have a comment explaining what it does. Add one. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
67bc59df05
commit
c45b7920db
1 changed files with 5 additions and 0 deletions
|
@ -151,6 +151,11 @@ typedef unsigned long int uintptr_t;
|
||||||
#define MEM_SUPPORT_64BIT_DATA 0
|
#define MEM_SUPPORT_64BIT_DATA 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* host_build() - check if we are building for the host
|
||||||
|
*
|
||||||
|
* @return true if building for the host, false if for a target
|
||||||
|
*/
|
||||||
static inline bool host_build(void) {
|
static inline bool host_build(void) {
|
||||||
#ifdef USE_HOSTCC
|
#ifdef USE_HOSTCC
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue