2 Star 5 Fork 0

Gitee 极速下载 / riscv-rootfs

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/LvNA-system/riscv-rootfs
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Makefile.app 530 Bytes
Copy Edit Web IDE Raw Blame History
ifeq ($(RISCV_ROOTFS_HOME),)
$(error RISCV_ROOTFS_HOME is not defined)
endif
ifeq (run, $(firstword $(MAKECMDGOALS)))
RUN_ARGS := $(wordlist 2, $(words $(MAKECMDGOALS)), $(MAKECMDGOALS))
$(eval $(RUN_ARGS):;@:)
endif
APP_DIR ?= $(shell pwd)
INC_DIR += $(APP_DIR)/include/
DST_DIR ?= $(APP_DIR)/build/
APP ?= $(APP_DIR)/build/$(NAME)
.DEFAULT_GOAL = $(APP)
$(shell mkdir -p $(DST_DIR))
.PHONY: install clean
install: $(APP)
@ln -sf $(APP) $(RISCV_ROOTFS_HOME)/rootfsimg/build/$(NAME)
clean:
rm -rf $(APP_DIR)/build/

Comment ( 0 )

Sign in for post a comment

C/C++
1
https://gitee.com/mirrors/riscv-rootfs.git
git@gitee.com:mirrors/riscv-rootfs.git
mirrors
riscv-rootfs
riscv-rootfs
master

Search