Package Details: corefreq-dkms-git 2.1.1.r14.g411ca5d-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: 3
Popularity: 0.000755
First Submitted: 2024-01-18 14:35 (UTC)
Last Updated: 2026-05-24 20:17 (UTC)

Dependencies (2)

Required by (2)

Sources (2)

Latest Comments

CyrIng commented on 2026-05-22 09:18 (UTC) (edited on 2026-05-22 09:19 (UTC) by CyrIng)

Contributions to Makefile and build system improvements (such as CFLAGS handling) are welcome.

A dedicated review branch is available for discussion and testing of these changes: https://github.com/cyring/CoreFreq/tree/build/improvements

Patches or pull requests based on this branch are appreciated before integration into master.

moetayuko commented on 2026-05-04 12:58 (UTC)

honor-archlinux-compiler-flags.patch no longer applies

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