X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=rules.mk;h=a6188f4a6baaffc1aa5f5651af6a7e9d1e6fe903;hb=ccd12544f65912a0c2016ae4c94528e7ad84eef1;hp=b63fcf31c8f5f7a6934473e64992f4188263599c;hpb=063729570437fe82c326df2d1630be73828e0539;p=librecmc%2Flibrecmc.git diff --git a/rules.mk b/rules.mk index b63fcf31c8..a6188f4a6b 100644 --- a/rules.mk +++ b/rules.mk @@ -87,8 +87,9 @@ TARGET_CONFIGURE_OPTS:= \ # strip an entire directory RSTRIP:= \ + NM="$(TARGET_CROSS)nm" \ STRIP="$(STRIP)" \ - STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment -w -K '__mod*'" \ + STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \ $(SCRIPT_DIR)/rstrip.sh # where to build (and put) .ipk packages