linux-firmware/isci/Makefile
Ben Hutchings de960e5045 isci: Add firmware blob and sources
isci requires a parameter blob which is usually found in NVRAM, but it
can fall back to loading with request_firmware().  These files are
taken from the Linux source tree where they were wrongly added in
Linux 3.0.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2011-12-29 17:27:13 +01:00

24 lines
369 B
Makefile

# Makefile for create_fw
#
CC=gcc
CFLAGS=-c -Wall -O2 -g
LDFLAGS=
SOURCES=create_fw.c
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=create_fw
BLOB=isci_firmware.bin
all: $(SOURCES) $(EXECUTABLE) $(BLOB)
$(EXECUTABLE): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -o $@
.c.o:
$(CC) $(CFLAGS) $< -O $@
$(BLOB): $(EXECUTABLE)
./$(EXECUTABLE) >$@
clean:
rm -f *.o $(EXECUTABLE)