mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
Add version number to log
This commit is contained in:
parent
9fe1876477
commit
def8b8d12d
13
Makefile
13
Makefile
@ -475,8 +475,17 @@ configured: dirs host-sed kernel-headers uclibc-config busybox-config linux26-co
|
|||||||
|
|
||||||
prepatch: gcc-patched binutils-patched gdb-patched uclibc-patched
|
prepatch: gcc-patched binutils-patched gdb-patched uclibc-patched
|
||||||
|
|
||||||
log:
|
.lognr:
|
||||||
$(MAKE) > $(PROJECT).log 2>&1
|
@echo "0" > .lognr
|
||||||
|
|
||||||
|
log: .lognr
|
||||||
|
@expr `cat .lognr` + 1 > .lognr
|
||||||
|
@echo Creating $(PROJECT)-`cat .lognr`.log
|
||||||
|
@$(MAKE) > $(PROJECT)-`cat .lognr`.log 2>&1
|
||||||
|
|
||||||
|
tail:
|
||||||
|
grep "\.tar\." $(PROJECT)-`cat .lognr`.log
|
||||||
|
tail --lines=25 $(PROJECT)-`cat .lognr`.log
|
||||||
|
|
||||||
cross: $(BASE_TARGETS)
|
cross: $(BASE_TARGETS)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user