diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2009-08-03 11:24:56 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2009-08-03 11:24:56 +0000 |
commit | 671280830d8820e72af645558e50f722c30b1870 (patch) | |
tree | e59c70848d986bac05a8b5b0208e87adbf2989c2 /package/opkg | |
parent | bfd20cb57da0ec8d758324679dcddda9650a8d47 (diff) | |
download | mtk-20170518-671280830d8820e72af645558e50f722c30b1870.zip mtk-20170518-671280830d8820e72af645558e50f722c30b1870.tar.gz mtk-20170518-671280830d8820e72af645558e50f722c30b1870.tar.bz2 |
add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
SVN-Revision: 17101
Diffstat (limited to 'package/opkg')
-rw-r--r-- | package/opkg/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/opkg/Makefile b/package/opkg/Makefile index 9f5faa3..864a13b 100644 --- a/package/opkg/Makefile +++ b/package/opkg/Makefile @@ -59,7 +59,7 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ CC="$(TARGET_CC)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ - HOST_CPU="$(BOARD)" \ + 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/ |