fix(netifyd): Fix build by removing malformed 003-skip-tests patch
The 003-skip-tests.patch file was malformed and causing build failures with "Only garbage was found in the patch input" error. Removed the patch as it's not needed - the build succeeds without it since we already use --with-only-libndpi configure flag. Added 002-fix-ndpi-example-linking.patch to properly link ndpi examples with correct library order. Build verified: netifyd_5.2.1-r1_aarch64_cortex-a72.ipk (1.2M) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
8fcd34abd0
commit
fef7fbb053
@ -0,0 +1,20 @@
|
||||
--- a/libs/ndpi/example/Makefile.in
|
||||
+++ b/libs/ndpi/example/Makefile.in
|
||||
@@ -48,6 +48,8 @@
|
||||
|
||||
CFLAGS+=-pthread
|
||||
|
||||
+LIBS_NO_NDPI := $(filter-out $(LIBNDPI),$(LIBS))
|
||||
+
|
||||
all: ndpiReader$(EXE_SUFFIX) @DPDK_TARGET@
|
||||
|
||||
EXECUTABLE_SOURCES := ndpiReader.c ndpiSimpleIntegration.c
|
||||
@@ -57,7 +59,7 @@
|
||||
$(AR) rsv libndpiReader.a $(COMMON_SOURCES:%.c=%.o)
|
||||
|
||||
ndpiReader$(EXE_SUFFIX): libndpiReader.a $(LIBNDPI) ndpiReader.o
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) ndpiReader.o libndpiReader.a $(LIBS) -o $@
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) ndpiReader.o -Wl,--start-group libndpiReader.a $(LIBNDPI) -Wl,--end-group $(LIBS_NO_NDPI) -o $@
|
||||
|
||||
ndpiSimpleIntegration$(EXE_SUFFIX): ndpiSimpleIntegration.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
|
||||
@ -1,7 +0,0 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@
|
||||
-SUBDIRS = libs/inih libs/ndpi $(SUBDIRS_EXTRA) include src deploy doc tests util
|
||||
-DIST_SUBDIRS = $(SUBDIRS)
|
||||
+SUBDIRS = libs/inih libs/ndpi $(SUBDIRS_EXTRA) include src deploy doc util
|
||||
+DIST_SUBDIRS = $(SUBDIRS) tests
|
||||
Loading…
Reference in New Issue
Block a user