Package Details: corefreq-dkms-git 1.98.1.r0.ge8fe368-1

Git Clone URL: https://aur.archlinux.org/corefreq-git.git (read-only, click to copy)
Package Base: corefreq-git
Description: CoreFreq - kernel module sources
Upstream URL: https://github.com/cyring/CoreFreq
Licenses: GPL-2.0-only
Conflicts: corefreq-dkms
Provides: corefreq-dkms
Submitter: artafinde
Maintainer: artafinde
Last Packager: artafinde
Votes: 1
Popularity: 0.011144
First Submitted: 2024-01-18 14:35 (UTC)
Last Updated: 2024-08-07 09:01 (UTC)

Dependencies (2)

Required by (2)

Sources (3)

Latest Comments

amfern commented on 2024-07-22 15:51 (UTC)

@cryinh No, i think that's it. I was able to install the package right now.

CyrIng commented on 2024-07-20 15:13 (UTC)

@amfern Sorry for this late answer. Thank you for your patch. Does other things need to be polished ?

amfern commented on 2024-03-18 12:26 (UTC)

I noticed the master branch doesn't compile anymore because patch couldn't be applied. please see the new file honor-archlinux-compiler-flags.patch.


diff --git a/Makefile b/Makefile
index a21614a..0bcb223 100644
--- a/Makefile
+++ b/Makefile
@@ -193,11 +193,11 @@ clean:
    fi

 $(BUILD)/corefreqm.o: $(HW)/corefreqm.c
-   $(CC) $(OPTIM_FLG) $(WARNING) -pthread $(DEFINITIONS) \
+   $(CC) $(CFLAGS) $(LDFLAGS) -pthread $(DEFINITIONS) \
      -c $(HW)/corefreqm.c -o $(BUILD)/corefreqm.o

 $(BUILD)/corefreqd.o: $(HW)/corefreqd.c
-   $(CC) $(OPTIM_FLG) $(WARNING) -pthread $(DEFINITIONS) \
+   $(CC) $(CFLAGS) $(LDFLAGS) -pthread $(DEFINITIONS) \
      -c $(HW)/corefreqd.c -o $(BUILD)/corefreqd.o

 $(BUILD)/corefreqd: $(BUILD)/corefreqd.o $(BUILD)/corefreqm.o
@@ -208,23 +208,23 @@ $(BUILD)/corefreqd: $(BUILD)/corefreqd.o $(BUILD)/corefreqm.o
 corefreqd: $(BUILD)/corefreqd

 $(BUILD)/corefreq-ui.o: $(HW)/corefreq-ui.c
-   $(CC) $(OPTIM_FLG) $(WARNING) $(DEFINITIONS) \
+   $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINITIONS) \
      -c $(HW)/corefreq-ui.c -o $(BUILD)/corefreq-ui.o

 $(BUILD)/corefreq-cli.o: $(HW)/corefreq-cli.c
-   $(CC) $(OPTIM_FLG) $(WARNING) $(DEFINITIONS) $(LAYOUT) \
+   $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINITIONS) $(LAYOUT) \
      -c $(HW)/corefreq-cli.c -o $(BUILD)/corefreq-cli.o

 $(BUILD)/corefreq-cli-rsc.o: $(HW)/corefreq-cli-rsc.c
-   $(CC) $(OPTIM_FLG) $(WARNING) $(DEFINITIONS) $(LAYOUT) \
+   $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINITIONS) $(LAYOUT) \
      -c $(HW)/corefreq-cli-rsc.c -o $(BUILD)/corefreq-cli-rsc.o

 $(BUILD)/corefreq-cli-json.o: $(HW)/corefreq-cli-json.c
-   $(CC) $(OPTIM_FLG) $(WARNING) $(DEFINITIONS) \
+   $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINITIONS) \
      -c $(HW)/corefreq-cli-json.c -o $(BUILD)/corefreq-cli-json.o

 $(BUILD)/corefreq-cli-extra.o: $(HW)/corefreq-cli-extra.c
-   $(CC) $(OPTIM_FLG) $(WARNING) $(DEFINITIONS) \
+   $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINITIONS) \
      -c $(HW)/corefreq-cli-extra.c -o $(BUILD)/corefreq-cli-extra.o

 $(BUILD)/corefreq-cli: $(BUILD)/corefreq-cli.o \
@@ -232,7 +232,7 @@ $(BUILD)/corefreq-cli:  $(BUILD)/corefreq-cli.o \
            $(BUILD)/corefreq-cli-rsc.o \
            $(BUILD)/corefreq-cli-json.o \
            $(BUILD)/corefreq-cli-extra.o
-   $(CC) $(OPTIM_FLG) -o $(BUILD)/corefreq-cli \
+   $(CC) $(CFLAGS) $(LDFLAGS) -o $(BUILD)/corefreq-cli \
      $(BUILD)/corefreq-cli.o $(BUILD)/corefreq-ui.o \
      $(BUILD)/corefreq-cli-rsc.o $(BUILD)/corefreq-cli-json.o \
      $(BUILD)/corefreq-cli-extra.o -lm -lrt -lc