Ticket #138 (closed defect: fixed)
OpenWRT Makefile problem with DUMP=1
| Reported by: | reporter | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | LuCI Base | Keywords: | |
| Cc: | INgo.Rah@… |
Description
There is a problem when the packageinfo is generated (DUMP is set to 1). In this case PKG_VERSION is not set and thus the tmp/.packageinfo file contains an invalid entry.
luci/luci/Makefile should be changed:
ifeq ($(DUMP),)
PKG_REV:=$(shell LC_ALL=C svn info $(CURDIR) | sed -ne 's/Revision: //p')
PKG_VERSION:=0.9+svn$(PKG_REV)
else
PKG_VERSION:=...something...
endif
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
