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 e7b66b7f8fdffa2e0d3a60586bcb0cf554031574..e7d74b1ae122b1a1204e2fcd99dcd86768af39fe 100644 (file)
@@ -23,7 +23,7 @@ define Package/Default
   else
     VERSION:=$(PKG_RELEASE)
   endif
-  PKGARCH:=$(ARCH)
+  PKGARCH:=$(BOARD)
   PRIORITY:=optional
   DEFAULT:=
   MENU:=
index 3a65947c48e88c7feda03f9b98ef83dc5b5deb68..9f5faa347475a0d4003b34d2b077bfe50a5e614d 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