mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-10-08 19:36:38 +07:00
Add wl source code
This commit is contained in:
53
external/cache/sources/wl/include/Makefile
vendored
Normal file
53
external/cache/sources/wl/include/Makefile
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This script serves following purpose:
|
||||
#
|
||||
# 1. It generates native version information by querying
|
||||
# automerger maintained database to see where src/include
|
||||
# came from
|
||||
# 2. For select components, as listed in compvers.sh
|
||||
# it generates component version files
|
||||
#
|
||||
# Copyright 2005, Broadcom, Inc.
|
||||
#
|
||||
# $Id: Makefile 241686 2011-02-19 00:22:45Z $
|
||||
#
|
||||
|
||||
SRCBASE := ..
|
||||
|
||||
TARGETS := epivers.h
|
||||
|
||||
ifdef VERBOSE
|
||||
export VERBOSE
|
||||
endif
|
||||
|
||||
all release: epivers compvers
|
||||
|
||||
# Generate epivers.h for native branch version
|
||||
epivers:
|
||||
bash epivers.sh
|
||||
|
||||
# Generate epivers.h for native branch version
|
||||
compvers:
|
||||
@if [ -s "compvers.sh" ]; then \
|
||||
echo "Generating component versions, if any"; \
|
||||
bash compvers.sh; \
|
||||
else \
|
||||
echo "Skipping component version generation"; \
|
||||
fi
|
||||
|
||||
# Generate epivers.h for native branch version
|
||||
clean_compvers:
|
||||
@if [ -s "compvers.sh" ]; then \
|
||||
echo "bash compvers.sh clean"; \
|
||||
bash compvers.sh clean; \
|
||||
else \
|
||||
echo "Skipping component version clean"; \
|
||||
fi
|
||||
|
||||
clean:
|
||||
rm -f $(TARGETS) *.prev
|
||||
|
||||
clean_all: clean clean_compvers
|
||||
|
||||
.PHONY: all release clean epivers compvers clean_compvers
|
||||
Reference in New Issue
Block a user