implement kernel symbol neutral method to select audio addon boards
[openadk.git] / package / iproute2 / patches / patch-netem_Makefile
blobe49ab44151549b4d8fcaedfa52b8fa86a51f0e05
1 --- iproute2-2.6.37.orig/netem/Makefile 2011-01-07 18:54:30.000000000 +0100
2 +++ iproute2-2.6.37/netem/Makefile      2011-02-25 19:59:34.000000000 +0100
3 @@ -1,14 +1,12 @@
4  DISTGEN = maketable normal pareto paretonormal
5  DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
6  
7 -HOSTCC ?= $(CC)
8 -CCOPTS  = $(CBUILD_CFLAGS)
9  LDLIBS += -lm 
11  all: $(DISTGEN) $(DISTDATA)
13  $(DISTGEN):
14 -       $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
15 +       $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I../include -o $@ $@.c -lm
17  %.dist: %
18         ./$* > $@
19 @@ -17,7 +15,7 @@ experimental.dist: maketable experimenta
20         ./maketable experimental.dat > experimental.dist
22  stats: stats.c
23 -       $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
24 +       $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I../include -o $@ $@.c -lm
26  install: all
27         mkdir -p $(DESTDIR)$(LIBDIR)/tc