build: Rebuild when Portage config changes
The `host-tools` and `build` targets will now be rebuilt automatically when the respective Portage configuration changes.
This commit is contained in:
2
Makefile
2
Makefile
@@ -17,6 +17,7 @@ prepare: $(O)/.prepared
|
|||||||
$(O)/.host-tools: \
|
$(O)/.host-tools: \
|
||||||
build-host-tools.sh \
|
build-host-tools.sh \
|
||||||
host-tools.packages \
|
host-tools.packages \
|
||||||
|
$(shell find portage/config/host -type f) \
|
||||||
$(O)/.prepared
|
$(O)/.prepared
|
||||||
./build-host-tools.sh
|
./build-host-tools.sh
|
||||||
touch $(O)/.host-tools
|
touch $(O)/.host-tools
|
||||||
@@ -27,6 +28,7 @@ $(O)/.built: \
|
|||||||
build.sh \
|
build.sh \
|
||||||
build.packages \
|
build.packages \
|
||||||
install.packages \
|
install.packages \
|
||||||
|
$(shell find portage/config/target -type f) \
|
||||||
$(O)/.host-tools \
|
$(O)/.host-tools \
|
||||||
$(O)/.prepared
|
$(O)/.prepared
|
||||||
./build.sh
|
./build.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user