diff --git a/testsuite/Makefile b/testsuite/Makefile index b4ab15e2..d1bf359a 100644 --- a/testsuite/Makefile +++ b/testsuite/Makefile @@ -6,7 +6,10 @@ RESULTS_DIR := results TESTS := $(patsubst tests/%,%,$(wildcard tests/*.t)) IPVERS := $(filter-out iproute2/Makefile,$(wildcard iproute2/*)) -KENV := $(shell cat /proc/config.gz | gunzip | grep ^CONFIG) + +ifneq (,$(wildcard /proc/config.gz)) + KENV := $(shell cat /proc/config.gz | gunzip | grep ^CONFIG) +endif .PHONY: compile listtests alltests configure $(TESTS)