diff mbox series

dtc: Update the build rule for pylibfdt

Message ID 20210327222718.1721931-1-sjg@chromium.org
State Accepted
Commit 4b5019e3e57222cfa12147b6fcbce321cd140aeb
Delegated to: Simon Glass
Headers show
Series dtc: Update the build rule for pylibfdt | expand

Commit Message

Simon Glass March 27, 2021, 10:27 p.m. UTC
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.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

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

Comments

Simon Glass April 6, 2021, 4:34 a.m. UTC | #1
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.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

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

Applied to u-boot-dm, thanks!
diff mbox series

Patch

diff --git a/scripts/dtc/pylibfdt/Makefile b/scripts/dtc/pylibfdt/Makefile
index 4782dd45c6d..493995e3038 100644
--- a/scripts/dtc/pylibfdt/Makefile
+++ b/scripts/dtc/pylibfdt/Makefile
@@ -34,6 +34,7 @@  rebuild: $(src)/setup.py $(PYLIBFDT_srcs)
 	fi
 
 $(obj)/_libfdt.so $(obj)/libfdt.py &: rebuild
+	@:
 
 always += _libfdt.so libfdt.py