Skip to content

Commit 72ab7e7

Browse files
committed
Makefile naming change
1 parent d57220d commit 72ab7e7

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

s9pk.mk

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
PACKAGE_ID := $(shell awk -F"'" '/id:/ {print $$2}' startos/manifest/index.ts)
22
INGREDIENTS := $(shell start-cli s9pk list-ingredients 2>/dev/null)
3-
ALL_ARCHES ?= x86 arm riscv
4-
ALL_TARGETS ?= all_arches
3+
ARCHES ?= x86 arm riscv
4+
TARGETS ?= arches
55
ifdef VARIANT
66
BASE_NAME := $(PACKAGE_ID)_$(VARIANT)
77
else
88
BASE_NAME := $(PACKAGE_ID)
99
endif
1010

11-
.PHONY: all all_arches aarch64 x86_64 riscv64 arm arm64 x86 riscv arch/* clean install check-deps check-init package ingredients
11+
.PHONY: all arches aarch64 x86_64 riscv64 arm arm64 x86 riscv arch/* clean install check-deps check-init package ingredients
1212
.DELETE_ON_ERROR:
1313
.SECONDARY:
1414

@@ -33,9 +33,9 @@ define SUMMARY
3333
echo ""
3434
endef
3535

36-
all: $(ALL_TARGETS)
36+
all: $(TARGETS)
3737

38-
all_arches: $(ALL_ARCHES)
38+
arches: $(ARCHES)
3939

4040
universal: $(BASE_NAME).s9pk
4141
$(call SUMMARY,$<)
@@ -87,8 +87,8 @@ publish: | all
8787
fi; \
8888
command -v s3cmd >/dev/null || \
8989
(echo "Error: s3cmd not found. It must be installed to publish using s3." && exit 1)
90-
printf "\n🚀 Publishing $(ALL_TARGETS) to %s; indexing on %s ...\n" "$$S3BASE" "$$REGISTRY"; \
91-
for s9pk in $(ALL_TARGETS); do \
90+
printf "\n🚀 Publishing $(TARGETS) to %s; indexing on %s ...\n" "$$S3BASE" "$$REGISTRY"; \
91+
for s9pk in $(TARGETS); do \
9292
start-cli s9pk publish $$s9pk; \
9393
done
9494

startos/manifest/index.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ export const manifest = setupManifest({
1414
'https://github.com/Start9Labs/synapse-startos/blob/master/instructions.md',
1515
description: { short, long },
1616
volumes: ['main'],
17-
hardwareRequirements: {},
18-
alerts: {
19-
install: null,
20-
update: null,
21-
uninstall: null,
22-
restore: null,
23-
start: null,
24-
stop: null,
25-
},
2617
images: {
2718
synapse: {
2819
source: {

0 commit comments

Comments
 (0)