Skip to content

Commit

Permalink
refactor: Make fs the default target
Browse files Browse the repository at this point in the history
  • Loading branch information
vfusco committed Dec 3, 2023
1 parent 43fd7b0 commit 1a7c69f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ IMAGE_KERNEL_VERSION ?= v0.19.0
LINUX_VERSION ?= 6.5.9-ctsi-1
LINUX_HEADERS_URLPATH := https://github.com/cartesi/image-kernel/releases/download/${IMAGE_KERNEL_VERSION}/linux-libc-dev-${LINUX_VERSION}-${IMAGE_KERNEL_VERSION}.deb

all: $(TOOLS_DEB)
all: fs

build: control
@if ! (docker image inspect "$(TOOLS_IMAGE)" >/dev/null 2>&1) || [[ "$(force)" == "true" ]]; then \
Expand Down Expand Up @@ -89,7 +89,10 @@ help:
@echo ' clean - remove the generated artifacts'
@echo ' distclean - clean and remove dependencies'

clean:
rm -f $(TOOLS_DEB) control rootfs*
clean-image:
@(docker rmi $(TOOLS_IMAGE) > /dev/null 2>&1 || true)

clean: clean-image
@rm -f $(TOOLS_DEB) control rootfs*

.PHONY: build fs deb env setup setup-required help distclean

0 comments on commit 1a7c69f

Please sign in to comment.