Changeset 14378


Ignorieren:
Zeitstempel:
09.08.2017 22:53:45 (vor 10 Tagen)
Autor:
er13
Nachricht:
  • introduce and use (endianness independent) TARGET_ARCH variable
  • refs #2862
Ort:
trunk
Dateien:
8 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/config/avm/architecture.in

    r14377 r14378  
    6262        FREETZ_TYPE_7590 
    6363 
     64config FREETZ_TARGET_ARCH_MIPS 
     65    bool 
     66    default y 
     67 
     68config FREETZ_TARGET_ARCH 
     69    string 
     70    default "mips"   if FREETZ_TARGET_ARCH_MIPS 
     71 
    6472config FREETZ_TARGET_ARCH_ENDIANNESS_DEPENDENT 
    6573    string 
    66     default "mips" if FREETZ_TARGET_ARCH_BE 
    67     default "mipsel" if FREETZ_TARGET_ARCH_LE 
     74    default "mips"   if FREETZ_TARGET_ARCH_MIPS && FREETZ_TARGET_ARCH_BE 
     75    default "mipsel" if FREETZ_TARGET_ARCH_MIPS && FREETZ_TARGET_ARCH_LE 
    6876 
    6977config FREETZ_TARGET_CROSS 
  • trunk/make/Makefile.in

    r14377 r14378  
    3535 
    3636TARGET_CROSS:=$(call qstrip,$(FREETZ_TARGET_CROSS)) 
    37 KERNEL_ARCH:=mips 
    3837KERNEL_CROSS:=$(call qstrip,$(FREETZ_KERNEL_CROSS)) 
    3938 
  • trunk/make/fuse-kernel-module/fuse-kernel-module.mk

    r14158 r14378  
    2525$($(PKG)_BINARY): $($(PKG)_DIR)/.configured 
    2626    $(SUBMAKE) -C $(FUSE_KERNEL_MODULE_DIR) \ 
    27         ARCH="$(KERNEL_ARCH)" \ 
     27        ARCH="$(TARGET_ARCH)" \ 
    2828        CROSS_COMPILE="$(KERNEL_CROSS)" \ 
    2929        V=1 \ 
  • trunk/make/linux/kernel.mk

    r14225 r14378  
    1919KERNEL_COMMON_MAKE_OPTIONS += CROSS_COMPILE="$(KERNEL_CROSS)" 
    2020KERNEL_COMMON_MAKE_OPTIONS += KERNEL_MAKE_PATH="$(KERNEL_MAKE_PATH):$(PATH)" 
    21 KERNEL_COMMON_MAKE_OPTIONS += ARCH="$(KERNEL_ARCH)" 
     21KERNEL_COMMON_MAKE_OPTIONS += ARCH="$(TARGET_ARCH)" 
    2222# TODO: KERNEL_LAYOUT is referenced just once in kernel's makefiles. 
    2323# It causes additional fusiv-sources to be added to the list of sources 
  • trunk/make/ndas/ndas.mk

    r14377 r14378  
    6666    $(SUBMAKE1) -C $(NDAS_BUILD_DIR) \ 
    6767        $(NDAS_OPTIONS) \ 
    68         ARCH="$(KERNEL_ARCH)" \ 
     68        ARCH="$(TARGET_ARCH)" \ 
    6969        CC="$(KERNEL_CROSS)gcc" \ 
    7070        LD="$(KERNEL_CROSS)ld" \ 
  • trunk/make/ntfs/ntfs.mk

    r14218 r14378  
    3636$(PKG)_CONFIGURE_PRE_CMDS += $(SED) -i -r -e 's,^(LD)FLAGS[ \t]*=[ \t]*@\1FLAGS@,& $$$$(EXTRA_\1FLAGS),' $(abspath $($(PKG)_DIR))/{src,ntfsprogs}/Makefile.in; 
    3737 
    38 $(PKG)_MAKE_FLAGS += ARCH="$(KERNEL_ARCH)" 
     38$(PKG)_MAKE_FLAGS += ARCH="$(TARGET_ARCH)" 
    3939$(PKG)_MAKE_FLAGS += CROSS_COMPILE="$(TARGET_CROSS)" 
    4040$(PKG)_MAKE_FLAGS += EXTRA_CFLAGS="-ffunction-sections -fdata-sections" 
  • trunk/make/usbip/usbip.mk

    r12807 r14378  
    3333    $(SUBMAKE) -C $(USBIP_DIR)/drivers/2.6.21 \ 
    3434        KSOURCE="$(FREETZ_BASE_DIR)/$(KERNEL_SOURCE_DIR)" \ 
    35         ARCH="$(KERNEL_ARCH)" \ 
     35        ARCH="$(TARGET_ARCH)" \ 
    3636        CROSS_COMPILE="$(KERNEL_CROSS)" 
    3737 
  • trunk/toolchain/make/Makefile.in

    r14377 r14378  
    22-include $(call sorted-wildcard,$(TOOLCHAIN_DIR)/make/target/*/Makefile.in) 
    33 
     4TARGET_ARCH:=$(call qstrip,$(FREETZ_TARGET_ARCH)) 
    45TARGET_ARCH_ENDIANNESS_DEPENDENT:=$(call qstrip,$(FREETZ_TARGET_ARCH_ENDIANNESS_DEPENDENT)) 
    56 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.