Skip to content

Commit

Permalink
freetz-ng: fix time of assignment for GNU_HOST_NAME variable
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPawn committed Jun 4, 2022
1 parent 978763f commit b8ec32d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
Expand Up @@ -279,6 +279,21 @@ export VERBOSE
include $(INCLUDE_DIR)/Makefile/echo.mk
include $(INCLUDE_DIR)/Makefile/macros.mk

HOSTCC:=gcc
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
-e 's/sparc.*/sparc/' \
-e 's/arm.*/arm/g' \
-e 's/m68k.*/m68k/' \
-e 's/ppc/powerpc/g' \
-e 's/v850.*/v850/g' \
-e 's/sh[234]/sh/' \
-e 's/mips-.*/mips/' \
-e 's/mipsel-.*/mipsel/' \
-e 's/cris.*/cris/' \
-e 's/i[3-9]86/i386/' \
)
GNU_HOST_NAME:=$(HOST_ARCH)-pc-linux-gnu

include $(TOOLS_DIR)/make/Makefile.in
include $(call sorted-wildcard,$(TOOLS_DIR)/make/*/*.mk)

Expand Down

0 comments on commit b8ec32d

Please sign in to comment.