Commit 92a9048e authored by Alessandro Rubini's avatar Alessandro Rubini

Makefile: link to the kconfig engine

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 0fdfb13b
...@@ -87,7 +87,7 @@ REVISION=$(shell git describe --dirty --always) ...@@ -87,7 +87,7 @@ REVISION=$(shell git describe --dirty --always)
all: tools wrc all: tools wrc
wrc: $(OBJS) wrc: silentoldconfig $(OBJS)
echo "const char *build_revision = \"$(REVISION)\";" > revision.c echo "const char *build_revision = \"$(REVISION)\";" > revision.c
echo "const char *build_date = __DATE__ \" \" __TIME__;" >> revision.c echo "const char *build_date = __DATE__ \" \" __TIME__;" >> revision.c
$(CC) $(CFLAGS) -c revision.c $(CC) $(CFLAGS) -c revision.c
...@@ -113,3 +113,11 @@ clean: ...@@ -113,3 +113,11 @@ clean:
tools: tools:
make -C tools make -C tools
# following targets from Makefile.kconfig
silentoldconfig:
@mkdir -p include/config
$(MAKE) -f Makefile.kconfig $@
scripts_basic config %config:
$(MAKE) -f Makefile.kconfig $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment