1 Star 0 Fork 22

西北狼/HeliosSDK

forked from QuecPython/HeliosSDK 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
link.mk 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
freddy.li 提交于 2021-11-12 19:33 +08:00 . update HeliosSDK
# Copyright (c) Quectel Wireless Solution, Co., Ltd.All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file 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 OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
$(TARGET_BIN): $(TARGET_ELF)
ifeq ($(strip $(PLAT)),Qualcomm)
$(Q)$(OBJCOPY_PY) --bin $^ --output $@
else
$(Q)$(OBJCOPY) $^ $@ -Obinary
endif
@echo ----- $@ updated
$(TARGET_HEX): $(TARGET_ELF)
$(Q)$(OBJCOPY) $^ $@ -Oihex
@echo ----- $@ updated
-include $(OUTPUT_LD_FILE).d
$(OUTPUT_LD_FILE): $(LD_FILE)
@echo
$(Q)$(CC) $(foreach inc, $(OUTPUT_SCRIPTS_INCS), -I$(inc)) $(CFLAGS) -E -P -x c -MD -MT $@ -MF $@.d -o $@ -c $<
@echo ----- $@ updated
$(TARGET_ELF): $(OUTPUT_LD_FILE) $(COMP_ARCHIVES) $(USER_ARCHIVES) $(STD_LIBS)
@echo
$(Q)$(LD) --whole-archive \
$(COMP_ARCHIVES) $(USER_ARCHIVES) --no-whole-archive $(STD_LIBS) \
-o $@ $(LDFLAGS)
@echo ----- $@ updated
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/xibeilang524/HeliosSDK.git
git@gitee.com:xibeilang524/HeliosSDK.git
xibeilang524
HeliosSDK
HeliosSDK
master

搜索帮助