packages: clean up the package folder
[openwrt/staging/yousong.git] / package / kernel / mac80211 / patches / 000-fix_kconfig.patch
1 --- a/kconf/Makefile
2 +++ b/kconf/Makefile
3 @@ -1,10 +1,10 @@
4 -CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
5 +CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DKBUILD_NO_NLS
6
7 LXDIALOG := lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o
8
9 conf: conf.o zconf.tab.o
10 -mconf: LDFLAGS = -Wl,--no-as-needed $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC))
11 -mconf: CFLAGS += -DCURSES_LOC="<ncurses.h>" -DLOCALE
12 +mconf: LDFLAGS = $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC))
13 +mconf: CFLAGS += -DCURSES_LOC="<ncurses.h>"
14 mconf: mconf.o zconf.tab.o $(LXDIALOG)
15
16 .PHONY: clean