代码拉取完成,页面将自动刷新
同步操作将从 lmnos/lmosem 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
###################################################################
# 主控自动化编译配置文件 Makefile #
# 彭东 @ 2012.08.13.23.50 #
###################################################################
MAKEFLAGS =-sR
MKDIR = mkdir
RMDIR = rmdir
CP = cp
CD = cd
DD = dd
RM = rm
VM = qemu-system-arm -M mini2440 -kernel lmosemkrnl.uimg -serial stdio -mtdblock ndflash -show-cursor -usb -usbdevice keyboard -usbdevice mouse -net nic,vlan=0 -net tap,vlan=0,ifname=tap1,script=qemu-ifup,downscript=qemu-ifdown -monitor telnet::5555,server,nowait #-nographic
MAKE = make
MKIMAGE =mkimage
SUPERUSER =sudo
DKAPP =./dnw2
DKAPFLAGES = lmosemkrnl.bin
PREMENTMFLGS = -C $(BUILD_PATH) -f pretreatment.mk
ARMHALYMFLGS = -C $(BUILD_PATH) -f lmosemhal.mk
ARMKRNLMFLGS = -C $(BUILD_PATH) -f lmosemkrl.mk
ARMDRIVMFLGS = -C $(BUILD_PATH) -f lmosemdrv.mk
ARMLIBSMFLGS = -C $(BUILD_PATH) -f lmosemlib.mk
ARMTASKMFLGS = -C $(BUILD_PATH) -f lmosemtask.mk
ARMLINKMFLGS = -C $(BUILD_PATH) -f lmosemlink.mk
CPFLAGES=
VMFLAGES =
MGFLAGES = -A arm -T kernel -C none -a 30007eb0 -e 30008000 -d lmosemkrnl.bin lmosemkrnl.uimg
#-c skyeye.confqemu-system-arm -M mini2440 -kernel E-menu/uImage -serial stdio -mtdblock E-menu/mini2440_nand64.bin -show-cursor -usb -usbdevice keyboard -usbdevice mouse -net nic,vlan=0 -net tap,vlan=0,ifname=tap1,script=E-menu/qemu-ifup,downscript=E-menu/qemu-ifdown -monitor telnet::5555,server,nowait
# # versatilepb # -e lmosem.elf -pflash lmosem.bin -mtdblock flash.img skyeye #
LMINITLDR_PATH =./lminitldr/
DSTPATH = ../exckrnl
RELEDSTPATH = ../release
SRCFILE = lmosemkrnl.bin lmosemkrnl.elf
BUILD_PATH = ./build
EXKNL_PATH = ./exckrnl
BOOTEXCIMG = lmosem.bin
DSKIMG =flash.img
.PHONY : build print clean all cpkrnl knlexc writekrl downkrnl
build: clean print all
all:
#$(CD) $(LMINITLDR_PATH) && $(MAKE)
$(MAKE) $(PREMENTMFLGS)
$(MAKE) $(ARMHALYMFLGS)
$(MAKE) $(ARMKRNLMFLGS)
$(MAKE) $(ARMDRIVMFLGS)
$(MAKE) $(ARMLIBSMFLGS)
$(MAKE) $(ARMTASKMFLGS)
$(MAKE) $(ARMLINKMFLGS)
@echo '恭喜我,系统编译构建完成! ^_^'
clean:
$(CD) $(BUILD_PATH); $(RM) -f *.mkh *.lds *.o *.bin *.i *.elf *.krnl *.s *.map *.lib *.btoj *.vdi *vmdk
$(CD) $(EXKNL_PATH); $(RM) -f *.mkh *.lds *.o *.bin *.i *.elf *.krnl *.s *.map *.lib *.btoj *.vdi *vmdk
@echo '清理全部已构建文件... ^_^'
print:
@echo '*********正在开始编译构建系统*************'
knlexc: cpkrnl downkrnl #writekrl cpkrnlUIMAGE
#$(CD) $(EXKNL_PATH) && $(VM) $(VMFLAGES)
cpkrnl:
$(CD) $(BUILD_PATH) && $(CP) $(CPFLAGES) $(SRCFILE) $(DSTPATH)
writekrl:
$(CD) $(EXKNL_PATH) && $(DD) bs=512 if=$(BOOTEXCIMG) of=$(DSKIMG) conv\=notrunc
UIMAGE:
$(CD) $(EXKNL_PATH) && $(MKIMAGE) $(MGFLAGES)
downkrnl:
$(CD) $(EXKNL_PATH) && $(SUPERUSER) $(DKAPP) $(DKAPFLAGES)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。