From: Felix Fietkau Date: Sat, 23 May 2009 00:01:47 +0000 (+0000) Subject: oprofile: reduce package size, adjust linking order to find the right libiberty first X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=73c8b083b9cf323d44e366bcefb79d1c05610bcd;p=openwrt%2Fsvn-archive%2Farchive.git oprofile: reduce package size, adjust linking order to find the right libiberty first SVN-Revision: 16006 --- diff --git a/devel/oprofile/Makefile b/devel/oprofile/Makefile index c3368e7f9f..af2558c5f0 100644 --- a/devel/oprofile/Makefile +++ b/devel/oprofile/Makefile @@ -51,6 +51,8 @@ define Build/Configure ) endef +TARGET_LDFLAGS := -L$(STAGING_DIR)/usr/lib $(TARGET_LDFLAGS) + define Package/oprofile/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) \ @@ -64,7 +66,8 @@ define Package/oprofile/install $(INSTALL_DIR) $(1)/usr/share/oprofile $(CP) \ - $(PKG_INSTALL_DIR)/usr/share/oprofile/* \ + $(PKG_INSTALL_DIR)/usr/share/oprofile/stl.pat \ + $(PKG_INSTALL_DIR)/usr/share/oprofile/$(LINUX_KARCH) \ $(1)/usr/share/oprofile/ endef