From: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/linux-tools: add support for pcitest tool
Date: Tue, 13 Nov 2018 01:59:09 +0000 [thread overview]
Message-ID: <0a4fedba-eecd-eefc-c1cf-2c401cc8df18@synopsys.com> (raw)
In-Reply-To: <49e881db-abf6-4cd4-c149-b6a1ac8449dd@mind.be>
On 09/11/2018 21:39, Arnout Vandecappelle wrote:
>
>
> On 09/11/2018 22:14, Thomas Petazzoni wrote:
>> Hello Gustavo,
>>
>> Thanks for this contribution, however, I have a question below.
>>
>> On Thu, 8 Nov 2018 19:22:30 +0100, Gustavo Pimentel wrote:
>>
>>> +define PCI_BUILD_CMDS
>>> + $(Q)if ! grep install $(LINUX_DIR)/tools/pci/Makefile >/dev/null 2>&1 ; then \
>>> + echo "Your kernel version is too old and does not have install section in the pci tools." ; \
>>> + echo "At least kernel 4.7 must be used." ; \
>>
>> I tried building with 4.18, but still ran into this error. Indeed, it's
>> only in 4.19 that your patch
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.kernel.org_pub_scm_linux_kernel_git_torvalds_linux.git_commit_tools_pci-3Fid-3D1ce78ce09430a5ffb987015ab2e24d145690b9a3&d=DwICaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=bkWxpLoW-f-E3EdiDCCa0_h0PicsViasSlvIpzZvPxs&m=42FtAgE43Y-ecR9vgGhkkdOiiFMdSJR9VC4_qQjO2uA&s=0c1L3G6rzwM1VCMyKHTixgwJlepqW9_c3sEIS6V2Qpg&e=
>> was added, which adds the Makefile.
>>
>> So, either you fallback to building pcitest.c manually if there is no
>> Makefile, or the error message should be updated to say "At least
>> kernel 4.19 must be used".
>
> Also, your patch mentions 3 different kernel versions: in the commit log it's
> 4.20, in the help text it's not mentioned (it should be), in the error message
> it's 4.7, and in the comment about DESTDIR it's 4.14.
Ok, I will fix it, should all be 4.20
>
> But if it's only available in 4.19+, that thing about DESTDIR is irrelevant,
> no? So it should always be DESTDIR, never INSTALL_ROOT?
It was a copy & paste from linux-tool-iio.mk.in I will fixed it.
Thanks.
>
> Regards,
> Arnout
>
next prev parent reply other threads:[~2018-11-13 1:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-08 18:22 [Buildroot] [PATCH] package/linux-tools: add support for pcitest tool Gustavo Pimentel
2018-11-09 21:14 ` Thomas Petazzoni
2018-11-09 21:39 ` Arnout Vandecappelle
2018-11-13 1:59 ` Gustavo Pimentel [this message]
2018-11-13 1:18 ` Gustavo Pimentel
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=0a4fedba-eecd-eefc-c1cf-2c401cc8df18@synopsys.com \
--to=gustavo.pimentel@synopsys.com \
--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