Hi,
I saw your announcement about kconfig-frontends to uclibc@uclibc.org
the other day, and thought I would try it out for our own project
where we use an old derivative of the kconfig system.
However, to make it build with our build system I needed to apply
the patch below to allow building outside the source tree.
After that all worked fine, and the generated .config file is
still the same as with the old config system. :)
[--SNIP unrelated message--]
Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
(transplanted from
1a2d27d500c26b2739bd13e95b8246f8f740fc6a)
conf_SOURCES = conf.c
conf_CPPFLAGS = $(AM_CPPFLAGS) \
$(GETTEXT) \
- -I../../libs/parser
-conf_LDADD = ../../libs/parser/libkconfigparser.la \
+ -I$(top_srcdir)/libs/parser
+conf_LDADD = $(top_builddir)/libs/parser/libkconfigparser.la \
$(conf_EXTRA_LIBS)
gconf_SOURCES = gconf.c gconf.glade
gconf_CPPFLAGS = $(AM_CPPFLAGS) \
$(GETTEXT) \
- -I../../libs/parser \
- -I../../libs/images \
+ -I$(top_srcdir)/libs/parser \
+ -I$(top_srcdir)/libs/images \
-DGUI_PATH='"$(pkgdatadir)/gconf.glade"'
gconf_CFLAGS = $(AM_CFLAGS) \
$(gtk_CFLAGS)
-gconf_LDADD = ../../libs/parser/libkconfigparser.la \
+gconf_LDADD = $(top_builddir)/libs/parser/libkconfigparser.la \
$(gtk_LIBS) $(gconf_EXTRA_LIBS)
gconfdir = $(pkgdatadir)
gconf_DATA = gconf.glade
mconf_CPPFLAGS = $(AM_CPPFLAGS) \
-DCURSES_LOC='"$(CURSES_LOC)"' \
$(GETTEXT) \
- -I../../libs \
- -I../../libs/parser
-mconf_LDADD = ../../libs/parser/libkconfigparser.la \
- ../../libs/lxdialog/liblxdialog.a \
+ -I$(top_srcdir)/libs \
+ -I$(top_srcdir)/libs/parser
+mconf_LDADD = $(top_builddir)/libs/parser/libkconfigparser.la \
+ $(top_builddir)/libs/lxdialog/liblxdialog.a \
$(ncurses_LIBS) $(mconf_EXTRA_LIBS)
nconf_SOURCES = nconf.c nconf.gui.c nconf.h
nconf_CPPFLAGS = $(AM_CPPFLAGS) \
$(GETTEXT) \
- -I../../libs/parser
-nconf_LDADD = ../../libs/parser/libkconfigparser.la \
+ -I$(top_srcdir)/libs/parser
+nconf_LDADD = $(top_builddir)/libs/parser/libkconfigparser.la \
$(ncurses_extra_LIBS) $(ncurses_LIBS) \
$(nconf_EXTRA_LIBS)
BUILT_SOURCES = qconf.moc
qconf_CPPFLAGS = $(AM_CPPFLAGS) \
$(GETTEXT) \
- -I../../libs/parser \
- -I../../libs/images
+ -I$(top_srcdir)/libs/parser \
+ -I$(top_srcdir)/libs/images
qconf_CXXFLAGS = $(AM_CXXFLAGS) \
$(qt4_CFLAGS)
-qconf_LDADD = ../../libs/parser/libkconfigparser.la \
+qconf_LDADD = $(top_builddir)/libs/parser/libkconfigparser.la \
$(qt4_LIBS) $(qconf_EXTRA_LIBS)
.h.moc: