2016-12-28 21:05:09 -06:00
|
|
|
# linux kernel package
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2019-06-18 12:00:16 -05:00
|
|
|
KVERSION_SHORT = 4.9.0-9-2
|
2019-07-26 00:06:41 -05:00
|
|
|
KVERSION = $(KVERSION_SHORT)-$(CONFIGURED_ARCH)
|
2019-06-18 12:00:16 -05:00
|
|
|
KERNEL_VERSION = 4.9.168
|
2019-08-21 11:16:55 -05:00
|
|
|
KERNEL_SUBVERSION = 1+deb9u5
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2017-02-02 20:28:06 -06:00
|
|
|
export KVERSION_SHORT KVERSION KERNEL_VERSION KERNEL_SUBVERSION
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2017-11-05 20:49:04 -06:00
|
|
|
LINUX_HEADERS_COMMON = linux-headers-$(KVERSION_SHORT)-common_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION)_all.deb
|
2017-02-02 20:28:06 -06:00
|
|
|
$(LINUX_HEADERS_COMMON)_SRC_PATH = $(SRC_PATH)/sonic-linux-kernel
|
|
|
|
SONIC_MAKE_DEBS += $(LINUX_HEADERS_COMMON)
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LINUX_HEADERS = linux-headers-$(KVERSION)_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION)_$(CONFIGURED_ARCH).deb
|
2017-02-02 20:28:06 -06:00
|
|
|
$(eval $(call add_derived_package,$(LINUX_HEADERS_COMMON),$(LINUX_HEADERS)))
|
|
|
|
|
2019-07-26 00:06:41 -05:00
|
|
|
LINUX_KERNEL = linux-image-$(KVERSION)_$(KERNEL_VERSION)-$(KERNEL_SUBVERSION)_$(CONFIGURED_ARCH).deb
|
2017-02-02 20:28:06 -06:00
|
|
|
$(eval $(call add_derived_package,$(LINUX_HEADERS_COMMON),$(LINUX_KERNEL)))
|