Makefile (4a423645bc2690376a7a94b4bb7b2f74bc6206ff) | Makefile (e5decefd884da1c2c6ea18fca17b80b189afcc43) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# Copyright (C) 2020 ARM Limited 3 | 1# SPDX-License-Identifier: GPL-2.0 2# Copyright (C) 2020 ARM Limited 3 |
4CFLAGS += -std=gnu99 -I. -lpthread | 4CFLAGS += -std=gnu99 -I. -pthread 5LDFLAGS += -pthread |
5SRCS := $(filter-out mte_common_util.c,$(wildcard *.c)) 6PROGS := $(patsubst %.c,%,$(SRCS)) 7 8#Add mte compiler option 9CFLAGS += -march=armv8.5-a+memtag 10 11#check if the compiler works well 12mte_cc_support := $(shell if ($(CC) $(CFLAGS) -E -x c /dev/null -o /dev/null 2>&1) then echo "1"; fi) --- 15 unchanged lines hidden --- | 6SRCS := $(filter-out mte_common_util.c,$(wildcard *.c)) 7PROGS := $(patsubst %.c,%,$(SRCS)) 8 9#Add mte compiler option 10CFLAGS += -march=armv8.5-a+memtag 11 12#check if the compiler works well 13mte_cc_support := $(shell if ($(CC) $(CFLAGS) -E -x c /dev/null -o /dev/null 2>&1) then echo "1"; fi) --- 15 unchanged lines hidden --- |