Use simd.prf for building MIPS DSP code
No need to duplicate the extra compiler code. Change-Id: Ic5656d2f4500c19e0428a7eec1cbcef6c353e99b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
1602a091c6
commit
875ba6e80c
@ -116,17 +116,3 @@ ctest_qt5_module_files.files += $$ctest_macros_file.output $$cmake_extras_mkspec
|
||||
ctest_qt5_module_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5Core
|
||||
|
||||
INSTALLS += ctest_qt5_module_files cmake_qt5_umbrella_module_files
|
||||
|
||||
mips_dsp:*-g++* {
|
||||
HEADERS += $$MIPS_DSP_HEADERS
|
||||
|
||||
mips_dsp_corelib_assembler.commands = $$QMAKE_CXX -c
|
||||
mips_dsp_corelib_assembler.commands += $(CXXFLAGS) $(INCPATH) -mips32r2 -mdsp ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
||||
mips_dsp_corelib_assembler.dependency_type = TYPE_C
|
||||
mips_dsp_corelib_assembler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
|
||||
mips_dsp_corelib_assembler.input = MIPS_DSP_ASM
|
||||
mips_dsp_corelib_assembler.variable_out = OBJECTS
|
||||
mips_dsp_corelib_assembler.name = assembling[mips_dsp] ${QMAKE_FILE_IN}
|
||||
silent:mips_dsp_corelib_assembler.commands = @echo assembling[mips_dsp] ${QMAKE_FILE_IN} && $$mips_dsp_corelib_assembler.commands
|
||||
QMAKE_EXTRA_COMPILERS += mips_dsp_corelib_assembler
|
||||
}
|
||||
|
@ -210,3 +210,4 @@ TR_EXCLUDE += ../3rdparty/*
|
||||
# MIPS DSP
|
||||
MIPS_DSP_ASM += tools/qstring_mips_dsp_asm.S
|
||||
MIPS_DSP_HEADERS += ../gui/painting/qt_mips_asm_dsp_p.h
|
||||
CONFIG += simd
|
||||
|
Loading…
Reference in New Issue
Block a user