mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-25 15:03:55 +01:00
contrib.mk / linux-rpm.mk: Make clean targets sharper
- Shift removal of everything into distclean target - Add support for CFG_CLEAN variable
This commit is contained in:
parent
f4920d0c26
commit
594d1272b9
2 changed files with 8 additions and 9 deletions
|
|
@ -103,7 +103,8 @@ config-$(KERNEL_VERSION):
|
|||
cvs commit
|
||||
|
||||
toplevel-makefile: unpack.done
|
||||
sed "s/\(^ *EXTRAVERSION *= *[^ ]*\) *$$/\\1_$(KERNEL_RELEASE)/" linux-$(KERNEL_VERSION)/Makefile >$@
|
||||
sed "s/\(^ *EXTRAVERSION *= *[^ ]*\) *$$/\\1$(shell echo _$(KERNEL_RELEASE) | sed 's/^_/-/')/" \
|
||||
linux-$(KERNEL_VERSION)/Makefile >$@
|
||||
|
||||
linux-$(KERNEL_VERSION)/Makefile: toplevel-makefile
|
||||
cp $< $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue