|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Filename: package/.../hostapd/install.patch
|
|
|
|
# Filename: package/.../hostapd/install.patch
|
|
|
|
# Copyright (C) 2010 - 2011 The OpenSDE Project
|
|
|
|
# Copyright (C) 2010 - 2012 The OpenSDE Project
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -27,14 +27,15 @@ diff --git a/hostapd/Makefile b/hostapd/Makefile |
|
|
|
index 2db0707..8eba33e 100644
|
|
|
|
index 2db0707..8eba33e 100644
|
|
|
|
--- a/hostapd/Makefile
|
|
|
|
--- a/hostapd/Makefile
|
|
|
|
+++ b/hostapd/Makefile
|
|
|
|
+++ b/hostapd/Makefile
|
|
|
|
@@ -757,8 +757,13 @@ verify_config:
|
|
|
|
@@ -789,9 +789,13 @@ verify_config:
|
|
|
|
exit 1; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
+prefix=/usr/local
|
|
|
|
+prefix=/usr/local
|
|
|
|
+
|
|
|
|
+
|
|
|
|
install: all
|
|
|
|
install: all
|
|
|
|
- for i in $(ALL); do cp -f $$i /usr/local/bin/$$i; done
|
|
|
|
- mkdir -p $(DESTDIR)/usr/local/bin
|
|
|
|
|
|
|
|
- for i in $(ALL); do cp -f $$i $(DESTDIR)/usr/local/bin/$$i; done
|
|
|
|
+ @mkdir -p $(DESTDIR)$(prefix)/bin
|
|
|
|
+ @mkdir -p $(DESTDIR)$(prefix)/bin
|
|
|
|
+ @mkdir -p $(DESTDIR)$(prefix)/sbin
|
|
|
|
+ @mkdir -p $(DESTDIR)$(prefix)/sbin
|
|
|
|
+ cp -f hostapd $(DESTDIR)$(prefix)/sbin
|
|
|
|
+ cp -f hostapd $(DESTDIR)$(prefix)/sbin
|
|
|
|