From c941f34c05872a54c71522972d0a038fbb56a63c Mon Sep 17 00:00:00 2001 From: Windsome Zeng Date: Tue, 9 Aug 2022 17:55:26 +0800 Subject: [PATCH] Use install hooks to avoid rebuild problem. --- package/weston/weston.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/weston/weston.mk b/package/weston/weston.mk index 2d6f92f4..6e638232 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -164,10 +164,12 @@ else WESTON_CONF_OPTS += -Ddemo-clients=false endif -define WESTON_INSTALL_TARGET_CMDS +define WESTON_INSTALL_CONF_ON_TARGET $(INSTALL) -D -m 0644 package/weston/weston.ini $(TARGET_DIR)/etc/xdg/weston/weston.ini $(INSTALL) -D -m 0644 package/weston/Compose $(TARGET_DIR)/root/.config/XCompose $(INSTALL) -D -m 0755 package/weston/run_weston.sh $(TARGET_DIR)/root/run_weston.sh endef +WESTON_POST_INSTALL_TARGET_HOOKS += WESTON_INSTALL_CONF_ON_TARGET + $(eval $(meson-package))