Fix build issues
This commit is contained in:
parent
c515871c8a
commit
52d5ac3fcb
|
|
@ -1,3 +1,7 @@
|
|||
2005-07-05 Thomas Graf <tgraf@suug.ch>
|
||||
|
||||
* Build check for GNU Bison
|
||||
|
||||
2005-06-23 Jamal Hadi Salim <hadi@znyx.com>
|
||||
|
||||
* Fix for options process with ipt
|
||||
|
|
|
|||
9
Makefile
9
Makefile
|
|
@ -31,10 +31,17 @@ SUBDIRS=lib ip tc misc netem
|
|||
|
||||
LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a
|
||||
|
||||
all: Config
|
||||
all: flex_check Config
|
||||
@for i in $(SUBDIRS); \
|
||||
do $(MAKE) $(MFLAGS) -C $$i; done
|
||||
|
||||
flex_check:
|
||||
@if [ -z "`flex -h | grep '^Usage: flex '`" ]; then \
|
||||
echo "GNU flex required, please install it."; \
|
||||
echo " see http://lex.sourceforge.net"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
Config:
|
||||
sh configure $(KERNEL_INCLUDE)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue