X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2FCMakeLists.txt;h=a32f68a9be379109490abead8be43787950a3110;hb=13859edfa20c4b84b575f8e872636fd8cdd81d7f;hp=b7057177e28e50222cf0527c0d25a74268979135;hpb=e72388a0aa23da8bc8e24a0cbe9d523c5a9ce294;p=carl9170fw.git diff --git a/carlfw/CMakeLists.txt b/carlfw/CMakeLists.txt index b705717..a32f68a 100644 --- a/carlfw/CMakeLists.txt +++ b/carlfw/CMakeLists.txt @@ -6,7 +6,7 @@ include("../extra/sh-elf-linux.cmake") include("../config.cmake") set(CARLFW_CFLAGS_WARNING "-W -Wall -Wextra -Wunreachable-code -Winline -Wlogical-op -Wno-packed-bitfield-compat -Winit-self -Wshadow -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wformat=2 -Wcast-align -Wmissing-format-attribute -Wmissing-prototypes -Wtype-limits -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wdisabled-optimization -Wpointer-arith -Wvolatile-register-var -Waddress -Wbad-function-cast -Wunsafe-loop-optimizations") -set(CARLFW_CFLAGS_EXTRA "-mbitops -std=gnu99 -ffunction-sections") +set(CARLFW_CFLAGS_EXTRA "-mbitops -std=gnu99 -ffunction-sections -Wframe-larger-than=128 -Werror") if (CONFIG_CARL9170FW_AGGRESSIVE_CFLAGS) set(CARLFW_CFLAGS_AGGRESSIVE "-fomit-frame-pointer -fsee -frename-registers -ftree-vectorize") @@ -14,7 +14,7 @@ endif (CONFIG_CARL9170FW_AGGRESSIVE_CFLAGS) include_directories (../include/linux ../include/shared ../include include) -set(carl9170_main_src src/main.c src/timer.c src/wlan.c src/fw.c src/gpio.c +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)