dtc: Update the build rule for pylibfdt
authorSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 22:27:18 +0000 (11:27 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:10 +0000 (16:33 +1200)
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

index 4782dd4..493995e 100644 (file)
@@ -34,6 +34,7 @@ rebuild: $(src)/setup.py $(PYLIBFDT_srcs)
        fi
 
 $(obj)/_libfdt.so $(obj)/libfdt.py &: rebuild
+       @:
 
 always += _libfdt.so libfdt.py