diff options
Diffstat (limited to 'net-wireless/gobi_loader/files/gobi_loader-0.7-makefile.patch')
-rw-r--r-- | net-wireless/gobi_loader/files/gobi_loader-0.7-makefile.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-wireless/gobi_loader/files/gobi_loader-0.7-makefile.patch b/net-wireless/gobi_loader/files/gobi_loader-0.7-makefile.patch new file mode 100644 index 000000000000..ec5b4a706315 --- /dev/null +++ b/net-wireless/gobi_loader/files/gobi_loader-0.7-makefile.patch @@ -0,0 +1,22 @@ +--- gobi_loader-0.7/Makefile ++++ gobi_loader-0.7/Makefile +@@ -1,15 +1,14 @@ + VERSION = 0.7 + + gobi_loader: gobi_loader.c +- gcc -Wall gobi_loader.c -o gobi_loader ++ gcc ${CFLAGS} ${LDFLAGS} -Wall gobi_loader.c -o gobi_loader + + all: gobi_loader + + install: gobi_loader +- install -D gobi_loader ${prefix}/lib/udev/gobi_loader +- install -D 60-gobi.rules ${prefix}/lib/udev/rules.d/60-gobi.rules +- mkdir -p ${prefix}/lib/firmware +- -udevadm control --reload-rules ++ install -D gobi_loader ${D}%UDEVDIR%/gobi_loader ++ install -D 60-gobi.rules ${D}%UDEVDIR%/rules.d/60-gobi.rules ++ mkdir -p ${D}${prefix}/lib/firmware + + uninstall: + -rm $(prefix)/lib/udev/gobi_loader |