diff options
| author | Michael Brown | 2005-05-17 18:44:57 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-05-17 18:44:57 +0200 |
| commit | 1097cf8685cd81f0003bd6f17d050e5174a85b90 (patch) | |
| tree | 47a39f2a1e980cca43c28c4d1a6dfdf431b910b2 /contrib/smc9462tx-flash/Makefile | |
| parent | Quickly hacked to use a buffer rather than a processor. (diff) | |
| download | ipxe-1097cf8685cd81f0003bd6f17d050e5174a85b90.tar.gz ipxe-1097cf8685cd81f0003bd6f17d050e5174a85b90.tar.xz ipxe-1097cf8685cd81f0003bd6f17d050e5174a85b90.zip | |
Initial revision
Diffstat (limited to 'contrib/smc9462tx-flash/Makefile')
| -rw-r--r-- | contrib/smc9462tx-flash/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/smc9462tx-flash/Makefile b/contrib/smc9462tx-flash/Makefile new file mode 100644 index 000000000..dc5b3ff8a --- /dev/null +++ b/contrib/smc9462tx-flash/Makefile @@ -0,0 +1,20 @@ +GCC = gcc +KERNELDIR = ../linux-2.4.20 +KERNELSTYLE=-D__KERNEL__ -DCPU=__i386__ -DMODULE +INCLUDE_DIR=-I$(KERNELDIR)/include -I../include -I$(ROOTDIR)/include + +all: dp83820flash.o dp83820_write + +CFLAGS+=-O2 -Wall -fomit-frame-pointer -fno-strength-reduce +CFLAGS+=$(KERNELSTYLE) $(CDEBUG) $(INCLUDE_DIR) + +install: + +dp83820flash.o: dp83820flash.c + $(GCC) dp83820flash.c -o dp83820flash.o -c $(CFLAGS) + +dp83820_write: dp83820_write.c + $(GCC) $< -o $@ -Wall -O2 + +clean: + $(RM) *.o dp83820_write |
