mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
linux-rpm.mk: Add patch-% patch creation targets
This commit is contained in:
parent
357c50af9a
commit
ff140977c8
1 changed files with 11 additions and 0 deletions
|
|
@ -117,6 +117,17 @@ patches.done: unpack.done $(addsuffix .done,$(notdir $(PATCHES)))
|
|||
%.patch:
|
||||
cp $(filter %/$@,$(PATCHES)) $@
|
||||
|
||||
patch-%:
|
||||
make patches/$*-$(KERNEL_VERSION).patch
|
||||
|
||||
clean-patch-%:
|
||||
rm -f patches/$*-$(KERNEL_VERSION).patch
|
||||
make patches/$*-$(KERNEL_VERSION).patch
|
||||
|
||||
patches/%-$(KERNEL_VERSION).patch: unpack.done
|
||||
diff -Naur linux-$(KERNEL_VERSION) linux-$(KERNEL_VERSION)-$* > $@.part; exit 0
|
||||
mv $@.part $@
|
||||
|
||||
unpack: unpack.done
|
||||
patch: patches.done
|
||||
prepare: unpack patch EXTRAVERSION COMPLETE_VERSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue