From 9d1b223b91b08acdb52611864ae5921b9f3c757b Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 11 Feb 2023 10:42:02 +0100 Subject: [PATCH] package/pkg-waf: add missing $ We want to have $(@D) expanded at the time the recipe is run, so like all other variables, we need to $$-expand it. Fixes: 1b4d7f6e13212b4c65ec2832681719fd960e75e6 Fixes: http://autobuild.buildroot.org/results/b6f/b6fd3a866af182edc7831492aecc8323f377b826 Signed-off-by: Romain Naour Cc: Yann E. MORIN Cc: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/pkg-waf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-waf.mk b/package/pkg-waf.mk index 0e752072c8..c3e965bdf3 100644 --- a/package/pkg-waf.mk +++ b/package/pkg-waf.mk @@ -42,7 +42,7 @@ define inner-waf-package # otherwise waf errors out with: # Waf script 'X' and library 'Y' do not match define WAF_PACKAGE_REMOVE_WAF_LIB - $(RM) -fr $(@D)/waf $(@D)/waflib + $(RM) -fr $$(@D)/waf $$(@D)/waflib endef # We need host-python3 to run waf