aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <somasis@exherbo.org>2016-02-12 00:39:38 -0500
committerKylie McClain <somasis@exherbo.org>2016-02-12 00:39:52 -0500
commita3cac8e7d275b472a8816f4b0766c914c5d62508 (patch)
tree69889e08d4a9be82085ba62935938b4d975f7c5f
parent11994612513f7c44d0dce6aae5de17508d1759d2 (diff)
downloadlighter-a3cac8e7d275b472a8816f4b0766c914c5d62508.tar.gz
lighter-a3cac8e7d275b472a8816f4b0766c914c5d62508.tar.xz
lighter-a3cac8e7d275b472a8816f4b0766c914c5d62508.zip
Makefile: fix default actions
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ef56054..7899710 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ all:
"JOBS" "$(JOBS)" \
"BUILD" "$(BUILD)"
@printf "\n"
- @$(MAKE) --no-print-directory buildall
+ @$(MAKE) --no-print-directory build
$(BUILD)/.prepare:
@printf "making build directories...\n"
@@ -65,13 +65,12 @@ $(BUILD)/.build-%: $(BUILD)/.toolchain $(BUILD)/.extract-%
$(BUILD)/initramfs.cpio.gz:
cd "$(BUILD)/root" && find . -print0 | cpio --null -ov --format=newc | gzip -9 > "$(BUILD)"/initramfs.cpio.gz
-pack: $(BUILD)/initramfs.cpio.gz
-buildall: $(foreach m,$(make),$(BUILD)/.build-$(m))
+buildall: $(foreach m,$(make),$(BUILD)/.build-$(m))
build:
@$(MAKE) --no-print-directory buildall
- @$(MAKE) --no-print-directory pack
+ @$(MAKE) --no-print-directory "$(BUILD)/initramfs.cpio.gz"
clean:
rm -rf downloads archives $(BUILD) toolchain
-.PHONY: all fetch
+.PHONY: all buildall build clean