加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
local.mk 579 Bytes
一键复制 编辑 原始数据 按行查看 历史
#
# This file allows specifying a local folder using PKG_SOURCE_LOCAL.
#
# Every clean or prepare will remove $(PKG_BUILDDIR) and copy over
# $(PKG_SOURCE_LOCAL). This is intended to be used during package development.
#
# WARNING: any local changes made to $(PKG_BUILDDIR) *will* get lost!
.PHONY: prepare git-download clean
git-download:
@true
prepare: $(PKG_BUILDDIR)/.prepared
@true
$(PKG_BUILDDIR)/.prepared:
rm -Rf $(PKG_BUILDDIR)
mkdir -p $$(dirname $(PKG_BUILDDIR))
cp -a $(PKG_SOURCE_LOCAL) $(PKG_BUILDDIR)
touch $@
clean::
@rm -f $(PKG_BUILDDIR)/.prepared
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化