diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-06 13:22:04 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-06 13:22:04 +0100 |
commit | a9ef380662da3efa382017ff8423f1a894b31bfd (patch) | |
tree | 26c160523c050945502408148faae6508712033b /state.mk | |
parent | ae327cc50fd9d3e59e9f60088243adfc69cb312e (diff) |
dynamic linking application starts
Diffstat (limited to 'state.mk')
-rw-r--r-- | state.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/state.mk b/state.mk new file mode 100644 index 0000000..394b78e --- /dev/null +++ b/state.mk @@ -0,0 +1,18 @@ +state/container_img: Containerfile + $(CTR) build --tag $(CTR_IMG_TAG) . + touch $@ + +state/submodules: + git submodule update --init + touch $@ + +state/sdcard_part: + $(AS_ROOT) util/part $(SDCARD_DISK) + touch $@ + +state/sdcard_fmt: state/sdcard_part + $(eval $(shell state/gen)) + $(AS_ROOT) mkfs.vfat -a -F 16 -n BOOT $(SDCARD_PART_BOOT) + $(AS_ROOT) mkfs.ext4 -F -L ROOTFS $(SDCARD_PART_ROOTFS) + touch $@ + |