File tree 3 files changed +4
-8
lines changed
3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -85,15 +85,15 @@ function build_target() {
85
85
-DIPU_VER=$IPU_VERSION \
86
86
-DBUILD_CAMHAL_TESTS=OFF \
87
87
-DUSE_PG_LITE_PIPE=ON \
88
- -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR /install \
88
+ -DCMAKE_INSTALL_PREFIX=/usr \
89
89
-DUSE_HAL_ADAPTOR=ON \
90
90
..
91
91
92
92
# make and install
93
93
make -j` nproc`
94
94
check_result $? " $FUNCNAME : $target "
95
95
96
- make install
96
+ make DESTDIR= ${INSTALL_DIR} /install install
97
97
check_result $? " $FUNCNAME : $target "
98
98
cd ..
99
99
}
@@ -111,13 +111,13 @@ function build_hal_adaptor() {
111
111
cd $SOURCE_DIR /ipu6-camera-hal/src/hal/hal_adaptor
112
112
rm -fr build && mkdir -p build && cd build
113
113
114
- command cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR /install ../
114
+ command cmake -DCMAKE_INSTALL_PREFIX=/usr ../
115
115
116
116
# make and install
117
117
make -j
118
118
check_result $? $FUNCNAME
119
119
120
- make install
120
+ make make DESTDIR= ${INSTALL_DIR} /install install
121
121
check_result $? $FUNCNAME
122
122
}
123
123
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ include(FindPackageHandleStandardArgs)
19
19
20
20
if (NOT DEFINED IPU_VER)
21
21
set (LIBGCSS_PKG_SUFFIX "-ipu4" )
22
- elseif (${IPU_VER} STREQUAL ipu6)
23
- set (LIBGCSS_PKG_SUFFIX "" )
24
22
else ()
25
23
set (LIBGCSS_PKG_SUFFIX "-${IPU_VER} " )
26
24
endif ()
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ include(FindPackageHandleStandardArgs)
19
19
20
20
if (NOT DEFINED IPU_VER)
21
21
set (IACSS_PKG_SUFFIX "-ipu4" )
22
- elseif (${IPU_VER} STREQUAL ipu6)
23
- set (IACSS_PKG_SUFFIX "" )
24
22
else ()
25
23
set (IACSS_PKG_SUFFIX "-${IPU_VER} " )
26
24
endif ()
You can’t perform that action at this time.
0 commit comments