ramips: fix HATLab GateBoard-One Support

This commit is contained in:
coolsnowwolf 2022-12-01 14:05:27 +08:00
parent 2173f1c0ea
commit 31a2de36ab
2 changed files with 14 additions and 1 deletions

View File

@ -303,7 +303,7 @@ menu "Target Images"
config TARGET_ROOTFS_PARTSIZE
int "Root filesystem partition size (in MB)"
depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_omap || TARGET_sunxi || TARGET_uml
depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_omap || TARGET_sunxi || TARGET_uml || TARGET_ramips
default 400
help
Select the root filesystem partition size.

13
scripts/gen-rddependencies.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
TARGETS=$*
READELF="${READELF:-readelf}"
XARGS="${XARGS:-xargs -r}"
find $TARGETS -type f -a -exec file {} \; | \
sed -n -e 's/^\(.*\):.*ELF.*\(executable\|shared object\).*,.*/\1/p' | \
$XARGS -n1 $READELF -l | grep 'Requesting' | cut -d':' -f2 | tr -d ' ]' | \
$XARGS basename
cd `dirname ${0}`
./gen-dependencies.sh ${TARGETS}