X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/451518eba5be299ae1ef004112a6ecdc3b2e26c0..c291b847846f5921d669b17478cbf59f0c83ee19:/scripts/config/Makefile?ds=sidebyside diff --git a/scripts/config/Makefile b/scripts/config/Makefile index a731a40e7..54c5fe25a 100644 --- a/scripts/config/Makefile +++ b/scripts/config/Makefile @@ -9,26 +9,31 @@ # Utilizes the lxdialog package # object files used by all kconfig flavours + +# Platform specific fixes +# +# FreeBSD +export CFLAGS+=-DKBUILD_NO_NLS + conf-objs := conf.o zconf.tab.o mconf-objs := mconf.o zconf.tab.o clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \ .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c -all: conf mconf lxdialog +all: conf mconf lxdialog/lxdialog -.PHONY: lxdialog -lxdialog: +lxdialog/lxdialog: $(MAKE) -C lxdialog conf: $(conf-objs) -mconf: $(mconf-objs) +mconf: $(mconf-objs) clean: rm -f *.o $(clean-files) conf mconf $(MAKE) -C lxdialog clean -zconf.tab.o: lex.zconf.c zconf.hash.c +zconf.tab.o: lex.zconf.c zconf.hash.c confdata.c kconfig_load.o: lkc_defs.h