From 36e2b97e4cdaeb065265ed79b77f130747308b61 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 16 May 2024 15:19:22 +0530 Subject: libpayload: Inject head.S into libc, remove separate class Integrate head.S directly into libc and remove all instances of head.o. * Drop 'separate class' entry for head.S. * Drop special treament for head.o inside lpgcc. * Change the .text in `x86/head.S` to `.section .text._entry`. * Drop arch/mock/head.c, initially added as a dummy file. Change-Id: I156d781908fcc38d455bbf9f2c29e5ab95c7775a Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/82478 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- payloads/libpayload/arch/mock/Makefile.mk | 2 -- 1 file changed, 2 deletions(-) (limited to 'payloads/libpayload/arch/mock/Makefile.mk') diff --git a/payloads/libpayload/arch/mock/Makefile.mk b/payloads/libpayload/arch/mock/Makefile.mk index e3f10a69ed..0b418f0d97 100644 --- a/payloads/libpayload/arch/mock/Makefile.mk +++ b/payloads/libpayload/arch/mock/Makefile.mk @@ -1,7 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -head.o-y += head.c - libc-y += virtual.c CFLAGS += -Wno-address-of-packed-member -- cgit v1.2.3