TERES/SOFTWARE/A64-TERES/u-boot_new/test/dm/test-dm.sh
Dimitar Gamishev 093685c7d8 u-boot
2017-10-13 14:02:55 +03:00

8 lines
227 B
Bash
Executable File

#!/bin/sh
NUM_CPUS=$(cat /proc/cpuinfo |grep -c processor)
dtc -I dts -O dtb test/dm/test.dts -o test/dm/test.dtb
make O=sandbox sandbox_config
make O=sandbox -s -j${NUM_CPUS}
./sandbox/u-boot -d test/dm/test.dtb -c "dm test"