diff options
author | Karel Kočí <cynerd@email.cz> | 2015-07-17 11:36:12 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-07-17 12:07:08 +0200 |
commit | 4f60634364615a9fc00b4b19dbec8c7615820622 (patch) | |
tree | 9ffaaf571a5736eee9e806f790bd00c70b7dc27f /scripts/allconfig/Makefile | |
parent | 18de573e31aa0cdd044efb6f67d95879b3766f0c (diff) | |
download | linux-conf-perf-4f60634364615a9fc00b4b19dbec8c7615820622.tar.gz linux-conf-perf-4f60634364615a9fc00b4b19dbec8c7615820622.tar.bz2 linux-conf-perf-4f60634364615a9fc00b4b19dbec8c7615820622.zip |
Add small program for generating complete configuration
This program generates complete configuration.
Written because permute_conf is only writing out configs that are chargeable.
Diffstat (limited to 'scripts/allconfig/Makefile')
-rw-r--r-- | scripts/allconfig/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/allconfig/Makefile b/scripts/allconfig/Makefile new file mode 100644 index 0000000..ffe320e --- /dev/null +++ b/scripts/allconfig/Makefile @@ -0,0 +1,23 @@ +MAKEFLAGS += --no-builtin-rules +.PHONY: all clean +.SUFFIXES: + +all: allconfig + +KCONFIG_PREFIX = ../shared/kconfig +include $(KCONFIG_PREFIX)/files.mk + +SRC = allconfig.c +OBJ = $(patsubst %.c,%.o,$(SRC)) +CFLAGS = -O0 -Wall -ggdb -DDEBUG +INCLUDES = -I../shared + +%.o: %.c + gcc -c $(CFLAGS) -o $@ $^ $(INCLUDES) + +allconfig: $(OBJ) $(KCONFIG_OBJ) + gcc -o $@ $^ + +clean:: + $(RM) $(OBJ) + $(RM) allconfig |