For libyang, don't add an ordering dependency on frr for Bookworm

This ordering dependency causes FRR to get built for Bookworm, which we
don't need currently. Skip this by having it apply only to Bookworm.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
This commit is contained in:
Saikrishna Arcot 2023-09-07 17:07:44 -07:00 committed by Ying Xie
parent e3ebe00051
commit 3a23c8962d

View File

@ -12,7 +12,10 @@ LIBYANG = libyang_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb
$(LIBYANG)_SRC_PATH = $(SRC_PATH)/libyang $(LIBYANG)_SRC_PATH = $(SRC_PATH)/libyang
# introduce artifical dependency between LIBYANG and FRR # introduce artifical dependency between LIBYANG and FRR
# make sure LIBYANG is compile after FRR # make sure LIBYANG is compile after FRR
# TODO: Remove once snmp build has been updated
ifeq ($(BLDENV),bullseye)
$(LIBYANG)_AFTER = $(FRR) $(LIBYANG)_AFTER = $(FRR)
endif
SONIC_MAKE_DEBS += $(LIBYANG) SONIC_MAKE_DEBS += $(LIBYANG)
LIBYANG_DEV = libyang-dev_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb LIBYANG_DEV = libyang-dev_$(LIBYANG_VERSION)_$(CONFIGURED_ARCH).deb