summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Housh <jaeger@morpheus.net>2017-11-24 14:45:24 -0600
committerMatt Housh <jaeger@morpheus.net>2017-11-24 14:45:24 -0600
commita8ad911bfbc53d1f9b64bc3112f120a0c92a3b3b (patch)
treeb62b01c5d31e4a21074957026635eb62d2378704 /Makefile
parentd8f081e6af31df3fd5507d209a61a18bc2112a4f (diff)
downloadiso-a8ad911bfbc53d1f9b64bc3112f120a0c92a3b3b.tar.gz
iso-a8ad911bfbc53d1f9b64bc3112f120a0c92a3b3b.tar.xz
Updated kernel to 4.9.61, added parallel kernel build, added rootfs-clean to clean target, added hacks script for bootstrap
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 09bb37f..162b5d3 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ CRUXVERSION = 3.3
CUSTOMVERSION =
COLLECTIONS = core opt xorg
KERNEL_MIRROR = https://cdn.kernel.org
-KERNEL_VERSION = 4.9.6
+KERNEL_VERSION = 4.9.61
KERNEL_PATCHES =
BB_VERSION = 1.25.1
MEMTEST_VERSION = 5.01
@@ -97,7 +97,7 @@ kernel/linux-$(KERNEL_VERSION)/arch/x86/boot/bzImage: kernel/linux-$(KERNEL_VERS
make -C kernel/linux-$(KERNEL_VERSION) mrproper
cp -f kernel/linux-$(KERNEL_VERSION).config kernel/linux-$(KERNEL_VERSION)/.config
make -C kernel/linux-$(KERNEL_VERSION) oldconfig
- make -C kernel/linux-$(KERNEL_VERSION) all
+ make -j$(shell nproc) -C kernel/linux-$(KERNEL_VERSION) all
kernel: kernel/linux-$(KERNEL_VERSION)/arch/x86/boot/bzImage
@@ -192,7 +192,7 @@ syslinux-distclean: syslinux-clean
-clean: kernel-clean busybox-clean initramfs-clean grub2-efi-clean
+clean: kernel-clean busybox-clean initramfs-clean grub2-efi-clean rootfs-clean
@rm -rf tmp modules_install.log $(ISO_FILENAME) \
`basename $(ISO_FILENAME) .iso`.md5
@@ -258,6 +258,7 @@ all-chroot: check-root
@rm -rf $(FAKE_ROOT_DIR)
bootstrap: check-root kernel
+ $(shell $(PWD)/hacks.sh)
@echo "Bootstrap started (`date +'%F %T'`)"
@echo "- Stage 0 (`date +'%F %T'`)"
@$(MAKE) all > log.stage0 2>&1

Generated by cgit