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 missing targets install and distclean
This commit is contained in:
parent
2281827d2a
commit
f3e5b29948
1 changed files with 6 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ KERNEL_MINOR = $(shell echo $(KERNEL_VERSION) | cut -d\. -f2)
|
|||
KERNEL_RELEASE = $(shell echo $(KERNEL_VERSION) | cut -d\. -f3)
|
||||
KERNEL_DLOAD_DIR ?= /home/samba/dat/share/exe/linux/os
|
||||
KERNEL_PKG_BASE = $(KERNEL_DLOAD_DIR)/$(KERNEL_MAJOR).$(KERNEL_MINOR)/linux-$(KERNEL_VERSION).tar
|
||||
LINUX_KERNEL_PATCH_DIR ?= $(CVS_ROOT_DIR)/conf/jannet.de/all/lx-patches
|
||||
|
||||
ifneq ($(wildcard $(KERNEL_PKG_BASE).*),)
|
||||
ifneq ($(wildcard $(KERNEL_PKG_BASE).gz),)
|
||||
|
|
@ -43,7 +44,9 @@ export KERNEL_INSTALL_PREFIX
|
|||
|
||||
# first target
|
||||
all: rpm
|
||||
install: install.this
|
||||
clean: thisclean
|
||||
distclean: clean
|
||||
|
||||
# file rules
|
||||
$(KERNEL_PKG):
|
||||
|
|
@ -161,6 +164,9 @@ thisclean:
|
|||
touch EXTRAVERSION COMPLETE_VERSION
|
||||
make -f $(SUBMAKEFILE) clean
|
||||
|
||||
install.this:
|
||||
make -f $(SUBMAKEFILE) install
|
||||
|
||||
export \
|
||||
TOPDIR MODDIR KERNEL_VERSION RPM_RELEASE HOST KERNEL_PKG_SUFFIX CUSTOMER \
|
||||
KERNEL_BASE_DIR KERNEL_PKG KERNEL_BASE UPLOAD_HOST UPLOAD_PATH \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue