Makefile (b8b6ff019689ec7e61f0d3fa97929214507f7427) Makefile (3d2e03f8172ead69e0946b764cf43cde4a4f0e3e)
1# Makefile for powerpc selftests
2
3# ARCH can be overridden by the user for cross compiling
4ARCH ?= $(shell uname -m)
5ARCH := $(shell echo $(ARCH) | sed -e s/ppc.*/powerpc/)
6
7ifeq ($(ARCH),powerpc)
8
9GIT_VERSION = $(shell git describe --always --long --dirty || echo "unknown")
10
1# Makefile for powerpc selftests
2
3# ARCH can be overridden by the user for cross compiling
4ARCH ?= $(shell uname -m)
5ARCH := $(shell echo $(ARCH) | sed -e s/ppc.*/powerpc/)
6
7ifeq ($(ARCH),powerpc)
8
9GIT_VERSION = $(shell git describe --always --long --dirty || echo "unknown")
10
11CFLAGS := -std=gnu99 -Wall -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CURDIR)/include $(CFLAGS)
11CFLAGS := -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CURDIR)/include $(CFLAGS)
12
13export CFLAGS
14
15SUB_DIRS = alignment \
16 benchmarks \
12
13export CFLAGS
14
15SUB_DIRS = alignment \
16 benchmarks \
17 cache_shape \
18 copyloops \
19 context_switch \
20 dscr \
21 mm \
22 pmu \
23 signal \
24 primitives \
25 stringloops \

--- 48 unchanged lines hidden ---
17 copyloops \
18 context_switch \
19 dscr \
20 mm \
21 pmu \
22 signal \
23 primitives \
24 stringloops \

--- 48 unchanged lines hidden ---