From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Tue, 29 Nov 2011 10:08:10 +0100 Subject: [U-Boot] [PATCH v3] tools/env: add posibility to inject configuration In-Reply-To: <1318925015-6784-1-git-send-email-biessmann@corscience.de> References: <1314804368-25687-1-git-send-email-biessmann@corscience.de> <1318925015-6784-1-git-send-email-biessmann@corscience.de> Message-ID: <4ED4A0FA.6000006@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ping? Am 18.10.2011 10:03, schrieb Andreas Bie?mann: > If one wants to use fw_printenv/fw_setenv in special variants (eg compiled in > MTD parameters without configuration file) he needs to change the sources. > This patch add the posibillity to change the behaviour of fw_printenv by > defining a specific configuration header at compile time. > > Signed-off-by: Andreas Bie?mann > --- > total: 0 errors, 0 warnings, 134 lines checked > > 0001-tools-env-add-posibility-to-inject-configuration.patch has no obvious style problems and is ready for submission. > > changes since v1: > - use ?= style in Makefile as suggested by Mike > - remove c++ style comments in header > > changes since v2: > - place copied/generated fw_env_config.h in include/generated > - adopt tools/env/Makefile to new placement of fw_env_config.h > > tools/env/Makefile | 15 +++++++-- > tools/env/fw_env.h | 28 +++--------------- > tools/env/fw_env_config.h.in | 65 ++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 81 insertions(+), 27 deletions(-) > create mode 100644 tools/env/fw_env_config.h.in