From: Nicolas Thill Date: Thu, 6 Sep 2007 04:11:15 +0000 (+0000) Subject: remove ref to EXTRA_*FLAGS, convert description, cleanup X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=126fea06bf157954a87b4d5f6a2df58a78814ac4;ds=inline remove ref to EXTRA_*FLAGS, convert description, cleanup SVN-Revision: 8645 --- diff --git a/utils/procps/Makefile b/utils/procps/Makefile index fe345c2a79..83ea3d8f5f 100644 --- a/utils/procps/Makefile +++ b/utils/procps/Makefile @@ -15,12 +15,6 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://procps.sourceforge.net PKG_MD5SUM:=f490bca772b16472962c7b9f23b1e97d -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install - -PKG_BUILD_DEPENDS:=libncurses include $(INCLUDE_DIR)/package.mk @@ -29,27 +23,19 @@ define Package/procps CATEGORY:=Utilities DEPENDS:=+libncurses TITLE:=proc utilities - DESCRIPTION:=\ - procps is the package that has a bunch of small useful\\\ - utilities that give information about processes using\\\ - the /proc filesystem. The package includes the programs\\\ - ps, top, vmstat, w, kill, free, slabtop, and skill. URL:=http://sourceforge.net/projects/procps/ endef -define Build/Configure +define Package/procps/description + procps is the package that has a bunch of small useful utilities that give + information about processes using the /proc filesystem. The package + includes the programs ps, top, vmstat, w, kill, free, slabtop, and skill. endef -EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -EXTRA_LDFLAGS += -L$(STAGING_DIR)/usr/lib - -define Build/Compile - $(call Build/Compile/Default, \ - CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ - CPPFLAGS="$(EXTRA_CPPFLAGS)" \ - LDFLAGS="$(EXTRA_LDFLAGS)" \ - ) -endef +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS)" \ + CPPFLAGS="$(TARGET_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ define Package/procps/install $(INSTALL_DIR) $(1)/usr/bin