X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d286ea505d0cb4cb3744cd7bfc627c7b630b6c6c..7150f5906ab3b187cb82d86d923912b4e9cbad70:/rules.mk diff --git a/rules.mk b/rules.mk index b63fcf31c..a6188f4a6 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