diff --git a/README.md b/README.md index 9affc425..6d6de147 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ There are 4 repositories that provide the complete setup: ``` 2. In `work` folder, run `./build.sh`. Output binaries will be in `out/install`. (RPM build is not implemented yet) + Notice: To disable 'dma-drm', should remove '--enable-gstdrmformat=yes' in build.sh manually. + The featuer depends on 'gstreamer >= 1.23' and 'libva-drm'. 3. Install contents in `out/install` to your `/usr`: ```sh diff --git a/build.sh b/build.sh index f6b27bae..38b04fa3 100644 --- a/build.sh +++ b/build.sh @@ -145,7 +145,7 @@ function build_icamerasrc() { rm -fr config.h.in autom4te.cache/ aclocal.m4 *-libtool config.guess compile \ config.sub configure depcomp install-sh ltmain.sh m4 autoreconf --install - CFLAGS="-O2" CXXFLAGS="-O2" ./configure --with-haladaptor=yes ${CONFIGURE_FLAGS} \ + CFLAGS="-O2" CXXFLAGS="-O2" ./configure --with-haladaptor=yes --enable-gstdrmformat=yes ${CONFIGURE_FLAGS} \ --prefix=$INSTALL_DIR/install DEFAULT_CAMERA=0 check_result $? $FUNCNAME