[PATCH skeleton v10 22/22] Fix Makefile issue
OpenBMC Patches
openbmc-patches at stwcx.xyz
Wed May 11 13:20:52 AEST 2016
From: Ken Lai <ken1029 at gmail.com>
---
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index e2aac60..db05f88 100755
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,10 @@ LIBS=$(shell pkg-config --libs gio-unix-2.0 glib-2.0) -Llib -lopenbmc_intf
INCLUDES += $(shell pkg-config --cflags --libs libsystemd) -I. -O2
LIB_FLAG += $(shell pkg-config --libs libsystemd)
+DEPPKGS = libsystemd
+INCLUDES_info += $(shell pkg-config --cflags $(DEPPKGS))
+LIBS_info += $(shell pkg-config --libs $(DEPPKGS))
+
%.o: interfaces/%.c
$(CC) -c -fPIC -o obj/$@ $< $(CFLAGS) $(INCLUDES)
--
2.8.1
More information about the openbmc
mailing list