Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions user/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GARBAGE := $(foreach DIR,$(DIRS),$(addprefix $(DIR)/,$(GARBAGE_PATTERNS)))

DADK_VERSION=$(shell dadk -V | awk 'END {print $$2}')
# 最小的DADK版本
MIN_DADK_VERSION = 0.1.8
MIN_DADK_VERSION = 0.1.10
DADK_CACHE_DIR = $(ROOT_PATH)/bin/dadk_cache

ECHO:
Expand Down Expand Up @@ -60,11 +60,10 @@ all:
@echo 用户态程序编译完成

copy_services: dadk_run
@mkdir -p $(ROOT_PATH)/bin/sysroot/etc/reach/system
cp -r services/* $(ROOT_PATH)/bin/sysroot/etc/reach/system/




.PHONY: clean
clean:
rm -rf $(GARBAGE)
Expand Down
26 changes: 26 additions & 0 deletions user/dadk/config/core_utils-9.4.0.dadk
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Core utils",
"version": "9.4.0",
"description": "GNU Core utils",
"task_type": {
"BuildFromSource": {
"Archive": {
"url": "https://mirrors.dragonos.org.cn/pub/third_party/gnu/coreutils/coreutils-9.4.tar.xz"
}
}
},
"depends": [],
"build": {
"build_command": "./configure CC=x86_64-linux-musl-gcc CFLAGS=-static && make -j $(nproc) && DESTDIR=$DADK_CURRENT_BUILD_DIR make install"
},
"clean": {
"clean_command": "make clean"
},
"install": {
"in_dragonos_path": "/"
},

"build_once": true,

"install_once": true
}
5 changes: 4 additions & 1 deletion user/dadk/config/musl_1_2_4.dadk
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
"clean": {
"clean_command": "make clean"
},
"envs": []
"envs": [],
"build_once": true,

"install_once": true
}