[sr-dev] git:sr_3.0: make: fix CPU reset in some conditions