summaryrefslogtreecommitdiffstats
path: root/test/dm/test-dm.sh
blob: ef5aca5ac3c43800fe62b9242027cb341f4e9af7 (plain)
1
2
3
4
5
6
7
#!/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"
OpenPOWER on IntegriCloud