From fa456d6c4bc8e46603aaa17e101756003304eeb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 5 Feb 2019 18:28:15 +0100 Subject: [PATCH] build: add kernel target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to extract the patched sources for module building Reviewed-by: Stoiko Ivanov Tested-by: Stoiko Ivanov Signed-off-by: Fabian Grünbichler --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 673aae4..78cea56 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,12 @@ deb: ${DEBS} .PHONY: dsc dsc: ${DSCS} +# called from pve-kernel's Makefile to get patched sources +.PHONY: kernel +kernel: dsc + dpkg-source -x ${SPL_DSC} ../pkg-spl + dpkg-source -x ${ZFS_DSC} ../pkg-zfs + .PHONY: dinstall dinstall: ${DEBS} dpkg -i ${DEBS}