uniLoader: Migrate to kconfig based configurations

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
This commit is contained in:
ivoszbg committed 2022-06-14 18:02:47 +03:00
1 parent e364dfbc1b
commit fd8ed2d1b8
95 files changed
+27774 -169

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
menu "Libraries"
config SIMPLE_FB
bool "Support for Simple Framebuffer"
default y
help
Say Y if you want to have Framebuffer output.
endmenu
+1 -27
View File
@@ -1,27 +1 @@
# SPDX-License-Identifier: GPL-2.0
#
# Compiler defines
#
CCPREFIX?=aarch64-linux-gnu-
CC=$(CCPREFIX)gcc
CPP=$(CCPREFIX)cpp
LD=$(CCPREFIX)ld
OBJCPY=$(CCPREFIX)objcopy
#
# Compiler flags
#
CFLAGS = -march=armv8-a -Wall -nodefaultlibs \
-nostdlib -nostartfiles -fno-builtin \
-nostdinc -Wstrict-prototypes -std=gnu11 \
-Wno-main -I'../include'
#
# Split BOARD definition into 2 parts - manufacturer and codename
#
split_board := $(subst -, ,$(BOARD:%=%))
board_manu := $(word 1,$(split_board))
board_codename := $(word 2,$(split_board))
all: simplefb/simplefb.o
lib-$(CONFIG_SIMPLE_FB) += simplefb/simplefb.o