loongarch64: major changes for flash image and iso

Initial list of changes required to build iso
and flash image successfully:

1 softwares require config.guess and config.stub
  update with loongarch support

2 no rust build and no suricata which depends on rust

3 comment out python 3.10 lib-dynload and config-3.10-xxxMACHINExxx-linux-gnu

4 lfs/cdrom lfs/Config loongarch seems requiring capital EFI boot image name
  to boot properly

5 comment out a few softwares that are not needed for now

iso can be installed to loongarch PC hard drive, but
fail to boot.

flash image can be dd to USB drive, then boot loongarch
PC from USB drive, then dd from USB drive to loongarch
PC hard drive

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-12-17 20:48:03 -08:00
parent 30339c14a1
commit 23ae73dde4
25 changed files with 44698 additions and 102 deletions

View File

@@ -174,9 +174,8 @@ else
# Loongarch64 make requires no argument to build vmlinuz and EFI under arch/loongarch/boot
ifeq "$(BUILD_ARCH)" "loongarch64"
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make $(MAKETUNING) modules
else
cd $(DIR_APP) && make V=1 $(MAKETUNING) $(KERNEL_TARGET) modules
cd $(DIR_APP) && make $(MAKETUNING) $(KERNEL_TARGET) modules
endif
# Install the kernel