sonic-buildimage/rules/sonic-libgenl-packet.mk
donNewtonIntel 86894d5b8d
Add genl packet to sonic-buildimage (#13032)
* Adding sonic-genl-packet submodule

Signed-off-by don.newton@intel.com

* Adding build files for genl-packet

Signed-off-by: don.newton@intel.com

Signed-off-by: don.newton@intel.com
2022-12-14 15:15:47 -05:00

17 lines
717 B
Makefile

# genl-packet listener package
GENL_PACKET_VERSION = 1.0-1
GENL_PACKET_DIR = sonic-genl-packet
LIBGENL_PACKET_NAME = libgenl-packet
LIBGENL_PACKET = $(LIBGENL_PACKET_NAME)_$(GENL_PACKET_VERSION)_$(CONFIGURED_ARCH).deb
$(LIBGENL_PACKET)_SRC_PATH = $(SRC_PATH)/$(GENL_PACKET_DIR)/libgenl-packet
$(LIBGENL_PACKET)_VERSION = $(LIBGENL_PACKET_VERSION)
$(LIBGENL_PACKET)_NAME = $(LIBGENL_PACKET_NAME)
$(LIBGENL_PACKET)_DEPENDS += $(LIBNL3_DEV) $(LIBNL_GENL3_DEV)
$(LIBGENL_RDEPENDS += $(LIBNL3) $(LIBNL_GENL3)
SONIC_DPKG_DEBS += $(LIBGENL_PACKET)
LIBGENL_PACKET_DEV= $(LIBGENL_PACKET_NAME)-dev_$(GENL_PACKET_VERSION)_$(CONFIGURED_ARCH).deb
$(eval $(call add_derived_package,$(LIBGENL_PACKET),$(LIBGENL_PACKET_DEV)))