mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-16 17:46:48 +00:00
License Makefile, shell scripts, assembly source code, Dockerfile
This commit is contained in:
parent
faaa4438d6
commit
0920a084e4
2
Makefile
2
Makefile
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
# Make varaiables and defaults, you should refer to aster-runner for more details
|
||||
AUTO_TEST ?= none
|
||||
BOOT_METHOD ?= qemu-grub
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
// The boot header, initial boot setup code, temporary GDT and page tables are
|
||||
// in the boot section. The boot section is mapped writable since kernel may
|
||||
// modify the initial page table.
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
.text
|
||||
.global context_switch
|
||||
.code64
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
.section ".setup", "ax"
|
||||
.code64
|
||||
// start_of_setup32 should be loaded at CODE32_START, which is our base.
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
// 32-bit setup code starts here, and will be loaded at CODE32_START.
|
||||
.section ".setup", "ax"
|
||||
.code32
|
||||
|
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
CUR_DIR := $(patsubst %/,%,$(dir $(MKFILE_PATH)))
|
||||
BUILD_DIR := $(CUR_DIR)/build
|
||||
|
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
MAKEFLAGS += --no-builtin-rules # Prevent the implicit rules from compiling ".c" or ".s" files automatically.
|
||||
MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
CUR_DIR := $(patsubst %/,%,$(dir $(MKFILE_PATH)))
|
||||
|
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
MAIN_MAKEFILE := $(firstword $(MAKEFILE_LIST))
|
||||
INCLUDE_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
||||
CUR_DIR := $(shell dirname $(realpath $(MAIN_MAKEFILE)))
|
||||
|
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
TESTS ?= chmod_test fsync_test getdents_test link_test lseek_test mkdir_test \
|
||||
open_create_test open_test pty_test read_test rename_test stat_test \
|
||||
statfs_test symlink_test sync_test uidgid_test unlink_test \
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
SCRIPT_DIR=$(dirname "$0")
|
||||
TEST_TMP_DIR=${SYSCALL_TEST_DIR:-/tmp}
|
||||
TEST_BIN_DIR=$SCRIPT_DIR/tests
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
# This script is used to update Asterinas version numbers in all relevant files in the repository.
|
||||
# Usage: ./tools/bump_version.sh <new_version>
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
FROM ubuntu:22.04 as build-base
|
||||
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
|
Loading…
x
Reference in New Issue
Block a user