Repository : ssh://git@open-mesh.org/openwrt-feed-alfred
On branch : master
commit 78439a5dabfb23c3ef0cbcb7934036af720d0fed 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
78439a5dabfb23c3ef0cbcb7934036af720d0fed alfred/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/alfred/Makefile b/alfred/Makefile index a21059d..83046d7 100644 --- a/alfred/Makefile +++ b/alfred/Makefile @@ -15,12 +15,12 @@ PKG_VERSION:=2013.3.0 PKG_RELEASE:=1 PKG_REV:=06ce1ccfd08c200f65cddac45e83b3d357c0b4ac
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).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