mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 05:51:37 +03:00
Initial revision
This commit is contained in:
20
contrib/smc9462tx-flash/Makefile
Normal file
20
contrib/smc9462tx-flash/Makefile
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user