RTL8722DM Standard SDK 問題

@kal

是 Linux 和 Windows 用不一样 end of line 的问题
Cygwin 装上 dos2unix,然后把下面的存入一个在 bw16 文件夹的 Makefile 里,跑一遍 make eol,就能把所有文件的 end of line 改好。

SDKVERSION = ambd_sdk20221123

.PHONY: eol eol_all

eol: eol_menuconfig eol_all 

eol_all:
	find ./$(SDKVERSION) -type f -name "*.sh" | xargs dos2unix

eol_menuconfig:
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/*.*
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/scripts/*.*
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/scripts/lxdialog/*.*

	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/.config
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/fixconfig
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/getArch
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/Makefile
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/mkconfig
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/mkconfig-items
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/release
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/setCfgFile
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/setconfig
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/scripts/Configure
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/scripts/Makefile
	dos2unix -f $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/scripts/Menuconfig
	dos2unix $(SDKVERSION)/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/config/scripts/lxdialog/Makefile