diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-30 09:20:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-30 09:20:33 +0100 |
commit | 70e4bd5c8f26b1f2baeb5146a841273b2cb15179 (patch) | |
tree | 82c39dda2ba79ec0993746bf42651c18a4beb137 /sys-process/atop/files | |
parent | 37c470b10802509995e7ae6a6886506f79540dd8 (diff) |
gentoo auto-resync : 30:05:2023 - 09:20:33
Diffstat (limited to 'sys-process/atop/files')
-rw-r--r-- | sys-process/atop/files/atop-2.9.0-netatop-makefile.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-process/atop/files/atop-2.9.0-netatop-makefile.patch b/sys-process/atop/files/atop-2.9.0-netatop-makefile.patch new file mode 100644 index 000000000000..30710369fd46 --- /dev/null +++ b/sys-process/atop/files/atop-2.9.0-netatop-makefile.patch @@ -0,0 +1,42 @@ +--- a/daemon/Makefile ++++ b/daemon/Makefile +@@ -6,7 +6,7 @@ + all: netatopd + + netatopd: netatopd.o Makefile +- $(CC) netatopd.o -o netatopd -lz ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) netatopd.o -o netatopd -lz + + clean: + rm -f *.o netatopd +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,7 @@ + all: + ./mkversion +- cd module; make +- cd daemon; make ++ $(MAKE) -C module ++ $(MAKE) -C daemon + + install: module/netatop.ko daemon/netatopd + install -d /lib/modules/`uname -r`/extra +@@ -14,5 +14,5 @@ + install man/netatopd.8 -t /usr/share/man/man8 + + clean: +- cd module; make clean +- cd daemon; make clean ++ $(MAKE) -C module clean ++ $(MAKE) -C daemon clean +--- a/module/Makefile ++++ b/module/Makefile +@@ -7,7 +7,7 @@ + + $(MYMODULE).ko: $(MYMODULE).c + echo start the make +- make -C $(KERNDIR) M=$(THISDIR) modules ++ $(MAKE) -C $(KERNDIR) M=$(THISDIR) modules + + clean: + rm -f *.o *.ko |