[4/4] u-boot: Remove BUILD_DEPENDS backward compatibility

Message ID 20240314094114.3867735-5-amikan@ilbers.de
State Accepted, archived
Headers show
Series Remove deprecated variables and classes | expand

Commit Message

Anton Mikanovich March 14, 2024, 9:41 a.m. UTC
BUILD_DEPENDS usage in u-boot-custom.inc has been deprecated since v0.8
and now we can remove backward compatibility and warning message.
DEBIAN_BUILD_DEPENDS should be used instead.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/recipes-bsp/u-boot/u-boot-custom.inc | 6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/meta/recipes-bsp/u-boot/u-boot-custom.inc b/meta/recipes-bsp/u-boot/u-boot-custom.inc
index 25f0e1ef..8aea773d 100644
--- a/meta/recipes-bsp/u-boot/u-boot-custom.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc
@@ -18,12 +18,6 @@  inherit dpkg
 
 SRC_URI += "file://debian/"
 
-python() {
-    if d.getVar('BUILD_DEPENDS'):
-        bb.warn("u-boot-custom: Deprecated use of BUILD_DEPENDS, please switch to DEBIAN_BUILD_DEPENDS")
-        d.setVar('DEBIAN_BUILD_DEPENDS', d.getVar('BUILD_DEPENDS'))
-}
-
 DEBIAN_BUILD_DEPENDS ?= "bc, bison, flex, device-tree-compiler, git"
 
 TEMPLATE_FILES = "debian/control.tmpl debian/rules.tmpl"