-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (32 loc) · 1.08 KB
/
Copy pathMakefile
File metadata and controls
43 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
ifdef QNX_HOST
ifndef QCONFIG
QCONFIG=qconfig.mk
endif
include $(QCONFIG)
include ${BSP_ROOT}/fileset_copy.mk
export ENABLE_TINYVIZ?=OFF
export QC_INSTALL_ROOT=${INSTALL_ROOT_nto}/aarch64le/bin/qcnode
all : install
depends:
make -C ${BSP_ROOT}/AMSS/multimedia/qcamera/camera_qcx/build/qnx/qcx/libqcxclient install
make -C ${BSP_ROOT}/AMSS/multimedia/qcamera/camera_qcx/build/qnx/qcx-common/osal install
make -C ${BSP_ROOT}/AMSS/multimedia/compute/fadas install
install:
@echo Starting QCNODE build...
./scripts/build/build-target.sh aarch64-qnx .
cp -v scripts/build/qnx/secpolfiles/qcnode.txt ${BSP_ROOT}/install/secpolfiles/
cp -v scripts/build/qnx/buildfiles/qc.qcnode.common.system.test.build ${BSP_ROOT}/target/filesets
echo "Installing to ${QC_INSTALL_ROOT}"
mkdir -p ${QC_INSTALL_ROOT}
cp -frv run-aarch64-qnx/opt/qcnode/bin ${QC_INSTALL_ROOT}/
cp -frv run-aarch64-qnx/opt/qcnode/lib ${QC_INSTALL_ROOT}/
hinstall:
# All clean from here
clean:
@echo Cleaning QCNODE build...
rm -rf bld-aarch64-qnx run-aarch64-qnx qcnode-aarch64-qnx.tar.gz
else
hinstall:
install:
clean:
endif