use board names instead of arch in packages
authorImre Kaloz <kaloz@openwrt.org>
Fri, 31 Jul 2009 12:15:51 +0000 (12:15 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Fri, 31 Jul 2009 12:15:51 +0000 (12:15 +0000)
SVN-Revision: 17063

include/package-defaults.mk
package/opkg/Makefile

index e7b66b7..e7d74b1 100644 (file)
@@ -23,7 +23,7 @@ define Package/Default
   else
     VERSION:=$(PKG_RELEASE)
   endif
-  PKGARCH:=$(ARCH)
+  PKGARCH:=$(BOARD)
   PRIORITY:=optional
   DEFAULT:=
   MENU:=
index 3a65947..9f5faa3 100644 (file)
@@ -59,7 +59,7 @@ define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC="$(TARGET_CC)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
-               HOST_CPU="$(ARCH)" \
+               HOST_CPU="$(BOARD)" \
                all install
 endef