mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-20 05:37:38 +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_RELEASE = $(shell echo $(KERNEL_VERSION) | cut -d\. -f3)
|
||||||
KERNEL_DLOAD_DIR ?= /home/samba/dat/share/exe/linux/os
|
KERNEL_DLOAD_DIR ?= /home/samba/dat/share/exe/linux/os
|
||||||
KERNEL_PKG_BASE = $(KERNEL_DLOAD_DIR)/$(KERNEL_MAJOR).$(KERNEL_MINOR)/linux-$(KERNEL_VERSION).tar
|
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).*),)
|
||||||
ifneq ($(wildcard $(KERNEL_PKG_BASE).gz),)
|
ifneq ($(wildcard $(KERNEL_PKG_BASE).gz),)
|
||||||
|
|
@ -43,7 +44,9 @@ export KERNEL_INSTALL_PREFIX
|
||||||
|
|
||||||
# first target
|
# first target
|
||||||
all: rpm
|
all: rpm
|
||||||
|
install: install.this
|
||||||
clean: thisclean
|
clean: thisclean
|
||||||
|
distclean: clean
|
||||||
|
|
||||||
# file rules
|
# file rules
|
||||||
$(KERNEL_PKG):
|
$(KERNEL_PKG):
|
||||||
|
|
@ -161,6 +164,9 @@ thisclean:
|
||||||
touch EXTRAVERSION COMPLETE_VERSION
|
touch EXTRAVERSION COMPLETE_VERSION
|
||||||
make -f $(SUBMAKEFILE) clean
|
make -f $(SUBMAKEFILE) clean
|
||||||
|
|
||||||
|
install.this:
|
||||||
|
make -f $(SUBMAKEFILE) install
|
||||||
|
|
||||||
export \
|
export \
|
||||||
TOPDIR MODDIR KERNEL_VERSION RPM_RELEASE HOST KERNEL_PKG_SUFFIX CUSTOMER \
|
TOPDIR MODDIR KERNEL_VERSION RPM_RELEASE HOST KERNEL_PKG_SUFFIX CUSTOMER \
|
||||||
KERNEL_BASE_DIR KERNEL_PKG KERNEL_BASE UPLOAD_HOST UPLOAD_PATH \
|
KERNEL_BASE_DIR KERNEL_PKG KERNEL_BASE UPLOAD_HOST UPLOAD_PATH \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue