24 lines
1009 B
Makefile
24 lines
1009 B
Makefile
# Licensing-service StartOS package build.
|
|
#
|
|
# Most of the build logic is shared across all StartOS packages and lives in
|
|
# `s9pk.mk`, which is copied from the `hello-world-startos` template. Pull
|
|
# that file in alongside this Makefile.
|
|
#
|
|
# Common targets:
|
|
# make -- build for all supported architectures
|
|
# make x86 -- build for x86_64 only
|
|
# make arm -- build for aarch64 only
|
|
# make universal -- build a single universal package
|
|
# make install -- install to the StartOS server referenced by
|
|
# your ~/.startos/developer.key.pem
|
|
# make clean -- wipe build artifacts
|
|
#
|
|
# Chain targets when needed: `make clean arm install`.
|
|
|
|
# Only x86_64 and aarch64 are supported and declared in the manifest. The shared
|
|
# s9pk.mk defaults ARCHES to include riscv; override it here so a bare `make`
|
|
# (which builds every arch in ARCHES) does not attempt an unverified riscv build.
|
|
ARCHES := x86 arm
|
|
|
|
include s9pk.mk
|