From b0df9df39ad76bdf89d1f58996cd4a1c2632b47c Mon Sep 17 00:00:00 2001 From: Alper Yildirim Date: Mon, 20 Jul 2009 19:17:10 +0200 Subject: config: Add support for xconfig It involved: * Modifying the top-level Makefile to create the xconfig target, and the $(CONFIG)/qconf target to compile the qconf utility * Modifying the package/config/Makefile magic so that C++ files and binaries gets linked properly, re-using the package/config/Makefile.kconfig logic inherited from the kernel * Hacking a little bit package/config/Makefile.kconfig in a way similar to the modifications done for the mconf (menuconfig interface) Signed-off-by: Alper Yildirim --- package/config/Makefile.kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/config/Makefile.kconfig') diff --git a/package/config/Makefile.kconfig b/package/config/Makefile.kconfig index 747f23d4c..6974cc3b5 100644 --- a/package/config/Makefile.kconfig +++ b/package/config/Makefile.kconfig @@ -131,6 +131,10 @@ endif ifeq ($(MAKECMDGOALS),xconfig) qconf-target := 1 endif +ifeq ($(findstring qconf,$(MAKECMDGOALS)),qconf) + qconf-target := 1 +endif + ifeq ($(MAKECMDGOALS),gconfig) gconf-target := 1 endif -- cgit v1.2.3