Article ID: 000086296 Content Type: Troubleshooting Last Reviewed: 08/16/2023

Why do I get makefile errors when compiling the Intel® Stratix® 10 Golden Hardware Reference Design Example for VGS2 devices?

Environment

  • Intel® Quartus® Prime Pro Edition
  • Linux*

    BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    When the makefile for the Intel® Stratix® 10 Golden Hardware Reference Design in the Intel SoC FPGA Embedded Development Suite is modified to target the 1SX280LU2F50E2VGS2 device found on the Intel Stratix 10 SX Development kit, the following errors may be seen when using the targets ‘scrub_clean’, ‘generate_from_tcl’, and ‘sof’:

    Makefile:474: warning: overriding recipe for target 'output_files/ghrd_1sx280lu2f50e2vgs2'

    Makefile:467: warning: ignoring old recipe for target 'output_files/ghrd_1sx280lu2f50e2vgs2'

    Makefile:483: warning: overriding recipe for target 'output_files/ghrd_1sx280lu2f50e2vgs2'

    Makefile:474: warning: ignoring old recipe for target 'output_files/ghrd_1sx280lu2f50e2vgs2'

    make: Circular output_files/ghrd_1sx280lu2f50e2vgs2 <- output_files/ghrd_1sx280lu2f50e2vgs2 dependency dropped.

    make: Circular _hps.sof <- output_files/ghrd_1sx280lu2f50e2vgs2 dependency dropped.

    make: *** No rule to make target 'ghrd_1sx280lu2f50e2vgs2', needed by 'stamp/18.1/quartus.stamp'.  Stop.

    Resolution

    The line in the makefile specifying the QUARTUS_DEVICE for the -S2 parts has a space character at the end of the line.  This character must be removed before the make targets will build without error.  Alternatively, one can run ‘make scrub_clean generate_from_tcl quartus_edit’, which will generate a new -S2 project and open Quartus.  From there, the GUI build flow will complete successfully.  This problem is fixed starting with the Intel® Quartus® Prime Pro/Standard Edition software with version 20.1 of the SoC Embedded Development Suite.

    Related Products

    This article applies to 2 products

    Intel® Stratix® 10 SX SoC FPGA
    Intel® Stratix® 10 TX FPGA