1 #This checks for any ENV variables and add tho 1 #This checks for any ENV variables and add those. 2 2 3 ifeq ($(GIT_VERSION),) 3 ifeq ($(GIT_VERSION),) 4 GIT_VERSION := $(shell git describe --always - 4 GIT_VERSION := $(shell git describe --always --long --dirty || echo "unknown") 5 export GIT_VERSION 5 export GIT_VERSION 6 endif 6 endif 7 7 8 CFLAGS := -std=gnu99 -O2 -Wall -Werror -DGIT_V 8 CFLAGS := -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(selfdir)/powerpc/include $(USERCFLAGS) 9 export CFLAGS 9 export CFLAGS
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.