Add image and r.PACKAGE targets
This commit is contained in:
parent
8a4b12150b
commit
1bc9362245
6
Makefile
6
Makefile
|
@ -8,6 +8,12 @@ all: $(BUILD)/harddrive.img
|
||||||
|
|
||||||
live: $(BUILD)/livedisk.iso
|
live: $(BUILD)/livedisk.iso
|
||||||
|
|
||||||
|
image:
|
||||||
|
-$(FUMOUNT) $(BUILD)/filesystem/ || true
|
||||||
|
-$(FUMOUNT) /tmp/redox_installer/ || true
|
||||||
|
rm -rf $(BUILD)/harddrive.img
|
||||||
|
$(MAKE) all
|
||||||
|
|
||||||
rebuild:
|
rebuild:
|
||||||
-$(FUMOUNT) $(BUILD)/filesystem/ || true
|
-$(FUMOUNT) $(BUILD)/filesystem/ || true
|
||||||
-$(FUMOUNT) /tmp/redox_installer/ || true
|
-$(FUMOUNT) /tmp/redox_installer/ || true
|
||||||
|
|
10
mk/repo.mk
10
mk/repo.mk
|
@ -26,3 +26,13 @@ else
|
||||||
touch $<
|
touch $<
|
||||||
touch $@
|
touch $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Invoke repo.sh for a single target
|
||||||
|
r.%: FORCE
|
||||||
|
ifeq ($(PODMAN_BUILD),1)
|
||||||
|
$(PODMAN_RUN) $(MAKE) $@
|
||||||
|
else
|
||||||
|
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||||
|
cd cookbook && \
|
||||||
|
./repo.sh $*
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue