build: add kernel target
to extract the patched sources for module building Reviewed-by: Stoiko Ivanov <s.ivanov@proxmox.com> Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
3d885de40c
commit
fa456d6c4b
6
Makefile
6
Makefile
@ -42,6 +42,12 @@ deb: ${DEBS}
|
|||||||
.PHONY: dsc
|
.PHONY: dsc
|
||||||
dsc: ${DSCS}
|
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
|
.PHONY: dinstall
|
||||||
dinstall: ${DEBS}
|
dinstall: ${DEBS}
|
||||||
dpkg -i ${DEBS}
|
dpkg -i ${DEBS}
|
||||||
|
Loading…
Reference in New Issue
Block a user