2016-12-28 21:05:09 -06:00
|
|
|
# linux kernel package
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2021-02-06 23:02:06 -06:00
|
|
|
KVERSION_SHORT = 4.19.0-12-2
|
2019-07-26 00:06:41 -05:00
|
|
|
KVERSION = $(KVERSION_SHORT)-$(CONFIGURED_ARCH)
|
2021-02-06 23:02:06 -06:00
|
|
|
KERNEL_VERSION = 4.19.152
|
|
|
|
KERNEL_SUBVERSION = 1
|
2019-10-10 17:11:26 -05:00
|
|
|
ifeq ($(CONFIGURED_ARCH), armhf)
|
|
|
|
# Override kernel version for ARMHF as it uses arm MP (multi-platform) for short version
|
|
|
|
KVERSION = $(KVERSION_SHORT)-armmp
|
|
|
|
endif
|
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)))
|
|
|
|
|
2020-02-02 14:27:55 -06:00
|
|
|
LINUX_KERNEL = linux-image-$(KVERSION)-unsigned_$(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)))
|