OpenCores
URL https://opencores.org/ocsvn/ao486/ao486/trunk

Subversion Repositories ao486

[/] [ao486/] [trunk/] [syn/] [soc/] [firmware/] [exe_bsp/] [Makefile] - Diff between revs 2 and 7

Show entire file | Details | Blame | View Log

Rev 2 Rev 7
Line 65... Line 65...
ABS_BSP_ROOT := $(call adjust-path-mixed,$(shell pwd))
ABS_BSP_ROOT := $(call adjust-path-mixed,$(shell pwd))
 
 
# Stash all BSP object files here
# Stash all BSP object files here
OBJ_DIR := ./obj
OBJ_DIR := ./obj
 
 
NEWLIB_DIR = $(BSP_ROOT_DIR)/newlib
 
 
 
 
 
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
#                              MANAGED CONTENT
#                              MANAGED CONTENT
#
#
# All content between the lines "START MANAGED" and "END MANAGED" below is
# All content between the lines "START MANAGED" and "END MANAGED" below is
Line 93... Line 91...
# makefile is associated with.
# makefile is associated with.
# TYPE: BSP_PRIVATE_MAKEFILE
# TYPE: BSP_PRIVATE_MAKEFILE
 
 
# This following VERSION comment indicates the version of the tool used to
# This following VERSION comment indicates the version of the tool used to
# generate this makefile. A makefile variable is provided for VERSION as well.
# generate this makefile. A makefile variable is provided for VERSION as well.
# ACDS_VERSION: 13.1
# ACDS_VERSION: 14.0
ACDS_VERSION := 13.1
ACDS_VERSION := 14.0
 
 
# This following BUILD_NUMBER comment indicates the build number of the tool
# This following BUILD_NUMBER comment indicates the build number of the tool
# used to generate this makefile.
# used to generate this makefile.
# BUILD_NUMBER: 162
# BUILD_NUMBER: 200
 
 
SETTINGS_FILE := settings.bsp
SETTINGS_FILE := settings.bsp
SOPC_FILE := ../../system.sopcinfo
SOPC_FILE := ../../system.sopcinfo
 
 
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
Line 731... Line 729...
 
 
ifneq ($(COMPILE_NEWLIB),)
ifneq ($(COMPILE_NEWLIB),)
NEWLIB_FLAGS += $(BSP_CFLAGS)
NEWLIB_FLAGS += $(BSP_CFLAGS)
endif
endif
 
 
ifneq ($(NEWLIB_FLAGS),)
ifneq ($(NEWLIB_DIR),)
ALT_LIBRARY_DIRS += $(NEWLIB_DIR)/nios2-elf/lib
 
endif
 
 
 
$(NEWLIB_DIR):
$(NEWLIB_DIR):
ifneq ($(NEWLIB_FLAGS),)
 
        @$(ECHO) Creating $(NEWLIB_DIR)...
        @$(ECHO) Creating $(NEWLIB_DIR)...
        nios2-newlib-gen --no-multilib $(NEWLIB_DIR)-build-tmp $(NEWLIB_DIR) --custom "$(NEWLIB_FLAGS)"
        nios2-newlib-gen --no-multilib $(NEWLIB_DIR)-build-tmp $(NEWLIB_DIR) --custom "$(NEWLIB_FLAGS)"
        @$(ECHO) Removing $(NEWLIB_DIR)-build-tmp...
        @$(ECHO) Removing $(NEWLIB_DIR)-build-tmp...
        @$(RM) -rf $(NEWLIB_DIR)-build-tmp
        @$(RM) -rf $(NEWLIB_DIR)-build-tmp
endif
endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.