加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
configure.mk 829 Bytes
一键复制 编辑 原始数据 按行查看 历史
ifeq (, $(COMP))
COMP = $(shell which halcompile)
endif
ifeq (, $(COMP))
COMP = $(shell which comp)
endif
ifeq (, $(COMP))
$(error halcompile/comp executable not found or set)
endif
.PHONY: configure
configure:
@echo "COMP = $(COMP)"
@echo "MODINC = $(MODINC)"
@echo "BUILDSYS = $(BUILDSYS)"
@echo "KERNELDIR = $(KERNELDIR)"
@echo "CC = $(CC)"
@echo "RTAI = $(RTAI)"
@echo "RTFLAGS = $(RTFLAGS)"
@echo "KERNELRELEASE = $(KERNELRELEASE)"
@echo "EXTRA_CFLAGS = $(EXTRA_CFLAGS)"
@echo "USE_RTLIBM = $(USE_RTLIBM)"
@echo "EMC2_HOME = $(EMC2_HOME)"
@echo "RUN_IN_PLACE = $(RUN_IN_PLACE)"
@echo "RTLIBDIR = $(RTLIBDIR)"
@echo "LIBDIR = $(LIBDIR)"
@echo "prefix = $(prefix)"
# include modinc
MODINC=$(shell $(COMP) --print-modinc)
ifeq (, $(MODINC))
$(error Unable to get modinc path)
endif
include $(MODINC)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化