@@ -10,15 +10,17 @@ clean:
10
10
make -C /lib/modules/$(shell uname -r) /build M=$(PWD ) clean
11
11
12
12
http_parser.c :
13
- wget https://raw.githubusercontent.com/nodejs/http-parser/master/http_parser.c
14
- sed -i ' s/#include <assert.h>/#include "compat\/assert.h"/' $@
15
- sed -i ' s/#include <stddef.h>/#include "compat\/stddef.h"/' $@
16
- sed -i ' s/#include <ctype.h>/#include "compat\/ctype.h"/' $@
17
- sed -i ' s/#include <string.h>/#include "compat\/string.h"/' $@
18
- sed -i ' s/#include <limits.h>/#include "compat\/limits.h"/' $@
19
- wget https://raw.githubusercontent.com/nodejs/http-parser/master/http_parser.h
20
- sed -i ' s/#include <stddef.h>/#include "compat\/stddef.h"/' http_parser.h
21
- sed -i ' s/#include <stdint.h>/#include "compat\/stdint.h"/' http_parser.h
13
+ wget -q https://raw.githubusercontent.com/nodejs/http-parser/master/http_parser.c
14
+ @sed -i ' s/#include <assert.h>/#include "compat\/assert.h"/' $@
15
+ @sed -i ' s/#include <stddef.h>/#include "compat\/stddef.h"/' $@
16
+ @sed -i ' s/#include <ctype.h>/#include "compat\/ctype.h"/' $@
17
+ @sed -i ' s/#include <string.h>/#include "compat\/string.h"/' $@
18
+ @sed -i ' s/#include <limits.h>/#include "compat\/limits.h"/' $@
19
+ @echo " File $@ was patched."
20
+ wget -q https://raw.githubusercontent.com/nodejs/http-parser/master/http_parser.h
21
+ @sed -i ' s/#include <stddef.h>/#include "compat\/stddef.h"/' http_parser.h
22
+ @sed -i ' s/#include <stdint.h>/#include "compat\/stdint.h"/' http_parser.h
23
+ @echo " File http_parser.h was patched."
22
24
23
25
distclean : clean
24
26
$(RM ) http_parser.c http_parser.h
0 commit comments