aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-08-10 13:36:33 +0100
committerfanquake <fanquake@gmail.com>2022-08-10 13:36:33 +0100
commitd8b26abed91c421e8517a2c9a60b57d988121b3a (patch)
tree2cee8c6d367c7704bc40b4fdb90a6e6cbf3b14c8 /src/Makefile.test.include
parentac59112a6a093e641ce2803260dd9de97b1cd961 (diff)
downloadbitcoin-d8b26abed91c421e8517a2c9a60b57d988121b3a.tar.xz
build: move raw rule into Makefile.am
The same rule is used by the tests and benchmarks to generate headers, and currently causes #25501. Just deduplicate the code into Makefile.am.
Diffstat (limited to 'src/Makefile.test.include')
-rw-r--r--src/Makefile.test.include9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
index 9ed5731af1..7bec94cce1 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -415,12 +415,3 @@ endif
echo "};};"; \
} > "$@.new" && mv -f "$@.new" "$@"
@echo "Generated $@"
-
-%.raw.h: %.raw
- @$(MKDIR_P) $(@D)
- @{ \
- echo "static unsigned const char $(*F)_raw[] = {" && \
- $(HEXDUMP) -v -e '8/1 "0x%02x, "' -e '"\n"' $< | $(SED) -e 's/0x ,//g' && \
- echo "};"; \
- } > "$@.new" && mv -f "$@.new" "$@"
- @echo "Generated $@"