From 2ecc94f5ce2184f30477c16508dc10b993d1a7a6 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 16 Jul 2018 08:27:44 -0600 Subject: [PATCH] apps/import/Makefile: Eliminate a MAKE sytax error that occurs in some (but not environments) when symtab.c has not been generated. --- import/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/import/Makefile b/import/Makefile index 116e183af..bf2560de9 100644 --- a/import/Makefile +++ b/import/Makefile @@ -41,12 +41,14 @@ SUBDIRS = arch build include libs startup tmp FILES = .config System.map User.map - -define MKSYMTAB ifeq (,$(wildcard ./symtab.c)) +define MKSYMTAB $(Q) $(MAKE) -f Makefile.symtab $1 -endif endef +else +define MKSYMTAB +endef +endif all: symtab .PHONY: context depend clean distclean