comparison libtommath/makefile_include.mk @ 1657:823592f244c9

Bring back Dropbear patch to avoid setting AR/LD/RANLIB in LTM
author Matt Johnston <matt@ucc.asn.au>
date Tue, 17 Sep 2019 22:26:03 +0800
parents f52919ffd3b1
children 1051e4eea25a
comparison
equal deleted inserted replaced
1656:a36e545fb43d 1657:823592f244c9
32 CC := $(CROSS_COMPILE)gcc 32 CC := $(CROSS_COMPILE)gcc
33 endif # Clang 33 endif # Clang
34 endif # cc is Make's default 34 endif # cc is Make's default
35 endif # CROSS_COMPILE non-empty 35 endif # CROSS_COMPILE non-empty
36 36
37 LD=$(CROSS_COMPILE)ld 37 # Dropbear passes these down
38 AR=$(CROSS_COMPILE)ar 38 #LD=$(CROSS_COMPILE)ld
39 RANLIB=$(CROSS_COMPILE)ranlib 39 #AR=$(CROSS_COMPILE)ar
40 #RANLIB=$(CROSS_COMPILE)ranlib
40 41
41 ifndef MAKE 42 ifndef MAKE
42 # BSDs refer to GNU Make as gmake 43 # BSDs refer to GNU Make as gmake
43 ifneq (,$(findstring $(PLATFORM),FreeBSD OpenBSD DragonFly NetBSD)) 44 ifneq (,$(findstring $(PLATFORM),FreeBSD OpenBSD DragonFly NetBSD))
44 MAKE=gmake 45 MAKE=gmake