Skip to content
projects
/
linux
·
blob
master ·
refs
linux
tools
testing
selftests
powerpc
flags.mk
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
9 lines · 308 B
1
#
This checks for any ENV variables and add those.
2
3
ifeq
(
$(
GIT_VERSION
)
,
)
4
GIT_VERSION
:=
$(
shell
git
describe
--
always
--
long
--
dirty
||
echo
"
unknown
"
)
5
export
GIT_VERSION
6
endif
7
8
CFLAGS
:=
-std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"
$(
GIT_VERSION
)
"' -I
$(
selfdir
)
/powerpc/include
$(
USERCFLAGS
)
9
export
CFLAGS