mirror of
https://github.com/brain-hackers/buildbrain
synced 2025-10-27 18:48:37 +09:00
Ready for new generation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user