Repository : ssh://git@open-mesh.org/openwrt-feed-alfred
On branch : master
commit f6d560cc2079c1bc104811f214b0187b0db5e9d3 Author: Simon Wunderlich simon@open-mesh.com Date: Wed Sep 25 13:49:35 2013 +0200
alfred: don't let OpenWRT cache sourcecode
When making changes to the version number OpenWRT might cache and use the old source code because the build dir stays the same. Add the package version to the build dir to allow a fresh compile.
Signed-off-by: Simon Wunderlich simon@open-mesh.com
f6d560cc2079c1bc104811f214b0187b0db5e9d3 alfred/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/alfred/Makefile b/alfred/Makefile index a21059d..de46749 100644 --- a/alfred/Makefile +++ b/alfred/Makefile @@ -17,10 +17,10 @@ PKG_REV:=06ce1ccfd08c200f65cddac45e83b3d357c0b4ac
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=git://git.open-mesh.org/alfred.git -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE) PKG_SOURCE_VERSION:=$(PKG_REV) PKG_SOURCE_PROTO:=git -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)
include $(INCLUDE_DIR)/package.mk