diff --git a/Ubiquitous/XiZi_AIoT/services/app/Makefile b/Ubiquitous/XiZi_AIoT/services/app/Makefile index 650748f2d..d70eee442 100644 --- a/Ubiquitous/XiZi_AIoT/services/app/Makefile +++ b/Ubiquitous/XiZi_AIoT/services/app/Makefile @@ -64,10 +64,6 @@ eth_driver: enet_drv.o enet_test.o board_network.o enet_iomux_config.o imx6dq_gp @${ld} ${user_ldflags} -e main -o $@ $^ ${board_specs} @${objdump} -S $@ > $@.asm -# ethernet: test_gmac.o hal_gmac.o hal_gmac_3568.o hal_base.o hal_bsp.o hal_pinctrl_v2.o hal_cru.o hal_cache.o hal_gpio.o hal_timer.o hal_cru_rk3568.o system_rk3568.o hal_debug.o libserial.o printf.o libmem.o usyscall.o arch_usyscall.o session.o libipc.o -# @${ld} ${user_ldflags} -e main -o $@ $^ ${board_specs} -# @${objdump} -S $@ > $@.asm - epit_server: timer.o epit.o ccm_pll.o usyscall.o arch_usyscall.o libserial.o printf.o libipc.o session.o @${ld} ${user_ldflags} -e main -o $@ $^ ${board_specs} @${objdump} -S $@ > $@.asm diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/rk-3568/Makefile b/Ubiquitous/XiZi_AIoT/services/drivers/rk-3568/Makefile index 272d0afd7..01dfbf56d 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/rk-3568/Makefile +++ b/Ubiquitous/XiZi_AIoT/services/drivers/rk-3568/Makefile @@ -1,4 +1,4 @@ -SRC_DIR := ethernet +SRC_DIR := include $(KERNEL_ROOT)/compiler.mk \ No newline at end of file diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/rk-3568/ethernet/Makefile b/Ubiquitous/XiZi_AIoT/services/drivers/rk-3568/ethernet/Makefile index a2620353a..5ea0749dc 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/rk-3568/ethernet/Makefile +++ b/Ubiquitous/XiZi_AIoT/services/drivers/rk-3568/ethernet/Makefile @@ -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 \