Skip to contentSkip to conversation

dtc: Update the build rule for pylibfdt

PATCH In review Simon Glass 2 participants 2 messages Mar 27, 2021 – Apr 6, 2021 1 message not in the archive Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dtc: Update the build rule for pylibfdt

Some versions of make complain about using a grouped target without a recipe:

.../pylibfdt/Makefile:36: *** grouped targets must provide a recipe. Stop.

Fix this by adding a dummy recipe.

---

 scripts/dtc/pylibfdt/Makefile | 1 +
 1 file changed, 1 insertion(+)
scripts/dtc/pylibfdt/Makefile +1 -0
index 4782dd45c6d..493995e3038 100644
@@ -34,6 +34,7 @@ rebuild: $(src)/setup.py $(PYLIBFDT_srcs)
 	fi
 
 $(obj)/_libfdt.so $(obj)/libfdt.py &: rebuild
+	@:
 
 always += _libfdt.so libfdt.py
 
Signature · 1 line
2.31.0.291.g576ba9dcdaf-goog

A message that is not in the archive (sent off-list or not yet received): 20210327222718.1721931-1-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org

#2 lore raw

Some versions of make complain about using a grouped target without a recipe:

.../pylibfdt/Makefile:36: *** grouped targets must provide a recipe. Stop.

Fix this by adding a dummy recipe.

---

 scripts/dtc/pylibfdt/Makefile | 1 +
 1 file changed, 1 insertion(+)

Applied to u-boot-dm, thanks!