fix armv8 complie support at drk3568 ethernet

This commit is contained in:
lr
2024-06-05 14:39:55 +08:00
parent 84e066d209
commit 37603ac9c3
3 changed files with 3 additions and 7 deletions
@@ -1,4 +1,4 @@
SRC_DIR := ethernet
SRC_DIR :=
include $(KERNEL_ROOT)/compiler.mk
@@ -15,14 +15,14 @@ endif
ifeq ($(BOARD), ok1028a-c)
toolchain ?= aarch64-none-elf-
user_ldflags = -N -Ttext 0
cflags = -g -std=c11 -mtune=cortex-a72 -nostdlib -nodefaultlibs -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -ggdb -Wno-unused -fno-omit-frame-pointer -fno-stack-protector -fno-pie
cflags = -g -std=c11 -mtune=cortex-a72 -nostdlib -nodefaultlibs -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -Werror -ggdb -Wno-unused -fno-omit-frame-pointer -fno-stack-protector -fno-pie
board_specs = stub.o
endif
cc = ${toolchain}gcc
ld = ${toolchain}g++
objdump = ${toolchain}objdump
c_useropts = -O2
# c_useropts = -O2
c_useropts = -O0
INC_DIR = -I$(KERNEL_ROOT)/services/app \