OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | # Copyright (c) 2013 The Linux Foundation. All rights reserved. |
2 | # allow for local directory containing source to be used |
||
3 | |||
4 | LOCAL_SRC ?= $(TOPDIR)/package/qca/$(PKG_NAME)/src |
||
5 | |||
6 | ifeq (exists, $(shell [ -d $(LOCAL_SRC) ] && echo exists)) |
||
7 | PKG_REV=$(shell cd $(LOCAL_SRC)/; git describe --long --always | sed 's/.*-g//g') |
||
8 | PKG_VERSION:=g$(PKG_REV) |
||
9 | PKG_SOURCE_URL:= |
||
10 | PKG_UNPACK=mkdir -p $(PKG_BUILD_DIR); $(CP) $(LOCAL_SRC)/* $(PKG_BUILD_DIR)/ |
||
11 | endif |