📄 mipsel-uclibc-gcc_tools.mk
字号:
###############################################################################
## ##
## Copyright (c) 2006 Videon Central, Inc. ##
## All rights reserved. ##
## ##
## The makefile contained herein contains proprietary information which ##
## is the property of Videon Central, Inc. The makefile may be used ##
## and/or copied only with the written permission of Videon Central, Inc. ##
## or in accordance with the terms and conditions stipulated in the ##
## agreement/contract under which the makefile has been supplied. ##
## ##
###############################################################################
#######################################################################################################################
#
# mipssel-uclibc-gcc_tools.mk Linux Mips Cross Compiler Tools
#
# $Revision: 1.4 $
#
# INPUT: MODULE_DEBUG_BUILD = YES if debug build
#
# Makefile written for GNU make (v3.8 known to work)
#
#######################################################################################################################
#-static-libgcc
#-Wl,-rpath Set runtime shared library search path (where are the c/c++ shared libraries at runtime?)
#-Wl,/usr/local/lib runtime library search path (...here.^)
#-Wl,-Bstatic Do not link against shared libraries (no dynamic linking to c or c++ shared library)
C_COMPILER := mipsel-uclibc-gcc
CPP_COMPILER := mipsel-uclibc-gcc
LINKER := mipsel-uclibc-g++
LINKER_FLAGS := -static-libgcc -Wl,-Bstatic -Wl,-rpath -Wl,/usr/local/lib
COMPILER_WARNINGS :=
ifeq ($(strip $(MODULE_DEBUG_BUILD)),"YES")
COMMON_COMPILER_FLAGS := $(COMPILER_WARNINGS) -MMD -g -pipe -W -O0 -c
else
COMMON_COMPILER_FLAGS := $(COMPILER_WARNINGS) -MMD -pipe -W -O2 -c
endif
C_COMPILER_FLAGS := $(COMMON_COMPILER_FLAGS) -fno-exceptions
CPP_COMPILER_FLAGS := $(COMMON_COMPILER_FLAGS) -fno-rtti -fno-exceptions
ifeq ($(strip $(MAKE_SILENT)),YES)
MKDIR := @mkdir -p
RMDIR := @rm -rf
RM := @rm -f
else
MKDIR := mkdir -p
RMDIR := rm -rf
RM := rm -f
endif
COMPILER_INCLUDE_DIRECTORY_FLAG := -I
COMPILER_DEFINE_SYMBOL_FLAG := -D
LINKER_INCLUDE_LIBRARY_FLAG := -l
OBJECTCODE_FILE_EXTENSION := .o
LIBRARY_FILE_EXTENSION := .a
DEPEND_FILE_EXTENSION := .d
include $(SDK_ROOT_DIRECTORY)/build/common/gcc/gcc_build_rules.mk
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -