Commit 20e75120 authored by Deepak Saxena's avatar Deepak Saxena Committed by Russell King

[ARM PATCH] 1611/1: Add big-endian support to AFLAGS

Patch from Deepak Saxena

This is required for usr/initramfs_data.o to build properly when
CONFIG_CPU_BIG_ENDIAN is enabled.
parent eda0fdaa
......@@ -24,6 +24,7 @@ ifeq ($(CONFIG_CPU_BIG_ENDIAN),y)
CFLAGS += -mbig-endian
AS += -EB
LD += -EB
AFLAGS += -mbig-endian
endif
check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment