forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/scripts/Makefile.modsign
....@@ -8,8 +8,7 @@
88
99 include scripts/Kbuild.include
1010
11
-__modules := $(sort $(shell grep -h '\.ko$$' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
12
-modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
11
+modules := $(sort $(shell cat modules.order))
1312
1413 PHONY += $(modules)
1514 __modsign: $(modules)