You've already forked hexagon-dsp-binaries
mirror of
https://github.com/linux-msm/hexagon-dsp-binaries.git
synced 2026-02-25 13:14:28 -08:00
Rename the script from check_whence.py and implement config.txt checks. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
27 lines
498 B
Makefile
27 lines
498 B
Makefile
# SPDX-License-Identifier: MIT
|
|
|
|
prefix ?= /usr
|
|
DSPDIR = ${prefix}/share/qcom
|
|
|
|
all:
|
|
|
|
install:
|
|
./scripts/install.sh config.txt ${DESTDIR}/${DSPDIR}
|
|
|
|
TAG = $(shell git describe)
|
|
NAME = hexagon-dsp-binaries
|
|
TARGET = $(NAME)_$(TAG).tar.gz
|
|
SUBDIR = $(NAME)-$(TAG)
|
|
dist:
|
|
$-rm -rf release
|
|
@mkdir -p release dist
|
|
./scripts/dist.sh config.txt release/$(SUBDIR)
|
|
tar -czf dist/$(TARGET) -C release $(SUBDIR)
|
|
@echo "Created dist/$(TARGET)"
|
|
@rm -rf release
|
|
|
|
check:
|
|
./scripts/check.py
|
|
|
|
.PHONY: dist check
|