nss-userspace: Fix parallel build issue

Ensure libraries are built before dependent binaries.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
Sean Khan 2025-07-13 22:22:11 -04:00
parent 3ce5249c26
commit 861eef14c3

View File

@ -1,6 +1,6 @@
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
@@ -0,0 +1,28 @@
+# Define the build directories based on flags
+DIRS-y :=
+DIRS-$(BUILD_LIBNSS) += lib
@ -17,6 +17,10 @@
+$(DIRS-y):
+ $(MAKE) -C $@
+
+nssinfo: lib
+
+ppe/ppecfg: ppe/ppenl_lib
+
+clean:
+ @for dir in $(DIRS-y); do \
+ if [ -d $$dir ]; then \