-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
23 lines (20 loc) · 1.7 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all: fxtec-pro1-image volla-yggdrasil-image initrd-cpio
fxtec-pro1-image:
@echo "MAKE $@"
@mkdir -p build/fxtec-pro1/images
@cp -r initrd build/fxtec-pro1/initrd
@cp src/env-pro1.sh build/fxtec-pro1/initrd/env.sh
@cd build/fxtec-pro1/initrd; find | cpio -ov > ../images/initrd-pro1.cpio
@mkbootimg --kernel prebuilt/fxtec-pro1/zImage.gz --ramdisk build/fxtec-pro1/images/initrd-pro1.cpio --pagesize 4096 --cmdline "console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc1b0000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.selinux=permissiv" --kernel_offset 00008000 --ramdisk_offset 02000000 --tags_offset 00000100 -o build/fxtec-pro1/images/boot.img
volla-yggdrasil-image:
@echo "MAKE $@"
@mkdir -p build/volla-yggdrasil/images
@cp -r initrd build/volla-yggdrasil/initrd
@cp src/env-yggdrasil.sh build/volla-yggdrasil/initrd/env.sh
@cd build/volla-yggdrasil/initrd; find | cpio -ov > ../images/initrd-yggdrasil.cpio
@mkbootimg --kernel prebuilt/volla-yggdrasil/zImage.gz --ramdisk build/volla-yggdrasil/images/initrd-yggdrasil.cpio --cmdline "bootopt=64S3,32N2,64N2 androidboot.selinux=permissive buildvariant=userdebug" --kernel_offset 0x00008000 --ramdisk_offset 0x14f88000 --tags_offset 0x13f88000 --second_offset 0x00e88000 -o build/volla-yggdrasil/images/boot.img
initrd-cpio:
@echo "MAKE $@"
@mkdir -p build/
@cp -r initrd build/initrd
@cd build/initrd; find | cpio -ov > ../initrd-default.cpio