diff mbox series

[meta-ti,scarthgap/master,2/3] ti-linux-fw: Set INHIBIT_DEFAULT_DEPS

Message ID 20250501142623.351217-2-afd@ti.com
State New
Headers show
Series [meta-ti,scarthgap/master,1/3] ti-eth-fw: Only include information for supported machines | expand

Commit Message

Andrew Davis May 1, 2025, 2:26 p.m. UTC
Firmware here are not built, no need for C compiler nor std libs.
Add INHIBIT_DEFAULT_DEPS=1 and remove the same from all recipes
that include this file.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb           | 2 --
 meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb         | 2 --
 meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc    | 3 +++
 meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 2 --
 4 files changed, 3 insertions(+), 6 deletions(-)

Comments

Ryan Eatmon May 2, 2025, 6:58 p.m. UTC | #1
On 5/1/2025 9:26 AM, Andrew Davis wrote:
> Firmware here are not built, no need for C compiler nor std libs.
> Add INHIBIT_DEFAULT_DEPS=1 and remove the same from all recipes
> that include this file.
> 
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
>   meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb           | 2 --
>   meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb         | 2 --
>   meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc    | 3 +++
>   meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 2 --

Andrew,

Can you send a v2 and rebase this series on scarthgap?  I backported 
your master patch from December that renamed and moved 
meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb to 
meta-ti-bsp/recipes-bsp/ti-rtos-fw/ti-rtos-echo-test-fw.bb.  So this no 
longer applies to scarthgap or master.




>   4 files changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
> index 638138f4..d6dbd402 100644
> --- a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
> +++ b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
> @@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "k3"
>   
>   PACKAGE_ARCH = "${MACHINE_ARCH}"
>   
> -INHIBIT_DEFAULT_DEPS = "1"
> -
>   inherit deploy
>   inherit update-alternatives
>   
> diff --git a/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb b/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb
> index e4b6d1de..8037ac6c 100644
> --- a/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb
> +++ b/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb
> @@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "j721e|j7200|j784s4"
>   
>   PACKAGE_ARCH = "${MACHINE_ARCH}"
>   
> -INHIBIT_DEFAULT_DEPS = "1"
> -
>   inherit update-alternatives
>   
>   require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> index 2aa07f71..0426e803 100644
> --- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> +++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> @@ -43,6 +43,9 @@ INHIBIT_SYSROOT_STRIP = "1"
>   # This is used to prevent the build system from splitting out the firmware debug info into a separate file
>   INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
>   
> +# Firmware here are prebuilt with no external dependencies
> +INHIBIT_DEFAULT_DEPS = "1"
> +
>   # Disable arch checking as firmware is likely to be a different arch from the Yocto build
>   INSANE_SKIP:${PN} += "arch"
>   
> diff --git a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
> index 00112017..15c48e6f 100644
> --- a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
> +++ b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
> @@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "k3"
>   
>   PACKAGE_ARCH = "${MACHINE_ARCH}"
>   
> -INHIBIT_DEFAULT_DEPS = "1"
> -
>   inherit update-alternatives
>   
>   PLAT_SFX = ""
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
index 638138f4..d6dbd402 100644
--- a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
@@ -7,8 +7,6 @@  COMPATIBLE_MACHINE = "k3"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-INHIBIT_DEFAULT_DEPS = "1"
-
 inherit deploy
 inherit update-alternatives
 
diff --git a/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb b/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb
index e4b6d1de..8037ac6c 100644
--- a/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb
@@ -7,8 +7,6 @@  COMPATIBLE_MACHINE = "j721e|j7200|j784s4"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-INHIBIT_DEFAULT_DEPS = "1"
-
 inherit update-alternatives
 
 require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
index 2aa07f71..0426e803 100644
--- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
@@ -43,6 +43,9 @@  INHIBIT_SYSROOT_STRIP = "1"
 # This is used to prevent the build system from splitting out the firmware debug info into a separate file
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
+# Firmware here are prebuilt with no external dependencies
+INHIBIT_DEFAULT_DEPS = "1"
+
 # Disable arch checking as firmware is likely to be a different arch from the Yocto build
 INSANE_SKIP:${PN} += "arch"
 
diff --git a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
index 00112017..15c48e6f 100644
--- a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
+++ b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
@@ -7,8 +7,6 @@  COMPATIBLE_MACHINE = "k3"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-INHIBIT_DEFAULT_DEPS = "1"
-
 inherit update-alternatives
 
 PLAT_SFX = ""