Skip to content

Commit

Permalink
Fix srcversion issue.
Browse files Browse the repository at this point in the history
It's turned out that kernel doesn't like empty version.h
  • Loading branch information
aabc committed Aug 29, 2014
1 parent 308cd2a commit da24615
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ clean: mclean lclean

version.h: ipt_NETFLOW.c ipt_NETFLOW.h Makefile
@if [ -d .git ] && type git >/dev/null 2>&1; then \
echo "#define GITVERSION \"`git describe --dirty`\""; \
echo "#define GITVERSION \"`git describe --dirty`\""; \
else \
echo "/* kernel doesn't like empty files */"; \
fi > version.h

linstall: | libipt_NETFLOW.so libip6t_NETFLOW.so
Expand Down

0 comments on commit da24615

Please sign in to comment.