Changeset 14172


Ignorieren:
Zeitstempel:
18.03.2017 20:30:55 (vor 6 Tagen)
Autor:
er13
Nachricht:

sundtek:

  • introduce a menuconfig variable for sundtek "arch"
Ort:
trunk/make/sundtek
Dateien:
2 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/sundtek/Config.in

    r14167 r14172  
    2323endchoice 
    2424 
     25config FREETZ_PACKAGE_SUNDTEK_ARCH 
     26    depends on FREETZ_PACKAGE_SUNDTEK 
     27    string 
     28    default "openwrtmipsr3"  if FREETZ_TARGET_ARCH_BE &&  FREETZ_TARGET_UCLIBC_0_9_33 
     29    default "openwrtmipsr2"  if FREETZ_TARGET_ARCH_BE && !FREETZ_TARGET_UCLIBC_0_9_33 
     30    default "mipselbcm"      if FREETZ_TARGET_ARCH_LE 
     31 
    2532if FREETZ_PACKAGE_SUNDTEK 
    2633comment "Note: Try using older version if you experience any problems" 
  • trunk/make/sundtek/sundtek.mk

    r14168 r14172  
    55$(PKG)_SOURCE_MD5:=$($(PKG)_SOURCE_MD5_$($(PKG)_VERSION)) 
    66$(PKG)_SITE:=http://www.sundtek.de/media 
     7 
     8$(PKG)_ARCH:=$(or $(call qstrip,$(FREETZ_PACKAGE_SUNDTEK_ARCH)),undefined) 
    79 
    810$(PKG)_STARTLEVEL=90 # before rrdstats 
     
    2527    payload="$$$$(cat $(1) | sed -rn 's!^_SIZE=(.*)!\1!p')"; \ 
    2628    dd if=$(1) skip=1 bs=$$$$payload 2>/dev/null | \ 
    27     $(TAR) Oxz $(if $(FREETZ_TARGET_ARCH_BE),$(if $(FREETZ_TARGET_UCLIBC_0_9_33),openwrtmipsr3,openwrtmipsr2),mipselbcm)/installer.tar.gz | \ 
     29    $(TAR) Oxz $($(PKG)_ARCH)/installer.tar.gz | \ 
    2830    $(TAR) xz -C $($(PKG)_DIR) 
    2931endef 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.