forked from openkylin/platform_build
package modules.alias onto device
Test: device builds and boots, vendor/lib/modules/modules.alias appears on device. Merged-In: I668a396ccd11e4eb599e1f6aa2906400ac78f02b Change-Id: I668a396ccd11e4eb599e1f6aa2906400ac78f02b
This commit is contained in:
parent
28794da1c0
commit
ecf83a839f
|
@ -1112,6 +1112,7 @@ define build-image-kernel-modules
|
|||
$(hide) $(DEPMOD) -b $(4) 0.0
|
||||
$(hide) sed -e 's/\(.*modules.*\):/\/\1:/g' -e 's/ \([^ ]*modules[^ ]*\)/ \/\1/g' -i $(4)/lib/modules/0.0/modules.dep
|
||||
$(hide) cp $(4)/lib/modules/0.0/modules.dep $(2)/lib/modules
|
||||
$(hide) cp $(4)/lib/modules/0.0/modules.alias $(2)/lib/modules
|
||||
endef
|
||||
|
||||
# $(1): output file
|
||||
|
|
Loading…
Reference in New Issue