-VERSION = 001
-
CC = cc
PREFIX = /usr/local
CFLAGS = -std=c99 -O2 -fomit-frame-pointer -Wall -D_BSD_SOURCE
OBJECTS = ssb_sprom.o utils.o
-CFLAGS += -DVERSION_=$(VERSION)
-
all: ssb_sprom
ssb_sprom: $(OBJECTS)
Broadcom Sonics Silicon Backplane bus SPROM data modification tool
- Copyright (c) 2006-2007 Michael Buesch <mb@bu3sch.de>
+ Copyright (c) 2006-2008 Michael Buesch <mb@bu3sch.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
static void print_banner(int forceprint)
{
- const char *str = "Broadcom-SSB SPROM data modification tool version " VERSION "\n";
+ const char *str = "Broadcom-SSB SPROM data modification tool.\n"
+ "\n"
+ "Copyright (C) Michael Buesch\n"
+ "Licensed under the GNU/GPL version 2 or later\n"
+ "\n"
+ "DO NOT USE THIS TOOL. YOU WILL BRICK YOUR DEVICE.\n";
if (forceprint)
prdata(str);
else
return 0;
va_start(va, fmt);
- ret = vfprintf(stderr, fmt, va);
+ ret = vfprintf(stdout, fmt, va);
va_end(va);
return ret;
va_list va;
va_start(va, fmt);
- ret = vfprintf(stderr, fmt, va);
+ ret = vfprintf(stdout, fmt, va);
va_end(va);
return ret;