1
1
Files
zyxel-vmg8825_b50b-cfw/include_qca/local-development.mk
T
2026-04-17 18:33:03 +02:00

12 lines
440 B
Makefile
Executable File

# Copyright (c) 2013 The Linux Foundation. All rights reserved.
# allow for local directory containing source to be used
LOCAL_SRC ?= $(TOPDIR)/qca/src/$(PKG_NAME)
ifeq (exists, $(shell [ -d $(LOCAL_SRC) ] && echo exists))
PKG_REV=$(shell cd $(LOCAL_SRC)/; git describe --dirty --long --always | sed 's/.*-g//g')
PKG_VERSION:=g$(PKG_REV)
PKG_SOURCE_URL:=
PKG_UNPACK=mkdir -p $(PKG_BUILD_DIR); $(CP) $(LOCAL_SRC)/* $(PKG_BUILD_DIR)/
endif