Skip to content

Commit

Permalink
(Fixup) x265
Browse files Browse the repository at this point in the history
  • Loading branch information
m4tt075 committed Jan 31, 2019
1 parent 410c727 commit b05a72b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cross/x265/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ COMMENT = x265 is an open source HEVC encoder.
LICENSE = GPL

CONFIGURE_TARGET = x265_custom_configure
INSTALL_TARGET = x265_custom_install

NASM_PATH = $(WORK_DIR)/../../../native/nasm/work-native/install/usr/local/bin

Expand Down Expand Up @@ -74,7 +75,7 @@ CMAKE_ARGS += -DCMAKE_CXX_FLAGS="-DSPKSRC_FIX_PPC853X_4_3"
endif


.PHONY: $(PKG_DIR)/libx265_main12.a $(PKG_DIR)/libx265_main10.a x265_custom_configure
.PHONY: $(PKG_DIR)/libx265_main12.a $(PKG_DIR)/libx265_main10.a x265_custom_configure x265_custom_install

# First create specific static libraries with build options for 12 and 10 bit depth
PKG_WORK_DIR = $(WORK_DIR)/$(PKG_NAME)_$(PKG_VERS)
Expand Down Expand Up @@ -102,3 +103,6 @@ CMAKE_MULTILIB_ARGS += -DLINKED_10BIT=ON -DLINKED_12BIT=ON -DENABLE_SHARED=ON

x265_custom_configure: $(PKG_DIR)/libx265_main12.a $(PKG_DIR)/libx265_main10.a
$(RUN) cmake $(CMAKE_ARGS) $(CMAKE_MULTILIB_ARGS) .

x265_custom_install:
$(RUN) $(MAKE) install DESTDIR=$(INSTALL_DIR)

0 comments on commit b05a72b

Please sign in to comment.