mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-30 22:37:21 +03:00
cmke .. again
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
set(lib_dir ${build_dir}/esp-idf)
|
||||
|
||||
if(IDF_TARGET STREQUAL esp32)
|
||||
set(lib_dir ${build_dir}/esp-idf)
|
||||
set(driver esp32/i2s.c esp32/i2s_hal.c esp32/spi_bus_lock.c)
|
||||
endif()
|
||||
|
||||
string(REPLACE ".c" ".c.obj" driver_obj "${driver}")
|
||||
|
||||
idf_component_register( SRCS ${driver}
|
||||
@@ -22,3 +19,4 @@ add_custom_command(
|
||||
COMMAND xtensa-esp32-elf-ar -d ${lib_dir}/driver/libdriver.a ${driver_obj}
|
||||
VERBATIM
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user