summaryrefslogtreecommitdiff
authoreilers <eilers>2003-01-06 14:24:46 (UTC)
committer eilers <eilers>2003-01-06 14:24:46 (UTC)
commitecfa9b195ba1bdbe1254c21631fdce277c2c67b1 (patch) (unidiff)
treead9f63167c178dd43690b725f815d9d5c6de6bbb
parent7c87dd496f7c407327d8d6a304d712dfa3887a36 (diff)
downloadopie-ecfa9b195ba1bdbe1254c21631fdce277c2c67b1.zip
opie-ecfa9b195ba1bdbe1254c21631fdce277c2c67b1.tar.gz
opie-ecfa9b195ba1bdbe1254c21631fdce277c2c67b1.tar.bz2
bison -v creates a segmentation fault on my release 1.75. Removed this parameter
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/kconfig/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 6782d4a..7e257be 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -1,106 +1,106 @@
1VERSION=1.2 1VERSION=1.2
2CC=gcc 2CC=gcc
3CXX=g++ 3CXX=g++
4CFLAGS=-O2 -Wall -g -fPIC 4CFLAGS=-O2 -Wall -g -fPIC
5CXXFLAGS=$(CFLAGS) -I$(HOSTQTDIR)/include 5CXXFLAGS=$(CFLAGS) -I$(HOSTQTDIR)/include
6LDFLAGS= 6LDFLAGS=
7LXXFLAGS=$(LDFLAGS) -L$(HOSTQTDIR)/lib -Wl,-rpath,$(HOSTQTDIR)/lib 7LXXFLAGS=$(LDFLAGS) -L$(HOSTQTDIR)/lib -Wl,-rpath,$(HOSTQTDIR)/lib
8LEX=flex 8LEX=flex
9YACC=bison 9YACC=bison
10YFLAGS=-d -t -v 10YFLAGS=-d -t #-v
11ifndef HOSTQTDIR 11ifndef HOSTQTDIR
12ifeq ($(shell if [ -e /usr/share/qt ]; then echo foundit; fi),foundit) 12ifeq ($(shell if [ -e /usr/share/qt ]; then echo foundit; fi),foundit)
13HOSTQTDIR=/usr/share/qt 13HOSTQTDIR=/usr/share/qt
14else 14else
15ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit) 15ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit)
16HOSTQTDIR=/usr/lib/qt 16HOSTQTDIR=/usr/lib/qt
17endif 17endif
18endif 18endif
19endif 19endif
20 20
21ifndef QTLIB 21ifndef QTLIB
22ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit) 22ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit)
23QTLIB=-lqt-mt 23QTLIB=-lqt-mt
24else 24else
25ifneq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit) 25ifneq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit)
26$(warning Unable to locate libqt.so!) 26$(warning Unable to locate libqt.so!)
27endif 27endif
28QTLIB=-lqt 28QTLIB=-lqt
29endif 29endif
30endif 30endif
31 31
32MOC=$(wildcard $(HOSTQTDIR)/bin/moc) 32MOC=$(wildcard $(HOSTQTDIR)/bin/moc)
33 33
34parse_SRC=zconf.y 34parse_SRC=zconf.y
35conf_SRC=conf.c $(parse_SRC) 35conf_SRC=conf.c $(parse_SRC)
36mconf_SRC=mconf.c $(parse_SRC) 36mconf_SRC=mconf.c $(parse_SRC)
37qconf_SRC=qconf.cc 37qconf_SRC=qconf.cc
38lkcc_SRC=cml1.y cml1.l help.l cml1.h expr1.c 38lkcc_SRC=cml1.y cml1.l help.l cml1.h expr1.c
39HDR=expr.h lkc.h lkc_proto.h qconf.h 39HDR=expr.h lkc.h lkc_proto.h qconf.h
40OTHER=README lkc_spec lkc_overview Makefile.kernel convert-all prepare-all.diff fixup-all.diff \ 40OTHER=README lkc_spec lkc_overview Makefile.kernel convert-all prepare-all.diff fixup-all.diff \
41 kconfig.i extconf.rb example 41 kconfig.i extconf.rb example
42INST=zconf.y zconf.l confdata.c expr.c symbol.c menu.c conf.c mconf.c qconf.cc kconfig_load.c images.c $(parse_SRC) $(HDR) 42INST=zconf.y zconf.l confdata.c expr.c symbol.c menu.c conf.c mconf.c qconf.cc kconfig_load.c images.c $(parse_SRC) $(HDR)
43INSTGEN=lex.zconf.c zconf.tab.c zconf.tab.h 43INSTGEN=lex.zconf.c zconf.tab.c zconf.tab.h
44 44
45#DEBUG=1 45#DEBUG=1
46ifdef DEBUG 46ifdef DEBUG
47CFLAGS+=-DLKC_DIRECT_LINK 47CFLAGS+=-DLKC_DIRECT_LINK
48qconf_SRC+=$(parse_SRC) 48qconf_SRC+=$(parse_SRC)
49else 49else
50qconf_SRC+=kconfig_load.c 50qconf_SRC+=kconfig_load.c
51endif 51endif
52 52
53SRC=$(conf_SRC) $(mconf_SRC) $(qconf_SRC) $(lkcc_SRC) 53SRC=$(conf_SRC) $(mconf_SRC) $(qconf_SRC) $(lkcc_SRC)
54CSRC=$(filter %.c, $(SRC)) 54CSRC=$(filter %.c, $(SRC))
55YSRC=$(filter %.y, $(SRC)) 55YSRC=$(filter %.y, $(SRC))
56LSRC=$(filter %.l, $(SRC)) 56LSRC=$(filter %.l, $(SRC))
57 57
58parse_OBJ=$(filter %.o, \ 58parse_OBJ=$(filter %.o, \
59 $(patsubst %.c,%.o, \ 59 $(patsubst %.c,%.o, \
60 $(patsubst %.y,%.tab.o, \ 60 $(patsubst %.y,%.tab.o, \
61 $(patsubst %.l,lex.%.o, \ 61 $(patsubst %.l,lex.%.o, \
62 $(parse_SRC))))) 62 $(parse_SRC)))))
63conf_OBJ=$(filter %.o, \ 63conf_OBJ=$(filter %.o, \
64 $(patsubst %.c,%.o, \ 64 $(patsubst %.c,%.o, \
65 $(patsubst %.y,%.tab.o, \ 65 $(patsubst %.y,%.tab.o, \
66 $(patsubst %.l,lex.%.o, \ 66 $(patsubst %.l,lex.%.o, \
67 $(conf_SRC))))) 67 $(conf_SRC)))))
68mconf_OBJ=$(filter %.o, \ 68mconf_OBJ=$(filter %.o, \
69 $(patsubst %.c,%.o, \ 69 $(patsubst %.c,%.o, \
70 $(patsubst %.y,%.tab.o, \ 70 $(patsubst %.y,%.tab.o, \
71 $(patsubst %.l,lex.%.o, \ 71 $(patsubst %.l,lex.%.o, \
72 $(mconf_SRC))))) 72 $(mconf_SRC)))))
73qconf_OBJ=$(filter %.o, \ 73qconf_OBJ=$(filter %.o, \
74 $(patsubst %.c,%.o, \ 74 $(patsubst %.c,%.o, \
75 $(patsubst %.cc,%.o, \ 75 $(patsubst %.cc,%.o, \
76 $(patsubst %.y,%.tab.o, \ 76 $(patsubst %.y,%.tab.o, \
77 $(patsubst %.l,lex.%.o, \ 77 $(patsubst %.l,lex.%.o, \
78 $(qconf_SRC)))))) 78 $(qconf_SRC))))))
79lkcc_OBJ=$(filter %.o, \ 79lkcc_OBJ=$(filter %.o, \
80 $(patsubst %.c,%.o, \ 80 $(patsubst %.c,%.o, \
81 $(patsubst %.y,%.tab.o, \ 81 $(patsubst %.y,%.tab.o, \
82 $(patsubst %.l,lex.%.o, \ 82 $(patsubst %.l,lex.%.o, \
83 $(lkcc_SRC))))) 83 $(lkcc_SRC)))))
84OBJ=$(conf_OBJ) $(mconf_OBJ) $(qconf_OBJ) $(lkcc_OBJ) 84OBJ=$(conf_OBJ) $(mconf_OBJ) $(qconf_OBJ) $(lkcc_OBJ)
85 85
86ifeq ($(MOC),) 86ifeq ($(MOC),)
87all: lkcc conf mconf 87all: lkcc conf mconf
88else 88else
89all: lkcc conf mconf qconf libkconfig.so 89all: lkcc conf mconf qconf libkconfig.so
90endif 90endif
91 91
92lex.help.c: help.l 92lex.help.c: help.l
93lex.help.o: lex.help.c cml1.h expr.h 93lex.help.o: lex.help.c cml1.h expr.h
94lex.cml1.c: cml1.l 94lex.cml1.c: cml1.l
95lex.cml1.o: lex.cml1.c cml1.tab.h cml1.h expr.h 95lex.cml1.o: lex.cml1.c cml1.tab.h cml1.h expr.h
96cml1.tab.c: cml1.y 96cml1.tab.c: cml1.y
97cml1.tab.h: cml1.y 97cml1.tab.h: cml1.y
98cml1.tab.o: cml1.tab.c cml1.h expr.h 98cml1.tab.o: cml1.tab.c cml1.h expr.h
99expr1.o: expr1.c expr.h 99expr1.o: expr1.c expr.h
100 100
101lkc_deps := lkc.h lkc_proto.h lkc_defs.h expr.h 101lkc_deps := lkc.h lkc_proto.h lkc_defs.h expr.h
102 102
103zconf.tab.c: zconf.y 103zconf.tab.c: zconf.y
104zconf.tab.h: zconf.y 104zconf.tab.h: zconf.y
105lex.zconf.c: zconf.l 105lex.zconf.c: zconf.l
106zconf.tab.o: zconf.tab.c lex.zconf.c confdata.c expr.c symbol.c menu.c $(lkc_deps) 106zconf.tab.o: zconf.tab.c lex.zconf.c confdata.c expr.c symbol.c menu.c $(lkc_deps)