summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-01-22 12:09:59 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-01-22 13:26:01 +0100
commite9e8042645f3d4d07d6f9a9c4cf3060c2f40e0d8 (patch)
tree70064100c8bacfbe6f806694d0f3ca0db26fd378 /Makefile.in
parentffdba61fc369d0a595a7835f27d1d3ceb3b64cf2 (diff)
downloadptxdist-e9e8042645f3d4d07d6f9a9c4cf3060c2f40e0d8.tar.gz
ptxdist-e9e8042645f3d4d07d6f9a9c4cf3060c2f40e0d8.tar.xz
kconfig: update to v5.11-rc3
Rework the entire buildsystem. The Makefiles upstream has changed completely so there is no need stick to anything that resembles the old kernel Makefile. So clean it up and use autoconf to fill in the variables from configure. Use only pkg-config to find ncurses. This should work on all Linux distributions. There was a report about problems with ncurses instead of ncursesw, so use the later if it's available. Drop anything qconf and gconf releated. We never built that anyways. Always generate the parser code. Linux has been doing this for some time now and it works just fine there. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in22
1 files changed, 1 insertions, 21 deletions
diff --git a/Makefile.in b/Makefile.in
index 79db8b77d..9121b2119 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -8,37 +8,17 @@ libdir := @libdir@
bindir := @bindir@
instdir := $(libdir)/$(project)
-CC := @CC@
-CXX := @CXX@
-CFLAGS := @CFLAGS@
-CXXFLAGS := @CXXFLAGS@
-CPPFLAGS := @CPPFLAGS@
-LDFLAGS := @LDFLAGS@
-
SHELL := @BASH@
RST2MAN := @RST2MAN@
export SHELL
-@BUILD_NCONF_TRUE@NCONF = nconf
-
all: kconfig environment
@touch .done
kconfig:
@echo "building conf and mconf ..."
- @CC="$(CC)" \
- CXX="$(CXX)" \
- CFLAGS="$(CFLAGS)" \
- CXXFLAGS="$(CXXFLAGS)" \
- CPPFLAGS="$(CPPFLAGS)" \
- LDFLAGS="$(LDFLAGS)" \
- $(MAKE) -C "$(abs_srcdir)/scripts/kconfig" \
- CONF_LIBS="@CONF_LIBS@" \
- MCONF_LIBS="@MCONF_LIBS@" \
- NCONF_LIBS="@NCONF_LIBS@" \
- CURSES_LOC="@CURSES_LOC@" \
- conf mconf $(NCONF)
+ $(MAKE) -C "$(abs_srcdir)/scripts/kconfig"
@echo "done."
environment: