X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=carlfw%2FCMakeLists.txt;h=caf95951a7fe9ba420711c832dbf561c469d5494;hp=79406195731f6ba74eb54081727506c3d648b2ec;hb=69f7043e7a2223e25cc525161a2de45d293d21d0;hpb=7e4f4928397dbdcb0e2d4efa3c718e503d75dfae diff --git a/carlfw/CMakeLists.txt b/carlfw/CMakeLists.txt index 7940619..caf9595 100644 --- a/carlfw/CMakeLists.txt +++ b/carlfw/CMakeLists.txt @@ -9,16 +9,16 @@ set(CARLFW_CFLAGS_WARNING "-W -Wall -Wextra -Wunreachable-code -Winline -Wlogica set(CARLFW_CFLAGS_EXTRA "-mbitops -std=gnu99 -ffunction-sections -Wframe-larger-than=128 -Werror") set(CARLFW_CFLAGS_DEF "-D__CARL9170FW__") if (CONFIG_CARL9170FW_AGGRESSIVE_CFLAGS) - set(CARLFW_CFLAGS_AGGRESSIVE "-fomit-frame-pointer -fsee -frename-registers -ftree-vectorize -flto -fstrict-volatile-bitfields") + set(CARLFW_CFLAGS_AGGRESSIVE "-fomit-frame-pointer -fsee -frename-registers -ftree-vectorize -flto -fstrict-volatile-bitfields -fmodulo-sched") endif (CONFIG_CARL9170FW_AGGRESSIVE_CFLAGS) include_directories (../include/linux ../include/shared ../include include) set(carl9170_main_src src/main.c src/wlan.c src/fw.c src/gpio.c src/cmd.c src/uart.c src/dma.c src/hostif.c src/reboot.S - src/printf.c src/rf.c src/cam.c) + src/printf.c src/rf.c src/cam.c src/wol.c) -set(carl9170_lib_src src/ashlsi3.S src/memcpy.S src/memset.S) +set(carl9170_lib_src src/ashlsi3.S src/memcpy.S src/memset.S src/udivsi3_i4i-Os.S) set(carl9170_usb_src usb/main.c usb/usb.c usb/fifo.c) set(carl9170_src ${carl9170_main_src} ${carl9170_lib_src} ${carl9170_usb_src}) @@ -27,6 +27,7 @@ set_source_files_properties(src/ashlsi3.S PROPERTIES LANGUAGE C) set_source_files_properties(src/memcpy.S PROPERTIES LANGUAGE C) set_source_files_properties(src/memset.S PROPERTIES LANGUAGE C) set_source_files_properties(src/reboot.S PROPERTIES LANGUAGE C) +set_source_files_properties(src/udivsi3_i4i-Os.S PROPERTIES LANGUAGE C) add_executable(carl9170.elf ${carl9170_src}) @@ -53,7 +54,7 @@ add_custom_command( ARGS --strip-unneeded -O binary -j .fwdsc carl9170.elf carl9170.dsc TARGET firmware OUTPUTS carl9170.dsc) - + add_custom_command( SOURCE firmware TARGET firmware