Skip to contentSkip to conversation

PROVIDES problem building u-boot variants

DISCUSSION [email protected] 2 participants 3 messages Jan 15, 2018 – Jan 16, 2018

lore
Share & tools
lore
#0 lore raw

Let's see if I can explain this well...

I created a recipe to build a u-boot variant (for prod'n programming) - "u-boot-PLATFORM-mfg-sec.bb" - which has :

require u-boot-PLATFORM.inc
UBOOT_MACHINE = "tx6s-8035_mfg_sec_config"
SRC_URI += "file://tx6s-8035_mfg_sec_defconfig"

And 'bitbake u-boot-PLATFORM-mfg-sec' works ok with this.

Now I want to split this out into two different variants, for different cpu's.

So I begin by renaming the recipe to "u-boot-PLATFORM_tx6s-mfg-sec.bb", But 'bitbake u-boot-PLATFORM_tx6s-mfg-sec' throws:
"Nothing PROVIDES 'u-boot- PLATFORM_tx6s-mfg-sec'"

Can't spot why this simple renaming is breaking things...?

#1 lore raw
Quoted 11 lines · On Mon, Jan 15, 2018 at 7:12 AM, <[email protected]> wrote:

Let's see if I can explain this well...

I created a recipe to build a u-boot variant (for prod'n programming) - "u-boot-PLATFORM-mfg-sec.bb" - which has :

require u-boot-PLATFORM.inc
UBOOT_MACHINE = "tx6s-8035_mfg_sec_config"
SRC_URI += "file://tx6s-8035_mfg_sec_defconfig"

And 'bitbake u-boot-PLATFORM-mfg-sec' works ok with this.

Quoted 8 lines

Now I want to split this out into two different variants, for different cpu's.

So I begin by renaming the recipe to "u-boot-PLATFORM_tx6s-mfg-sec.bb", But 'bitbake u-boot-PLATFORM_tx6s-mfg-sec' throws:
"Nothing PROVIDES 'u-boot- PLATFORM_tx6s-mfg-sec'"

Can't spot why this simple renaming is breaking things...?

You tried to use an underscore in the recipe name.

u-boot-PLATFORM_tx6s-mfg-sec.bb will be treated as version "tx6s-mfg-sec" of the "u-boot-PLATFORM" recipe.

#2 lore raw
Quoted 23 lines · On 15 January 2018 at 20:01 Andre McCurdy wrote:
Quoted 18 lines · On Mon, Jan 15, 2018 at 7:12 AM, wrote:

Let's see if I can explain this well...

I created a recipe to build a u-boot variant (for prod'n programming) - "u-boot-PLATFORM-mfg-sec.bb" - which has :

require u-boot-PLATFORM.inc
UBOOT_MACHINE = "tx6s-8035_mfg_sec_config"
SRC_URI += "file://tx6s-8035_mfg_sec_defconfig"

And 'bitbake u-boot-PLATFORM-mfg-sec' works ok with this.

Now I want to split this out into two different variants, for different cpu's.

So I begin by renaming the recipe to "u-boot-PLATFORM_tx6s-mfg-sec.bb", But 'bitbake u-boot-PLATFORM_tx6s-mfg-sec' throws:
"Nothing PROVIDES 'u-boot- PLATFORM_tx6s-mfg-sec'"

Quoted 6 lines
Quoted 1 line

Can't spot why this simple renaming is breaking things...?

You tried to use an underscore in the recipe name.

u-boot-PLATFORM_tx6s-mfg-sec.bb will be treated as version "tx6s-mfg-sec" of the "u-boot-PLATFORM" recipe.

Ah, of course. Thanks.