From 21fdd0774c692e233be51b47210988595d625295 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 30 Aug 2008 15:23:12 +0000 Subject: [PATCH] Rebuild the kconfig stuff on kconfig source change. /trunk/kconfig/kconfig.mk | 14 12 2 0 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) --- kconfig/kconfig.mk | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk index c6d8d34e..ea559f0c 100644 --- a/kconfig/kconfig.mk +++ b/kconfig/kconfig.mk @@ -118,12 +118,22 @@ $(obj)/conf $(obj)/mconf:: $(obj) $(obj): @mkdir -p $(obj) -$(obj)/mconf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/mconf.c +HEADERS = $(CT_LIB_DIR)/kconfig/expr.h \ + $(CT_LIB_DIR)/kconfig/lkc.h \ + $(CT_LIB_DIR)/kconfig/lkc_proto.h + +FILES = $(CT_LIB_DIR)/kconfig/confdata.c \ + $(CT_LIB_DIR)/kconfig/expr.c \ + $(CT_LIB_DIR)/kconfig/menu.c \ + $(CT_LIB_DIR)/kconfig/symbol.c \ + $(CT_LIB_DIR)/kconfig/util.c + +$(obj)/mconf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/mconf.c $(HEADERS) $(FILES) @$(HOST_CC) $(CFLAGS) -o $@ $(CT_LIB_DIR)/kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \ $(shell $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh -ccflags) \ $(shell $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh -ldflags $(HOST_CC)) -$(obj)/conf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/conf.c +$(obj)/conf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/conf.c $(HEADERS) $(FILES) @$(HOST_CC) $(CFLAGS) -o $@ $(CT_LIB_DIR)/kconfig/{conf.c,zconf.tab.c} clean::