diff options
author | Karel Kočí <cynerd@email.cz> | 2015-07-24 17:19:22 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-07-24 17:19:22 +0200 |
commit | 4df04029a616013e1d795102eab790c628d6dac1 (patch) | |
tree | dc6c194934e371cae82d3b511673dec4b1f1f612 /scripts/write_config/Makefile | |
parent | 2088e7c783964176076f83d8df04dac5adc9781d (diff) | |
download | linux-conf-perf-4df04029a616013e1d795102eab790c628d6dac1.tar.gz linux-conf-perf-4df04029a616013e1d795102eab790c628d6dac1.tar.bz2 linux-conf-perf-4df04029a616013e1d795102eab790c628d6dac1.zip |
Rewrite write_config
Write config don't need to load jobfiles any more.
We only have to load file passed via argument and save using kconfig code.
Configuration checking is disabled. It needs more editing.
Diffstat (limited to 'scripts/write_config/Makefile')
-rw-r--r-- | scripts/write_config/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/write_config/Makefile b/scripts/write_config/Makefile index bab1f4b..ec56a87 100644 --- a/scripts/write_config/Makefile +++ b/scripts/write_config/Makefile @@ -2,24 +2,22 @@ MAKEFLAGS += --no-builtin-rules .PHONY: all clean .SUFFIXES: -all: write +all: write_config KCONFIG_PREFIX = ../shared/kconfig include $(KCONFIG_PREFIX)/files.mk -SRC = write.c \ - symlist.c \ - solution.c +SRC = write_config.c OBJ = $(patsubst %.c,%.o,$(SRC)) -CFLAGS = -O0 -w -ggdb +CFLAGS = -O0 -Wall -ggdb INCLUDES = -I../shared %.o: %.c gcc -c $(CFLAGS) -o $@ $^ $(INCLUDES) -write: $(OBJ) $(KCONFIG_OBJ) +write_config: $(OBJ) $(KCONFIG_OBJ) gcc -o $@ $^ clean:: $(RM) $(OBJ) - $(RM) write + $(RM) write_config |