X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c14e62dceea6c8d9ff94249c72de54ed037a7a76..136e608800cdf0f02b063719ac70b5d66fe5787c:/package/opkg/Makefile diff --git a/package/opkg/Makefile b/package/opkg/Makefile index eb9bd329c..864a13b47 100644 --- a/package/opkg/Makefile +++ b/package/opkg/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2008 OpenWrt.org +# Copyright (C) 2006-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=opkg -PKG_REV:=4564 +PKG_REV:=4993 PKG_VERSION:=$(PKG_REV) PKG_RELEASE:=4 @@ -59,7 +59,7 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ CC="$(TARGET_CC)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ - HOST_CPU="$(ARCH)" \ + HOST_CPU="$(PKGARCH)" \ all install endef @@ -68,7 +68,7 @@ define Package/opkg/install $(INSTALL_DIR) $(1)/bin $(INSTALL_DIR) $(1)/etc $(INSTALL_DATA) ./files/opkg.conf $(1)/etc/ - $(SED) 's,$$$$S,$(BOARD),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/opkg.conf + $(SED) 's,$$$$S,$(PKGARCH),g' $(1)/etc/opkg.conf $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopkg.so.* $(1)/usr/lib/