summaryrefslogtreecommitdiffstats
path: root/remote/modules/debug-report-bwlp/module.build
blob: 1be608b835486637e77ab2f587209c29b1e4f6ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fetch_source() {
	:
}

build() {

	for BIN in $REQUIRED_BINARIES; do
		OPT="${BIN:0:1}"
		[[ "$BIN" == @* ]] && BIN=$(echo "$BIN" | cut -c 2-)
		BIN_LOCATION=$(which ${BIN})
		if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ]; then
			tarcopy "$(get_link_chain ${BIN_LOCATION})" "${MODULE_BUILD_DIR}"
		elif [ "$OPT" != "@" ]; then
			perror "'${BIN}' not found on system."
		else
			pwarning "'${BIN}' not found on the system."
		fi
	done
}

post_copy() {
	:
}