public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] U-boot refactor
@ 2021-11-15 16:06 Vijai Kumar K
  2021-11-15 16:06 ` [RFC PATCH 1/2] u-boot: Switch to use DEB_BUILD_PROFILES Vijai Kumar K
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Vijai Kumar K @ 2021-11-15 16:06 UTC (permalink / raw)
  To: isar-users; +Cc: Vijai Kumar K

Hi,

This series refactors u-boot recipe to build selective packages
based on DEB_BUILD_PROFILES.

This solves 2 problems(kind of related).

1. Tools were always built irrespective of whether we ship them or not.
2. libssl-dev package is needed only when we cross compile tools.
   Having this change, makes sure the dependency is only included when
   it is actually needed.

P1 drops the U_BOOT_TOOLS_PACKAGE variable and introduces
U_BOOT_BUILD_PROFILES in which we can specify which package to
build(tools, dev, config).

P2 makes sure libssl-dev is included only when it is needed.


Thanks,
Vijai Kumar K


Vijai Kumar K (2):
  u-boot: Switch to use DEB_BUILD_PROFILES
  meta/u-boot: Include libssl-dev only when building tools

 .../u-boot/u-boot-de0-nano-soc_2021.10.bb     |  3 +-
 .../u-boot/u-boot-stm32mp15x_2021.10.bb       |  2 ++
 .../u-boot/files/debian/control.tmpl          | 13 ++++++++
 meta/recipes-bsp/u-boot/files/debian/rules    |  9 +++++-
 meta/recipes-bsp/u-boot/u-boot-custom.inc     | 32 ++++++-------------
 5 files changed, 34 insertions(+), 25 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-11-17  5:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-15 16:06 [RFC PATCH 0/2] U-boot refactor Vijai Kumar K
2021-11-15 16:06 ` [RFC PATCH 1/2] u-boot: Switch to use DEB_BUILD_PROFILES Vijai Kumar K
2021-11-15 16:44   ` Jan Kiszka
2021-11-16  8:42     ` vijai kumar
2021-11-16 15:02   ` Gylstorff Quirin
2021-11-17  5:52     ` vijai kumar
2021-11-15 16:06 ` [RFC PATCH 2/2] meta/u-boot: Include libssl-dev only when building tools Vijai Kumar K
2021-11-15 16:46   ` Jan Kiszka
2021-11-16  8:44     ` vijai kumar
2021-11-15 16:10 ` [RFC PATCH 0/2] U-boot refactor vijai kumar
2021-11-16  9:51 ` [PATCH v2 " Vijai Kumar K
2021-11-16  9:51   ` [PATCH v2 1/2] u-boot: Switch to use DEB_BUILD_PROFILES Vijai Kumar K
2021-11-16 15:40     ` Jan Kiszka
2021-11-17  5:56       ` vijai kumar
2021-11-16  9:51   ` [PATCH v2 2/2] meta/u-boot: Include libssl-dev only when building tools Vijai Kumar K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox