代码拉取完成,页面将自动刷新
同步操作将从 TenonOS/plat-rk3568 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
ifeq (arm64,$(CONFIG_UK_ARCH))
RK3568_LDFLAGS-y += -Wl,--entry=_start
RK3568_LDFLAGS-y += -Wl,-m,aarch64elf
RK3568_LINK_LIBGCC_FLAG := -lgcc
endif
##
## Link image
##
RK3568_IMAGE := $(BUILD_DIR)/$(CONFIG_UK_NAME)_rk3568-$(CONFIG_UK_ARCH)
RK3568_DEBUG_IMAGE := $(RK3568_IMAGE).dbg
RK3568_LD_SCRIPT_FLAGS := $(addprefix -Wl$(comma)-dT$(comma),\
$(UK_PLAT_RK3568_DEF_LDS))
RK3568_LD_SCRIPT_FLAGS += $(addprefix -Wl$(comma)-T$(comma),\
$(RK3568_LD_SCRIPT-y) $(EXTRA_LD_SCRIPT-y))
$(RK3568_DEBUG_IMAGE): $(RK3568_ALIBS) $(RK3568_ALIBS-y) $(RK3568_OLIBS) $(RK3568_OLIBS-y) \
$(UK_ALIBS) $(UK_ALIBS-y) $(UK_OLIBS) $(UK_OLIBS-y) \
$(RK3568_LD_SCRIPT-y) $(EXTRA_LD_SCRIPT-y) \
$(UK_PLAT_RK3568_DEF_LDS) $(UK_LDEPS)
$(call build_cmd,LD,,$@,\
$(LD) \
$(RK3568_LDFLAGS) $(RK3568_LDFLAGS-y) \
$(RK3568_OLIBS) $(RK3568_OLIBS-y) \
$(UK_OLIBS) $(UK_OLIBS-y) \
-Wl$(comma)--start-group \
$(RK3568_ALIBS) $(RK3568_ALIBS-y) \
$(UK_ALIBS) $(UK_ALIBS-y) \
$(RK3568_LINK_LIBGCC_FLAG) \
-Wl$(comma)--end-group \
$(LDFLAGS) $(LDFLAGS-y) \
$(RK3568_LD_SCRIPT_FLAGS) \
-o $@)
ifeq ($(CONFIG_OPTIMIZE_PIE),y)
$(call build_uk_reloc,$@)
endif
$(RK3568_IMAGE): $(RK3568_IMAGE).dbg
$(call build_cmd,SCSTRIP,,$@,\
$(STRIP) -s \
$(SECT_STRIP_FLAGS) $(SECT_STRIP_FLAGS-y) \
$(RK3568_STRIPFLAGS) \
$< -o $@ 2>&1 | \
{ $(GREP) -Ev \
"Empty loadable segment detected|section.*lma.*adjusted to.*" || \
true; })
$(call build_bootinfo,$@)
$(call build_cmd,OBJCOPY,,$(RK3568_IMAGE).img,\
$(OBJCOPY) -O binary $(RK3568_IMAGE) $(BUILD_DIR)/kernel.img)
$(RK3568_IMAGE).sym: $(RK3568_DEBUG_IMAGE)
$(call build_cmd,NM,,$@, $(NM) -n $< > $@)
$(RK3568_IMAGE).gz: $(RK3568_IMAGE)
$(call build_cmd,GZ,,$@, $(GZIP) -f -9 -c $< >$@)
# register images to the build
ifeq ($(CONFIG_PLAT_RK3568),y)
UK_DEBUG_IMAGES-y += $(RK3568_DEBUG_IMAGE)
UK_IMAGES-y += $(RK3568_IMAGE)
UK_IMAGES-$(CONFIG_OPTIMIZE_SYMFILE) += $(RK3568_IMAGE).sym
UK_IMAGES-$(CONFIG_OPTIMIZE_COMPRESS) += $(RK3568_IMAGE).gz
endif
# ...for cleaning:
LIBRK3568PLAT_CLEAN += $(call build_clean,$(RK3568_DEBUG_IMAGE).bootinfo)
LIBRK3568PLAT_CLEAN += $(call build_clean,$(BUILD_DIR)/kernel.img)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。