Ready for new generation

This commit is contained in:
2021-10-18 15:55:35 +09:00
parent bb9f17bfeb
commit d04a058cd0
8 changed files with 48 additions and 45 deletions

View File

@@ -19,8 +19,18 @@ linux() {
esac
}
rootfs() {
. ./linux-brain/.config
case "${CONFIG_CPU_ARM926T}_${CONFIG_ARCH_MULTI_V7}" in
y_) echo -n "armel"; return;;
_y) echo -n "armhf"; return;;
*) exit 1;;
esac
}
case "$1" in
u-boot) uboot ;;
linux) linux ;;
rootfs) rootfs ;;
*) exit 1; ;;
esac