mirror of
https://github.com/fbelavenuto/arpl.git
synced 2025-12-24 14:52:05 +08:00
Replaced php scripts for alternatives
Add kpatch C code for patch DSM kernel Fix ramdisk-common-init-script (wrong merge)
This commit is contained in:
12
kpatch/Makefile
Normal file
12
kpatch/Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
CFLAGS = -Wall -pedantic
|
||||
LDFLAGS =
|
||||
LIBS = /lib/x86_64-linux-gnu/libelf.a /lib/x86_64-linux-gnu/libz.a
|
||||
|
||||
all: kpatch
|
||||
|
||||
kpatch: main.o
|
||||
cc $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f kpatch *.o
|
||||
Reference in New Issue
Block a user