From caa5424e2aff669d5228f84224ddde2baeb4e9fa Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 16 May 2018 18:58:12 +0200 Subject: [PATCH] Makefile: Rebuild buildroot when its .config changes --- build/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/build/Makefile b/build/Makefile index d4f92bb..8347c17 100644 --- a/build/Makefile +++ b/build/Makefile @@ -6,6 +6,7 @@ NPROC:=$(shell nproc) image.fit: buildroot/images/rootfs.cpio.uboot linux-4.4/vmlinux mkimage -f auto -d linux-4.4/arch/arm64/boot/Image -i buildroot/images/rootfs.cpio.uboot -b linux-4.4/arch/arm64/boot/dts/tegra186-quill-p3310-1000-c03-00-base.dtb image.fit +buildroot/images/rootfs.cpio.uboot: ./buildroot/.config buildroot/images/rootfs.cpio.uboot: rootfs-overlay/lib/firmware/jailhouse.bin rootfs-overlay/lib/modules/4.4.38+/modules.dep buildroot/images/rootfs.cpio.uboot: $(shell find rootfs-overlay) $(MAKE) -j1 -C buildroot ROOTFS_CPIO_COMPRESS_CMD="gzip --fast -c" -- 2.39.2