Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Output: make CROSS_COMPILE=arm-none-eabi- -C uboot-socfpga socfpga_cyclone5_config make[1]: Entering directory `/home/lmh/soctraining/Lab1/software/spl_bsp/uboot-socfpga' make[1]: Leaving directory `/home/lmh/soctraining/Lab1/software/spl_bsp/uboot-socfpga' make[1]: Entering directory `/home/lmh/soctraining/Lab1/software/spl_bsp/uboot-socfpga' /bin/sh: 0: Illegal option - make[1]: *** [socfpga_cyclone5_config] Error 2 make[1]: Leaving directory `/home/lmh/soctraining/Lab1/software/spl_bsp/uboot-socfpga' make: *** [config] Error 2 --- Quote End --- Hi, What Quartus version are you using: 13.0 or 13.0 with SP1? I have similar problem under Win7-64bit by using 13.0 SP1. As I experienced the problem occurs with the BSP generated Makefile. from which the preloader has to be built ('make all'). If you open Makefile. make sure that the definition for $(SOCFPGA_BOARD) global variable exists. If it is missed in the generated Makefile, you should change the following lines manually: # ####################### # Generated Variables SOCFPGA_BOARD := socfpga_cyclone5 # ################### # Derived Variables PRELOADER_UPDATE_DIR := $(PRELOADER_SRC_DIR)/board/altera/$(SOCFPGA_BOARD) ... # ########### # Configure ... $(MAKE) $(MAKE_ARGS) -C $(PRELOADER_SRC_DIR) $(SOCFPGA_BOARD)_config I hope this will help. Regards, ZS.V.