1
0
Fork 0
android_kernel_rockchip_tart/tools/testing/selftests/powerpc/flags.mk
2025-06-27 00:32:42 -05:00

9 lines
308 B
Makefile

#This checks for any ENV variables and add those.
ifeq ($(GIT_VERSION),)
GIT_VERSION := $(shell git describe --always --long --dirty || echo "unknown")
export GIT_VERSION
endif
CFLAGS := -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(selfdir)/powerpc/include $(USERCFLAGS)
export CFLAGS