Changeset 17101


Ignore:
Timestamp:
2009-08-03T13:24:56+02:00 (7 years ago)
Author:
kaloz
Message:

add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/package-defaults.mk

    r17075 r17101  
    2424    VERSION:=$(PKG_RELEASE) 
    2525  endif 
    26   PKGARCH:=$(BOARD) 
     26  ifneq ($(CONFIG_TARGET_adm5120),y) 
     27    PKGARCH:=$(BOARD) 
     28  else 
     29    PKGARCH:=$(BOARD)_$(ARCH) 
     30  endif 
    2731  PRIORITY:=optional 
    2832  DEFAULT:= 
  • trunk/package/opkg/Makefile

    r17063 r17101  
    6060                CC="$(TARGET_CC)" \ 
    6161                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    62                 HOST_CPU="$(BOARD)" \ 
     62                HOST_CPU="$(PKGARCH)" \ 
    6363                all install 
    6464endef 
     
    6969        $(INSTALL_DIR) $(1)/etc 
    7070        $(INSTALL_DATA) ./files/opkg.conf $(1)/etc/ 
    71         $(SED) 's,$$$$S,$(BOARD),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/opkg.conf 
     71        $(SED) 's,$$$$S,$(PKGARCH),g' $(1)/etc/opkg.conf 
    7272        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg 
    7373        $(INSTALL_DIR) $(1)/usr/lib 
Note: See TracChangeset for help on using the changeset viewer.