[ccan] [PATCH 1/3] Makefile-ccan: Add cppmagic to MODS_NO_SRC

Andrew Jeffery andrew at aj.id.au
Sat Mar 26 00:12:12 AEDT 2016


The error below was encountered when building the webpages target:

    $ mkdir /tmp/ccan-webdir
    $ make WEBDIR=/tmp/ccan-webdir webpages
    ...
    inter-depends
    [ "" ] || ! git status --porcelain | grep .
    mkdir -p /tmp/ccan-webdir/tarballs
    mkdir -p /tmp/ccan-webdir/tarballs/with-deps
    mkdir -p /tmp/ccan-webdir/info
    cp config.h /tmp/ccan-webdir/example-config.h
    'cppmagic' found but 'cpuid' in MOD
    Makefile-web:18: recipe for target 'modcheck' failed
    make: *** [modcheck] Error 1
    make: *** Waiting for unfinished jobs....

Add cppmagic to MODS_NO_SRC to avoid the build failure.

Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 Makefile-ccan | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile-ccan b/Makefile-ccan
index a0be58f..865db9e 100644
--- a/Makefile-ccan
+++ b/Makefile-ccan
@@ -17,6 +17,7 @@ MODS_NO_SRC := alignof \
 	check_type \
 	compiler \
 	container_of \
+	cppmagic \
 	darray \
 	endian \
 	lqueue \
@@ -50,9 +51,9 @@ MODS_WITH_SRC := aga \
 	cdump \
 	charset \
 	ciniparser \
+	cpuid \
 	crc \
 	crcsync \
-	cpuid \
 	crypto/ripemd160 \
 	crypto/sha256 \
 	crypto/shachain \
-- 
2.7.3



More information about the ccan mailing list