Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c253d085 authored by ddalex's avatar ddalex Committed by Gerrit Code Review
Browse files

kernel: use target strip command

Change the strip command used from the hardcoded arm
to the toolchain defined strip.

Change-Id: Id900765e8dc93af1345081f4fd0c52bebcd07fea
parent 7609ee80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ define mv-modules
    if [ "$$mdpath" != "" ];then\
        mpath=`dirname $$mdpath`;\
        ko=`find $$mpath/kernel -type f -name *.ko`;\
        for i in $$ko; do $(ARM_EABI_TOOLCHAIN)/arm-eabi-strip --strip-unneeded $$i;\
        for i in $$ko; do $(TARGET_STRIP) --strip-unneeded $$i;\
        mv $$i $(KERNEL_MODULES_OUT)/; done;\
    fi
endef