Skip to content

Commit

Permalink
Clean up noisy build log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
dakotarwilliams authored and Conan-Kudo committed Jan 30, 2020
1 parent 3878b94 commit 13575cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Makefile
Expand Up @@ -7,14 +7,16 @@ KDIR := /lib/modules/$(KERNELVERSION)/build
PWD := $(shell pwd)
INSTALL_MOD_DIR ?= extra
EXTRA_CFLAGS := -g
FEATURE_TEST_BUILD_DIR := configure-tests/feature-tests/build

default:
if [ ! -f kernel-config.h ] || tail -1 kernel-config.h | grep -qv '#endif'; then ./genconfig.sh "$(KERNELVERSION)" "$(MFLAGS)"; fi;
if [ ! -f kernel-config.h ] || tail -1 kernel-config.h | grep -qv '#endif'; then mkdir $(FEATURE_TEST_BUILD_DIR); ./genconfig.sh "$(KERNELVERSION)" "$(MFLAGS)"; fi;
$(MAKE) -C $(KDIR) M=$(PWD) modules

clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean
$(RM) kernel-config.h
$(RM) -r $(FEATURE_TEST_BUILD_DIR)

install: default
$(MAKE) -C $(KDIR) M=$(PWD) modules_install
Expand Down

0 comments on commit 13575cd

Please sign in to comment.