Results 1 to 2 of 2

Thread: No Rule To Make Target: socfpga_cyclone5_config

  1. #1
    Join Date
    Jun 2018
    Posts
    20
    Rep Power
    1

    Default No Rule To Make Target: socfpga_cyclone5_config

    Hi everyone,

    I have a Cyclone V FPGA, using Quartus Lite 18.0, and EDS 18.0.0.614. When trying to make the preloader, after generating the BSP, I get the error:
    Code:
    ‘generated/build.h’ -> ‘uboot-socfpga/board/altera/socfpga/build.h’‘generated/iocsr_config_cyclone5.c’ -> ‘uboot-socfpga/board/altera/socfpga/iocsr_config_cyclone5.c’
    ‘generated/iocsr_config_cyclone5.h’ -> ‘uboot-socfpga/board/altera/socfpga/iocsr_config_cyclone5.h’
    ‘generated/reset_config.h’ -> ‘uboot-socfpga/board/altera/socfpga/reset_config.h’
    ‘generated/pll_config.h’ -> ‘uboot-socfpga/board/altera/socfpga/pll_config.h’
    ‘generated/pinmux_config_cyclone5.c’ -> ‘uboot-socfpga/board/altera/socfpga/pinmux_config_cyclone5.c’
    ‘generated/pinmux_config.h’ -> ‘uboot-socfpga/board/altera/socfpga/pinmux_config.h’
    ‘generated/sdram/sdram_config.h’ -> ‘uboot-socfpga/board/altera/socfpga/sdram/sdram_config.h’
    C:/intelFPGA/18.0/embedded/host_tools/cygwin/bin/make CROSS_COMPILE=arm-altera-eabi- MAKE=/bin/make CYGPATH=C:/intelFPGA/18.0/embedded/host_tools/cygwin/bin/cygpath HOSTCC=x86_64-w64-mingw32-gcc HOSTSTRIP=x86_64-w64-mingw32-strip -C uboot-socfpga socfpga_cyclone5_config
    make[1]: Entering directory '/cygdrive/c/Users/.../QuartusCode/soc_system_160807_restored/software/spl_bsp/uboot-socfpga'
    make[1]: *** No rule to make target 'socfpga_cyclone5_config'.  Stop.
    make[1]: Leaving directory '/cygdrive/c/.../QuartusCode/soc_system_160807_restored/software/spl_bsp/uboot-socfpga'
    make: *** [uboot-socfpga/.config] Error 2
    Which is strange since not 5 minutes before hand I was able to successfully run that command before I realized I did not enable FAT in the BSP editor. But now it won't work whether or not FAT is selected. I've tried restarting, regenerating the BSP, recompiling Quartus project, then regenerating, no dice. Was wondering if anyone had any advice?
    Last edited by andrew44; June 20th, 2018 at 06:34 AM.

  2. #2
    Join Date
    Jun 2018
    Posts
    20
    Rep Power
    1

    Default Re: No Rule To Make Target: socfpga_cyclone5_config

    Alright I figured it out in case anyone else is having the same issue here is the issue:

    In the folder:
    Code:
     C:....\soc_system_160807_restored\software\spl_bsp\uboot-socfpga
    There is a file called Makefile.orig. I edited out the .orig to make it just Makefile and it got rid of that error.

Similar Threads

  1. preloader make problem: socfpga_cyclone5_config, Error 2
    By Lars71dk in forum SoC Device Discussion
    Replies: 5
    Last Post: February 23rd, 2017, 02:28 PM
  2. "no rule to make target" error on nios software build tool
    By giorgio.lopez in forum General Discussion Forum
    Replies: 0
    Last Post: September 17th, 2013, 07:00 AM
  3. make: *** No rule to make target problem
    By lightline in forum General Discussion Forum
    Replies: 10
    Last Post: November 16th, 2010, 12:59 AM
  4. No rule to make target
    By kamardino2033 in forum General Discussion Forum
    Replies: 2
    Last Post: October 8th, 2010, 05:03 AM
  5. Build Make Target
    By feiwu in forum Linux Forum
    Replies: 3
    Last Post: August 19th, 2005, 04:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •