mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
Use BR2_ENDIAN for big/little endianness detection
This commit is contained in:
parent
6755d78ea6
commit
45ac6df37c
@ -39,24 +39,10 @@ cramfs-dirclean:
|
|||||||
# Build the cramfs root filesystem image
|
# Build the cramfs root filesystem image
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
|
ifeq ($(BR2_ENDIAN),"BIG")
|
||||||
|
CRAMFS_ENDIANNESS=-b
|
||||||
|
else
|
||||||
CRAMFS_ENDIANNESS=-l
|
CRAMFS_ENDIANNESS=-l
|
||||||
ifeq ($(strip $(BR2_armeb)),y)
|
|
||||||
CRAMFS_ENDIANNESS=-b
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_mips)),y)
|
|
||||||
CRAMFS_ENDIANNESS=-b
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_powerpc)),y)
|
|
||||||
CRAMFS_ENDIANNESS=-b
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_sh3eb)),y)
|
|
||||||
CRAMFS_ENDIANNESS=-b
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_sh4eb)),y)
|
|
||||||
CRAMFS_ENDIANNESS=-b
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_sparc)),y)
|
|
||||||
CRAMFS_ENDIANNESS=-b
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CRAMFS_TARGET=$(IMAGE).cramfs
|
CRAMFS_TARGET=$(IMAGE).cramfs
|
||||||
|
@ -35,24 +35,10 @@ squashfs-dirclean:
|
|||||||
# Build the squashfs root filesystem image
|
# Build the squashfs root filesystem image
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
|
ifeq ($(BR2_ENDIAN),"BIG")
|
||||||
|
SQUASHFS_ENDIANNESS=-be
|
||||||
|
else
|
||||||
SQUASHFS_ENDIANNESS=-le
|
SQUASHFS_ENDIANNESS=-le
|
||||||
ifeq ($(strip $(BR2_armeb)),y)
|
|
||||||
SQUASHFS_ENDIANNESS=-be
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_mips)),y)
|
|
||||||
SQUASHFS_ENDIANNESS=-be
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_powerpc)),y)
|
|
||||||
SQUASHFS_ENDIANNESS=-be
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_sh3eb)),y)
|
|
||||||
SQUASHFS_ENDIANNESS=-be
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_sh4eb)),y)
|
|
||||||
SQUASHFS_ENDIANNESS=-be
|
|
||||||
endif
|
|
||||||
ifeq ($(strip $(BR2_sparc)),y)
|
|
||||||
SQUASHFS_ENDIANNESS=-be
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SQUASHFS_TARGET:=$(IMAGE).squashfs
|
SQUASHFS_TARGET:=$(IMAGE).squashfs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user