From a5a642cb9a10c1c1d56e70195bdee3cb1789cd03 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 12 Mar 2023 10:24:06 -0500 Subject: [PATCH] build: Rebuild when Portage config changes The `host-tools` and `build` targets will now be rebuilt automatically when the respective Portage configuration changes. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 8ab232e..9da05e3 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ prepare: $(O)/.prepared $(O)/.host-tools: \ build-host-tools.sh \ host-tools.packages \ + $(shell find portage/config/host -type f) \ $(O)/.prepared ./build-host-tools.sh touch $(O)/.host-tools @@ -27,6 +28,7 @@ $(O)/.built: \ build.sh \ build.packages \ install.packages \ + $(shell find portage/config/target -type f) \ $(O)/.host-tools \ $(O)/.prepared ./build.sh