mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-01 09:08:42 +08:00
Compare commits
15 Commits
f0bfc643f0
...
3b76ebaa9f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b76ebaa9f | ||
|
|
e587acf4df | ||
|
|
3cab7ea045 | ||
|
|
a9eb7d2f16 | ||
|
|
9e2de0f7e2 | ||
|
|
722ebf6f30 | ||
|
|
2188396298 | ||
|
|
059f8f0bf2 | ||
|
|
110e49d080 | ||
|
|
174fcaa6b9 | ||
|
|
33283b91d8 | ||
|
|
0c1ea19680 | ||
|
|
cb619120a4 | ||
|
|
47805f2362 | ||
|
|
2607824648 |
@ -12,4 +12,3 @@ include = ["../desktop.toml"]
|
||||
# Package settings
|
||||
[packages]
|
||||
# example = {}
|
||||
rustpython = "ignore" # not tested
|
||||
|
||||
@ -21,7 +21,7 @@ orbdata = {}
|
||||
orbital = {}
|
||||
orbutils = {}
|
||||
pop-icon-theme = {}
|
||||
#rustpython = {} # not compiling with our rust version
|
||||
rustpython = {}
|
||||
shared-mime-info = {}
|
||||
patchelf = {}
|
||||
|
||||
|
||||
@ -77,7 +77,7 @@ data = """
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello, Redox!\n");
|
||||
printf("Hello, Redox!\\n");
|
||||
}
|
||||
"""
|
||||
|
||||
|
||||
@ -170,7 +170,7 @@ rs-nes = {}
|
||||
rust64 = {}
|
||||
#rust-cairo = {} # linking errors
|
||||
#rust-cairo-demo = {} # linking errors
|
||||
#rustpython = {} # undefined constants S_IWRITE and S_IEXEC (upstream should be fixed)
|
||||
rustpython = {}
|
||||
rustual-boy = {}
|
||||
#schismtracker = {} # uses system includes
|
||||
scummvm = {}
|
||||
|
||||
2
cookbook
2
cookbook
@ -1 +1 @@
|
||||
Subproject commit b87024711a1d4b9c0e8388f7ad2d869c679a91d9
|
||||
Subproject commit 8fa5b0b2729a6ba045e9f478162cb444ffd1d012
|
||||
16
mk/config.mk
16
mk/config.mk
@ -16,8 +16,9 @@ REPO_BINARY?=0
|
||||
## Name of the configuration to include in the image name e.g. desktop or server
|
||||
CONFIG_NAME?=desktop
|
||||
## Ignore errors when building the repo, attempt to build every package
|
||||
## REPO_NONSTOP?=--nonstop
|
||||
REPO_NONSTOP?=
|
||||
REPO_NONSTOP?=0
|
||||
## Do not update source repos, attempt to build in offline condition
|
||||
REPO_OFFLINE?=0
|
||||
## Select filesystem config
|
||||
ifeq ($(BOARD),)
|
||||
FILESYSTEM_CONFIG?=config/$(ARCH)/$(CONFIG_NAME).toml
|
||||
@ -56,6 +57,17 @@ ifeq (,$(shell command -v sccache))
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(REPO_NONSTOP),1)
|
||||
REPO_NONSTOP=--nonstop
|
||||
else ifeq ($(REPO_NONSTOP),0)
|
||||
REPO_NONSTOP=
|
||||
endif
|
||||
ifeq ($(REPO_OFFLINE),1)
|
||||
REPO_OFFLINE=--offline
|
||||
else ifeq ($(REPO_OFFLINE),0)
|
||||
REPO_OFFLINE=
|
||||
endif
|
||||
|
||||
UNAME := $(shell uname)
|
||||
ifeq ($(UNAME),Darwin)
|
||||
FUMOUNT=umount
|
||||
|
||||
@ -114,6 +114,7 @@ $(PREFIX)/sysroot: $(PREFIX)/relibc-install $(PREFIX)/libtool-build $(CONTAINER_
|
||||
ifeq ($(PODMAN_BUILD),1)
|
||||
$(PODMAN_RUN) $(MAKE) $@
|
||||
else
|
||||
rm -rf "$@"
|
||||
cp -r "$(PREFIX)/relibc-install/" "$@"
|
||||
PATH="$(ROOT)/$(PREFIX)/rust-install/bin:$$PATH" && \
|
||||
cd "$(PREFIX)/libtool-build" && \
|
||||
|
||||
@ -8,7 +8,7 @@ else
|
||||
PACKAGES="$$($(LIST_PACKAGES) $(LIST_PACKAGES_OPTS) -c $(FILESYSTEM_CONFIG))" && \
|
||||
export COOKBOOK_HOST_SYSROOT="$(ROOT)/$(PREFIX_INSTALL)" && \
|
||||
cd cookbook && \
|
||||
./fetch.sh "$${PACKAGES}"
|
||||
./fetch.sh $(REPO_NONSTOP) $(REPO_OFFLINE) "$${PACKAGES}"
|
||||
mkdir -p $(BUILD)
|
||||
touch $@
|
||||
endif
|
||||
@ -21,7 +21,7 @@ else
|
||||
export COOKBOOK_HOST_SYSROOT="$(ROOT)/$(PREFIX_INSTALL)" && \
|
||||
PACKAGES="$$($(LIST_PACKAGES) $(LIST_PACKAGES_OPTS) -c $(FILESYSTEM_CONFIG))" && \
|
||||
cd cookbook && \
|
||||
./repo.sh $(REPO_NONSTOP) "$${PACKAGES}"
|
||||
./repo.sh $(REPO_NONSTOP) $(REPO_OFFLINE) "$${PACKAGES}"
|
||||
mkdir -p $(BUILD)
|
||||
# make sure fstools.tag and fetch.tag are newer than the things repo modifies
|
||||
touch $(FSTOOLS_TAG)
|
||||
|
||||
@ -56,6 +56,7 @@ RUN useradd --create-home --no-log-init --uid _UID_ poduser \
|
||||
m4 \
|
||||
make \
|
||||
meson \
|
||||
mold \
|
||||
nasm \
|
||||
ninja-build \
|
||||
patch \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user