mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
$(TOPDIR), make: Merged changes of V_1_1_7_1_JL
This commit is contained in:
parent
09b7e0610c
commit
7067725092
6 changed files with 32 additions and 16 deletions
|
|
@ -22,7 +22,11 @@ TMP_INSTALL = $(KERNEL_BASE)-$(KERNEL_VERSION)-$(KERNEL_RELEASE)
|
|||
TAG = $(shell echo V_$(KERNEL_VERSION)_$(KERNEL_RELEASE) | sed 's/\./_/g')
|
||||
|
||||
ifeq ($(wildcard RELEASE-$(KERNEL_VERSION)),)
|
||||
<<<<<<< linux-rpm.mk
|
||||
KERNEL_RELEASE := $(shell echo '\# $$Id$(KERNEL_VERSION),v 0.1$$' \
|
||||
=======
|
||||
KERNEL_RELEASE := $(shell echo '\# $$Id$(KERNEL_VERSION),v 0.1$$' \
|
||||
>>>>>>> 1.1.2.2
|
||||
> RELEASE-$(KERNEL_VERSION); \
|
||||
cvs add RELEASE-$(KERNEL_VERSION); \
|
||||
cvs commit -m "initial checkin" RELEASE-$(KERNEL_VERSION); \
|
||||
|
|
@ -81,7 +85,7 @@ unpack.done: $(KERNEL_PKG)
|
|||
tar -xzf $(KERNEL_PKG)
|
||||
touch $@
|
||||
|
||||
%.lxdone: unpack.done config-$(KERNEL_VERSION)
|
||||
%.lxdone: unpack.done config-$(KERNEL_VERSION) $(LOCAL_PRE_BUILD)
|
||||
$(BUILD) $(basename $@)
|
||||
touch $@
|
||||
|
||||
|
|
@ -174,7 +178,7 @@ ssh:
|
|||
|
||||
# user targets
|
||||
unpack: unpack.done
|
||||
build: build.lxdone
|
||||
build: build.lxdone
|
||||
driver: driver.done
|
||||
tgz: $(F_TGZ)
|
||||
spm: $(F_SPM)
|
||||
|
|
@ -187,6 +191,10 @@ copy-devel: copy-devel.done
|
|||
copy: copy-run copy-devel
|
||||
reboot:
|
||||
ssh -l root $(HOST) "reboot"
|
||||
update-rpm: copy
|
||||
ssh -l root $(HOST) rpm -U $(addprefix rpm/,$(F_RPMS))
|
||||
erase-rpm:
|
||||
ssh -l root $(HOST) rpm -e $(KERNEL_BASE)-run $(KERNEL_BASE)-devel
|
||||
dist: clean
|
||||
cd ..;\
|
||||
tar -czf kernel.tar.gz `find kernel -type f -maxdepth 1 | grep -ve "setup\|trash\|CVS"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue