~aleteoryx/muditaos

73bb66844df4cf9f73be2d5da4bc6388fc4025ca — DariuszSabala 4 years ago 9194323
[BH-464] Fix make all

Fixed make all functionality, now it builds both products top
targets, made usb stack compile only in rt1051 builds (see also
a related issue raised by community)
M products/BellHybrid/CMakeLists.txt => products/BellHybrid/CMakeLists.txt +1 -1
@@ 1,6 1,6 @@
add_executable(BellHybrid)

add_custom_target(Bell
add_custom_target(Bell ALL
    DEPENDS BellHybrid BellHybrid.img
    )


M products/PurePhone/CMakeLists.txt => products/PurePhone/CMakeLists.txt +1 -1
@@ 1,6 1,6 @@
add_executable(PurePhone)

add_custom_target(Pure
add_custom_target(Pure ALL
    DEPENDS PurePhone PurePhone.img
    )


M third-party/CMakeLists.txt => third-party/CMakeLists.txt +5 -2
@@ 1,3 1,6 @@
# Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

add_subdirectory(base64)
add_subdirectory(date)
add_subdirectory(fatfs)


@@ 16,9 19,9 @@ add_subdirectory(re2)
add_subdirectory(sml)
add_subdirectory(taglib)
add_subdirectory(tinyexpr)
add_subdirectory(usb_stack)
add_subdirectory(utz)

if (${PROJECT_TARGET} STREQUAL "TARGET_RT1051")
    add_subdirectory(CrashDebug)
endif()
\ No newline at end of file
    add_subdirectory(usb_stack)
endif()