📄 common.mk
字号:
# # Copyright 2007, QNX Software Systems. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not reproduce, modify or distribute this software except in # compliance with the License. You may obtain a copy of the License # at: http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" basis, # WITHOUT WARRANTIES OF ANY KIND, either express or implied.# # This file may contain contributions from others, either as # contributors under the License or as licensors under other terms. # Please review this entire file for other proprietary rights or license # notices, as well as the QNX Development Suite License Guide at # http://licensing.qnx.com/license-guide/ for other information.# # General purpose makefile for building a Neutrino startup Lib#ifndef QCONFIGQCONFIG=qconfig.mkendifinclude $(QCONFIG)define PINFOPINFO DESCRIPTION=startup libraryendefASMOFF_FORMAT_x86 = cppNAME = startupDEFFILE = asmoff.def INSTALLDIR = usr/libMDRIVER_SRCPATH = $(MDRIVER_ROOT)/$(CPU) $(MDRIVER_ROOT)EXTRA_SRCVPATH += $(if $(wildcard $(MDRIVER_ROOT)/mdriver.c),$(MDRIVER_SRCPATH))-include ../../roots.mkifndef MDRIVER_ROOTMDRIVER_ROOT=$(PRODUCT_ROOT)/mdriverendifinclude $(MKFILES_ROOT)/qtargets.mkasmoff.def: $(PROJECT_ROOT)/asmoff.h $(CPU_ROOT)/asmoff.cCCVFLAG_64 = -D_PADDR_BITS=64CCFLAGS_gcc_ = -O2 -fomit-frame-pointerCCFLAGS_gcc_qcc = -O2 -Wc,-fomit-frame-pointerCCFLAGS = $(CCFLAGS_$(COMPILER_TYPE)_$(COMPILER_DRIVER))## Allow us to generate the deprecated sections#CCFLAGS += -DENABLE_DEPRECATED_SYSPAGE_SECTIONS## This particular little kludge is to stop GCC from using F.P. instructions# to move 8 byte quantities around. #CC_nto_ppc_gcc += -msoft-floatCC_nto_ppc_gcc_qcc += -Wc,-msoft-floatcallout_interrupt_mips_smp.o: callout_interrupt_mips_smp.S callout_interrupt_mips.S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -