($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: YP docs mailing list <docs@lists.yoctoproject.org>
Subject: why would a ptest makefile patch set "DESTDIR = /usr/share/xmlsec1"?
Date: Fri, 8 Mar 2024 06:46:03 -0500 (EST)	[thread overview]
Message-ID: <ad358f7-d5e-ec36-c7ad-aa3e8c78216c@crashcourse.ca> (raw)


  back story: i'm writing a fairly detailed doc on ptest for
colleagues (which i am willing to share with YP docs after i finish),
and am trying to use examples right out of the OE source, which is why
i'm flagging oddities that are hard to explain.

  in particular, this line:

https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch#n33

i've seen lots of examples of recipe patches to add "install-ptest"
targets to the Makefile, but i'm baffled by the setting of DESTDIR to
that directory just before the target definition -- the default, of
course, being ${D}/${PTEST_PATH}.

  i looked around that recipe to see if maybe that /usr/share dir was
being added to the contents of the ptest package but i don't see that.
is there some weird functionality to that assignment that i'm just
missing?

  that recipe is a nice example of simple ptest, but that one line
kind of stands out as inexplicable.

rday


                 reply	other threads:[~2024-03-08 11:46 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=ad358f7-d5e-ec36-c7ad-aa3e8c78216c@crashcourse.ca \
    --to=rpjday@crashcourse.ca \
    --cc=docs@lists.yoctoproject.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).