cp `find ./env -name "built-in.o"` copy_env_common.o
objcopy -O binary --only-section=.rodata.default_environment `find . -name "copy_env_common.o"`
tr '\0' '\n' < copy_env_common.o > default_envs.txt
-mkenvimage -s 16384 -o params-kvim3.bin default_envs.txt
+mkenvimage -s 16384 -o params.bin default_envs.txt
rm copy_env_common.o default_envs.txt
# Build Boot script
-mkimage -A arm64 -T script -C none -n "Tizen KVIM3 u-boot helper" -d ./board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr ./boot.scr.kvim3
+mkimage -A arm64 -T script -C none -n "Tizen KVIM3 u-boot helper" -d ./board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr ./boot.scr.uimg
%install
rm -rf %{buildroot}
# u-boot installation
-mkdir -p %{buildroot}/boot
+mkdir -p %{buildroot}/boot/vim3
mkdir -p %{buildroot}/var/tmp/u-boot-amlogic
install -d %{buildroot}/var/tmp/u-boot-amlogic
install -m 755 u-boot-kvim3.bin %{buildroot}/var/tmp/u-boot-amlogic
-install -m 755 params-kvim3.bin %{buildroot}/boot/
-install -m 755 boot.scr.kvim3 %{buildroot}/boot/
+install -m 755 params.bin %{buildroot}/boot/vim3
+install -m 755 boot.scr.uimg %{buildroot}/boot/vim3
%clean
%manifest u_boot_amlogic.manifest
%defattr(-,root,root,-)
/var/tmp/u-boot-amlogic
-/boot/params-kvim3.bin
-/boot/boot.scr.kvim3
+/boot/vim3/params.bin
+/boot/vim3/boot.scr.uimg
cp `find ./env -name "built-in.o"` copy_env_common.o
objcopy -O binary --only-section=.rodata.default_environment `find . -name "copy_env_common.o"`
tr '\0' '\n' < copy_env_common.o > default_envs.txt
-mkenvimage -s 16384 -o params-n2.bin default_envs.txt
+mkenvimage -s 16384 -o params.bin default_envs.txt
rm copy_env_common.o default_envs.txt
# 1-7. Build Boot script
-mkimage -A arm64 -T script -C none -n "Tizen ODROID-N2 u-boot helper" -d ./board/amlogic/w400/tizen-boot-odroid-n2-64b.scr ./boot.scr.n2
+mkimage -A arm64 -T script -C none -n "Tizen ODROID-N2 u-boot helper" -d ./board/amlogic/w400/tizen-boot-odroid-n2-64b.scr ./boot.scr.uimg
%install
rm -rf %{buildroot}
# 1-8. u-boot installation
-mkdir -p %{buildroot}/boot
+mkdir -p %{buildroot}/boot/odroid-n2
mkdir -p %{buildroot}/var/tmp/u-boot-amlogic
install -d %{buildroot}/var/tmp/u-boot-amlogic
install -m 755 u-boot-n2.bin %{buildroot}/var/tmp/u-boot-amlogic
-install -m 755 params-n2.bin %{buildroot}/boot/
-install -m 755 boot.scr.n2 %{buildroot}/boot
+install -m 755 params.bin %{buildroot}/boot/odroid-n2
+install -m 755 boot.scr.uimg %{buildroot}/boot/odroid-n2
%clean
%manifest u_boot_amlogic.manifest
%defattr(-,root,root,-)
/var/tmp/u-boot-amlogic
-/boot/params-n2.bin
-/boot/boot.scr.n2
+/boot/odroid-n2/params.bin
+/boot/odroid-n2/boot.scr.uimg