From 4867085c0cd334004e8d67dff7bd53996f23ade6 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 2 Nov 2012 14:46:39 +0000 Subject: [build] Include version number within only a single object file Signed-off-by: Michael Brown --- src/Makefile | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index a061f83..210c6aa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -169,11 +169,6 @@ GITVERSION := $(shell git describe --always --abbrev=1 --match "" 2>/dev/null) ifneq ($(GITVERSION),) VERSION += ($(GITVERSION)) endif -CFLAGS += -DVERSION_MAJOR=$(VERSION_MAJOR) \ - -DVERSION_MINOR=$(VERSION_MINOR) \ - -DVERSION_PATCH=$(VERSION_PATCH) \ - -DVERSION="\"$(VERSION)\"" -IDENT = '$(@F) $(VERSION) (GPL) ipxe.org' version : @$(ECHO) "$(VERSION)" -- cgit v1.1