summaryrefslogtreecommitdiffstats
path: root/make/lib.cfg
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-07-19 13:09:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-14 07:11:32 +0200
commitf3f0370f1054f4e49aa8f5ea70485d673e8e94b6 (patch)
tree11d44920353aea9bf4301eb267f8c831e622520e /make/lib.cfg
parent9f096f47243ab19db617ec990188dbef71166e41 (diff)
downloadrtems-f3f0370f1054f4e49aa8f5ea70485d673e8e94b6.tar.bz2
build: Alternative build system based on waf
Update #3818.
Diffstat (limited to '')
-rw-r--r--make/lib.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/make/lib.cfg b/make/lib.cfg
new file mode 100644
index 0000000000..c4a2c679d5
--- /dev/null
+++ b/make/lib.cfg
@@ -0,0 +1,15 @@
+# make/lib.cfg
+#
+# Make(1) configuration file include'd by all "library" Makefile
+# Assumes $(LIB) is set to $(ARCH)/libfoo.a
+#
+
+include $(PROJECT_ROOT)/make/leaf.cfg
+
+define make-library
+$(RM) $@
+$(AR) $(ARFLAGS) $@ $(OBJS)
+$(RANLIB) $@
+endef
+
+.PRECIOUS: $(LIB)