瀏覽代碼

remove invalid command

VintagePC 2 年之前
父節點
當前提交
739ccdf804
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      CMakeLists.txt

+ 0 - 2
CMakeLists.txt

@@ -100,8 +100,6 @@ function(fw_add_variant variant_name)
 #   # configure linker script
    set(LINKER_SCRIPT ${PROJECT_SOURCE_DIR}/.dependencies/1.8.19-1.0.5-1-linux-64/portable/packages/PrusaResearch/hardware/avr/1.0.5-1/ldscripts/avr6.xn)
    target_link_options(${variant_name} PUBLIC -Wl,-T,${LINKER_SCRIPT})
-   add_link_dependency(${variant_name} ${LINKER_SCRIPT})
-
 
   # limit the text section to 248K (256K - 8k reserved for the bootloader)
   target_link_options(${variant_name} PUBLIC -Wl,--defsym=__TEXT_REGION_LENGTH__=248K)