Server IP : 184.154.167.98 / Your IP : 3.128.226.114 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/kernels/4.18.0-553.22.1.lve.1.el8.x86_64/samples/mic/mpssd/ |
Upload File : |
# SPDX-License-Identifier: GPL-2.0 ifndef CROSS_COMPILE uname_M := $(shell uname -m 2>/dev/null || echo not) ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) ifeq ($(ARCH),x86) PROGS := mpssd CC = $(CROSS_COMPILE)gcc CFLAGS := -I../../../usr/include -I../../../tools/include ifdef DEBUG CFLAGS += -DDEBUG=$(DEBUG) endif all: $(PROGS) mpssd: mpssd.c sysfs.c $(CC) $(CFLAGS) mpssd.c sysfs.c -o mpssd -lpthread install: install mpssd /usr/sbin/mpssd install micctrl /usr/sbin/micctrl clean: rm -fr $(PROGS) endif endif