mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 10:14:23 +08:00
ec8f24b7fa
Add SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any form These files fall under the project license, GPL v2 only. The resulting SPDX license identifier is: GPL-2.0-only Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 lines
379 B
Makefile
19 lines
379 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
PREFIX ?= /usr
|
|
SBINDIR ?= sbin
|
|
INSTALL ?= install
|
|
CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
|
|
|
|
TARGET = dell-smbios-example
|
|
|
|
all: $(TARGET)
|
|
|
|
%: %.c
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
|
|
|
|
clean:
|
|
$(RM) $(TARGET)
|
|
|
|
install: dell-smbios-example
|
|
$(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)
|