All of lore.kernel.org
 help / color / mirror / Atom feed
* Require versus include
@ 2009-02-22 19:28 Philip Balister
  2009-02-22 19:36 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Balister @ 2009-02-22 19:28 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

Yesterday I did a stupid thing.

I included an .inc file in a recipe when I added a second version of the 
recipe. BUT, I misspelled the inc file name. The recipe would build 
without errors, but nothing was down.

This confused me for a while until I finally realized what an idiot I was.

Should I use require to include files in recipes instead? My 
understanding is include does not produce an error when the file is not 
found and require does.

Philip

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Require versus include
  2009-02-22 19:28 Require versus include Philip Balister
@ 2009-02-22 19:36 ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2009-02-22 19:36 UTC (permalink / raw)
  To: openembedded-devel

On 22-02-09 20:28, Philip Balister wrote:

> Should I use require to include files in recipes instead?

Yes

> My understanding is include does not produce an error when the file is not
> found and require does.

Right

regards,

Koen




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-22 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-22 19:28 Require versus include Philip Balister
2009-02-22 19:36 ` Koen Kooi

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.