Le 03/10/2011 15:32, Florian Fainelli a écrit :
Hello,
On Thursday 23 June 2011 10:42:31 Emmanuel Deloget wrote:
<snip>
Patch 1/4 to 3/4 in the series are necessary to add support for
make xconfig. Patch 4/4 will add support for make kernel_xconfig only
if Patch 3/4 has been applied (both patch are modifying the same file,
and Patch 4/4 builds upon the tools that are added with Patch 3/4).
The patches with svn diff on svn://svn.openwrt.org/openwrt/trunk.
I gave this a try, and here is what I get with only the 3 first patches
applied:
florian@flexo:[~/../trunk]$ make xconfig V=99
make[1]: Entering directory `/home/florian/dev/openwrt/trunk/scripts/config'
qconf.cc:26:21: fatal error: qconf.moc: No such file or directory
compilation terminated.
make[1]: *** [qconf.o] Error 1
make[1]: Leaving directory `/home/florian/dev/openwrt/trunk/scripts/config'
make: *** [scripts/config/qconf] Error 2
zsh: exit 2 make xconfig V=99
It seems the culprit for this error (not counting the obvious one: me)
is a missing line in patch 2/4. Can you test this one as a replacement
for the faulty patch before I resubmit the whole series ?
Thanks in advance,
--
Emmanuel Deloget
Index: scripts/config/Makefile
===================================================================
--- scripts/config/Makefile (révision 28361)
+++ scripts/config/Makefile (copie de travail)
@@ -7,6 +7,8 @@
# conf: Used for defconfig, oldconfig and related targets
# mconf: Used for the mconfig target.
# Utilizes the lxdialog package
+# qconf: Used for the xconfig target.
+# Utilizes the Qt3-dev package
# object files used by all kconfig flavours
@@ -17,10 +19,13 @@
conf-objs := conf.o zconf.tab.o
mconf-objs := mconf.o zconf.tab.o
+qconf-objs := qconf.o zconf.tab.o kconfig_load.o
clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \
.tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c
+have-qt3-dev:=$(shell [ -d /usr/include/qt3 ] && echo y)
+
all: conf mconf lxdialog/lxdialog
lxdialog/lxdialog:
@@ -30,14 +35,24 @@
mconf: $(mconf-objs)
clean:
- rm -f *.o $(clean-files) conf mconf
+ rm -f *.o $(clean-files) conf mconf qconf
$(MAKE) -C lxdialog clean
zconf.tab.o: lex.zconf.c zconf.hash.c confdata.c
kconfig_load.o: lkc_defs.h
-lkc_defs.h: $(src)/lkc_proto.h
+ifneq ($(have-qt3-dev),)
+all: qconf
+qconf: $(qconf-objs)
+qconf: LDFLAGS+=-lqt-mt
+qconf.o: qconf.moc
+qconf.o: CXXFLAGS+=-I/usr/include/qt3 -DLKC_DIRECT_LINK
+qconf.moc: qconf.h
+ cp $@_shipped $@
+endif
+
+lkc_defs.h: lkc_proto.h
sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
zconf.tab.c: zconf.y
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel