All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 02/17] Add an empty stdint.h file
Date: Sat, 18 May 2019 11:59:39 -0600	[thread overview]
Message-ID: <20190518175954.262021-3-sjg@chromium.org> (raw)
In-Reply-To: <20190518175954.262021-1-sjg@chromium.org>

Some libraries build by U-Boot may include stdint.h. This is not used by
U-Boot itself and causes conflicts with the types defined in
linux/types.h. To work around this, add an empty file with this name so
that it will be used in preference to the compiler version.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/stdint.h | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 include/stdint.h

diff --git a/include/stdint.h b/include/stdint.h
new file mode 100644
index 00000000000..2e126d14bd9
--- /dev/null
+++ b/include/stdint.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Dummy file to allow libraries linked with U-Boot to include stdint.h without
+ * getting the system version.
+ *
+ * U-Boot uses linux types (linux/types.h) so does not make use of stdint.h
+ */
-- 
2.21.0.1020.gf2820cf01a-goog

  parent reply	other threads:[~2019-05-18 17:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-18 17:59 [U-Boot] [PATCH 00/17] sandbox: Various bug fixes Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 01/17] spl: misc: Allow misc drivers in SPL and TPL Simon Glass
2019-05-18 17:59 ` Simon Glass [this message]
2019-05-22 13:21   ` [U-Boot] [PATCH 02/17] Add an empty stdint.h file Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 03/17] sandbox: Sync up sandbox64.dts with main DT Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 04/17] sandbox: Create a common sandbox DT Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 05/17] sandbox: Add an alias for SPI Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 06/17] sandbox: Exit when SYSRESET_POWER_OFF is requested Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 07/17] sandbox: Quit when hang() is called Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 08/17] sandbox: spl: Lower priority of standard loader Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 09/17] sandbox: Add a comment to board_init_f() Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 10/17] sandbox: Allo sdl-config to be overridden Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 11/17] sandbox: Add a memory {} node Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 12/17] sandbox: Correct spi flash operation Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 13/17] sandbox: Add documentation on how to run valgrind Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 14/17] x86: Add a forward struct declaration in coreboot_tables.h Simon Glass
2019-05-19  7:39   ` Bin Meng
2019-05-18 17:59 ` [U-Boot] [PATCH 15/17] bootstage: Add support for TPL record count Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 16/17] blk: Allow control of the block cache in TPL Simon Glass
2019-05-18 17:59 ` [U-Boot] [PATCH 17/17] spi: Avoid using malloc() in a critical function Simon Glass
2019-05-19 17:04   ` Urja Rannikko
2019-05-20 16:09     ` Simon Glass
2019-05-20 16:35       ` Urja Rannikko
2019-05-20 20:51         ` Simon Glass
2019-06-28 13:54 ` [U-Boot] [PATCH 00/17] sandbox: Various bug fixes Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190518175954.262021-3-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.