From 60bbe0fe49644c5a5bcacbcb368c947c96a5b09d Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Tue, 1 Feb 2022 21:24:43 +0100 Subject: [PATCH] cpu/esp_common/makefile: move linking of libhal.a to esp8266 makefile --- cpu/esp8266/Makefile.include | 2 +- cpu/esp_common/Makefile.include | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/esp8266/Makefile.include b/cpu/esp8266/Makefile.include index f95ee52a08..72afb252e7 100644 --- a/cpu/esp8266/Makefile.include +++ b/cpu/esp8266/Makefile.include @@ -42,7 +42,7 @@ ifneq (,$(filter esp_now,$(USEMODULE))) ARCHIVES += -lespnow endif -ARCHIVES += -lgcc -lwpa -lcore -lnet80211 -lphy -lpp -lstdc++ +ARCHIVES += -lgcc -lhal -lwpa -lcore -lnet80211 -lphy -lpp -lstdc++ LINKFLAGS += -L$(RIOTCPU)/$(CPU)/ld LINKFLAGS += -Tesp8266.rom.ld diff --git a/cpu/esp_common/Makefile.include b/cpu/esp_common/Makefile.include index e2ecff5721..b817fce4cb 100644 --- a/cpu/esp_common/Makefile.include +++ b/cpu/esp_common/Makefile.include @@ -78,7 +78,7 @@ CFLAGS += $(if $(findstring qio,$(FLASH_MODE)),-DFLASH_MODE_QIO=1) CFLAGS += $(if $(findstring dio,$(FLASH_MODE)),-DFLASH_MODE_DIO=1) CFLAGS += $(if $(findstring dout,$(FLASH_MODE)),-DFLASH_MODE_DOUT=1) -ARCHIVES += -lhal -lg -lc +ARCHIVES += -lg -lc LINKFLAGS += $(CFLAGS_OPT) $(CFLAGS_DBG) #ifneq ($(CPU),esp8266)