# brd makefile, Peter Allgeyer, 15.08.1998
VERSION = 0.0.1
KERNELVERSION = linux-2.0.0
# DEBUG = -DDEBUG
CC = gcc
CFLAGS = -m486 -O6 -pipe -fomit-frame-pointer -Wall \
-DBRD_VERSION=\"$(VERSION)\" $(DEBUG)
all: brd
clean:
rm -f brd
package: clean
-(cd /usr/src; \
for file in \
include/linux/if_arp.h \
include/linux/kerneld.h \
include/linux/interrupt.h \
net/ipv4/arp.c \
net/ipv4/Config.in \
Documentation/Configure.help \
MAINTAINERS \
; do \
diff -u -d $(KERNELVERSION).orig/$$file linux/$$file;\
done) > brd-$(VERSION).kernel.patch
cd ..; tar -czf brd/brd-$(VERSION).tar.gz brd