Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Santos <casantos@datacom.com.br>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] eudev: generate hwdb.bin at system startup
Date: Mon, 29 Oct 2018 12:34:20 -0200 (BRST)	[thread overview]
Message-ID: <2093934924.5380192.1540823660383.JavaMail.zimbra@datacom.com.br> (raw)
In-Reply-To: <CANQCQpaL2yFSbc9o8YpP9Jd2gZ9ybioByL_UwKhgvYRj-HkPjQ@mail.gmail.com>

> From: "Matthew Weber" <matthew.weber@rockwellcollins.com>
> To: "DATACOM" <casantos@datacom.com.br>
> Cc: "buildroot" <buildroot@buildroot.org>, "Bernd Kuhls" <bernd.kuhls@t-online.de>, "Eric Le Bihan"
> <eric.le.bihan.dev@free.fr>, "Yann Morin" <yann.morin.1998@free.fr>, "Carlos Santos" <casantos@datacom.ind.br>
> Sent: Monday, October 29, 2018 11:11:17 AM
> Subject: Re: [PATCH v3] eudev: generate hwdb.bin at system startup

> Carlos,
> 
> On Tue, Oct 16, 2018 at 12:02 PM Carlos Santos <casantos@datacom.com.br> wrote:
>>
>> From: Carlos Santos <casantos@datacom.ind.br>
[...]
>>  ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB),y)
>>  EUDEV_CONF_OPTS += --enable-hwdb
>> +define EUDEV_POST_PATCH
>> +       $(SED)
>> 's,$${udevconfdir}/hwdb.bin,$${udevhwdbbinpath:-$${udevconfdir}/hwdb.bin},' \
>> +               $(@D)/configure
>> +endef
>> +EUDEV_POST_PATCH_HOOKS += EUDEV_POST_PATCH
>> +EUDEV_CONF_ENV += udevhwdbbinpath=$(BR2_PACKAGE_EUDEV_HWDB_BIN_PATH)
> 
> I believe BR2_PACKAGE_EUDEV_HWDB_BIN_PATH needs a qstrip?

Not really, since the quotes are properly handled and may even be even
required in the unlikely situation of BR2_PACKAGE_EUDEV_HWDB_BIN_PATH
containing white spaces.

-- 
Carlos Santos (Casantos) - DATACOM, P&D
?Marched towards the enemy, spear upright, armed with the certainty
that only the ignorant can have.? ? Epitaph of a volunteer

  reply	other threads:[~2018-10-29 14:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-16 17:01 [Buildroot] [PATCH v3] eudev: generate hwdb.bin at system startup Carlos Santos
2018-10-29 14:11 ` Matthew Weber
2018-10-29 14:34   ` Carlos Santos [this message]
2018-10-29 14:43     ` Matthew Weber

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=2093934924.5380192.1540823660383.JavaMail.zimbra@datacom.com.br \
    --to=casantos@datacom.com.br \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox