All of lore.kernel.org
 help / color / mirror / Atom feed
From: "König, Florian" <FKoenig@moba.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] SYS_CONFIG_NAME resolved with quotation marks
Date: Tue, 25 Sep 2018 07:47:49 +0000	[thread overview]
Message-ID: <VI1PR05MB1485853AB545584310F39151B3160@VI1PR05MB1485.eurprd05.prod.outlook.com> (raw)

Hi,
i try to integrate a new board into u-boot.  I created a configs/myboard_defconfig file with  CONFIG_TARGET_MYBOARD=y inside. Then I extended arch/arm/mach-imx/mx6/Kconfig with the following lines:

config TARGET_MYBOARD
                bool "myboard"

source "board/freescale/myboard/Kconfig"



Then I created board/freescale/myboard/Kconfig with following content:

if TARGET_MYBOARD

config SYS_BOARD
                default "myboard"

config SYS_VENDOR
                default "freescale"

config SYS_CONFIG_NAME
                default "myboard"
endif




When I now try to build it, it fails and returns this line where the SYS_CONFIG_NAME got quotation marks, but e.g. in CONFIG_BOARDDIR the values got no quotation marks?

echo \#define CONFIG_BOARDDIR board/freescale/myboard; echo \#include \<config_defaults.h\>; echo \#include \<config_uncmd_spl.h\>; echo \#include \<configs/"myboard".h\>;



This code Is build by scripst/Makefile.autoconf by line 106-109:

echo \#define CONFIG_BOARDDIR board/$(if $(VENDOR),$(VENDOR)/)$(BOARD);\
                echo \#include \<config_defaults.h\>;                                                  \
                echo \#include \<config_uncmd_spl.h\>;                                                            \
                echo \#include \<configs/$(CONFIG_SYS_CONFIG_NAME).h\>;                 \


SYS_BOARD is accessible with $(BOARD)
SYS_VENDOR is accessible with $(VENDOR)
But SYS_CONFIG_NAME is accessible with $(CONFIG_SYS_CONFIG_NAME) and then returns It with quotation marks.


I look at the other board configurations and don't get it, but what do I wrong ? thx for help.
florian

                 reply	other threads:[~2018-09-25  7:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=VI1PR05MB1485853AB545584310F39151B3160@VI1PR05MB1485.eurprd05.prod.outlook.com \
    --to=fkoenig@moba.de \
    --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.