Score
0
Watch 1 Star 3 Fork 0

码云极速下载 / riscv-rootfsC/C++

Join us
Explore and code with more than 2 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.
riscv-rootfs 是一个用于构建运行在 RISC-V Linux 上的 initramfs 简易文件系统镜像 spread retract

https://www.oschina.net/p/riscv-rootfs

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

Help Search