mirror of
https://github.com/gnif/vendor-reset.git
synced 2026-02-10 03:22:42 +01:00
Add structure for common pre- and post-reset tasks
This commit is contained in:
3
userspace/Makefile
Normal file
3
userspace/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
userccflags += -I$(src)/../include
|
||||
userprogs-always-y += vendor-reset
|
||||
vendor-reset-objs += vendor-reset.o
|
||||
Binary file not shown.
@@ -16,12 +16,12 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../include/vendor-reset.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "vendor-reset.h"
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user