Makefile (2ac5e38ea4203852d6e99edd3cf11f044b0a409f) | Makefile (694f1f926c725a8955c1c156ad6d3c4e1b853bd8) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2 | 1# SPDX-License-Identifier: GPL-2.0 2 |
3CFLAGS += -O2 -g -std=gnu99 -Wall -I../../../../usr/include/ 4LDLIBS += -lmount -I/usr/include/libmount | 3MOUNT_CFLAGS := $(shell pkg-config --cflags mount 2>/dev/null) 4MOUNT_LDLIBS := $(shell pkg-config --libs mount 2>/dev/null) 5ifeq ($(MOUNT_LDLIBS),) 6MOUNT_LDLIBS := -lmount -I/usr/include/libmount 7endif |
5 | 8 |
9CFLAGS += -O2 -g -std=gnu99 -Wall -I../../../../usr/include/ $(MOUNT_CFLAGS) 10LDLIBS += $(MOUNT_LDLIBS) 11 |
|
6TEST_PROGS := gpio-mockup.sh 7TEST_FILES := gpio-mockup-sysfs.sh 8TEST_PROGS_EXTENDED := gpio-mockup-chardev 9 10GPIODIR := $(realpath ../../../gpio) 11GPIOOBJ := gpio-utils.o 12 13include ../lib.mk --- 13 unchanged lines hidden --- | 12TEST_PROGS := gpio-mockup.sh 13TEST_FILES := gpio-mockup-sysfs.sh 14TEST_PROGS_EXTENDED := gpio-mockup-chardev 15 16GPIODIR := $(realpath ../../../gpio) 17GPIOOBJ := gpio-utils.o 18 19include ../lib.mk --- 13 unchanged lines hidden --- |