[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH v2 23/24] usb: Makefile.all



+ Füge Makefile.all hinzu, damit ehci, usb und usb-storage auch gebaut
  werden.

Signed-off-by: Max Reitz <max@xxxxxxxxxx>
---
 src/modules/cdi/ehci/Makefile.all        | 6 ++++++
 src/modules/cdi/usb-storage/Makefile.all | 6 ++++++
 src/modules/cdi/usb/Makefile.all         | 6 ++++++
 3 files changed, 18 insertions(+)
 create mode 100644 src/modules/cdi/ehci/Makefile.all
 create mode 100644 src/modules/cdi/usb-storage/Makefile.all
 create mode 100644 src/modules/cdi/usb/Makefile.all

diff --git a/src/modules/cdi/ehci/Makefile.all b/src/modules/cdi/ehci/Makefile.all
new file mode 100644
index 0000000..4642017
--- /dev/null
+++ b/src/modules/cdi/ehci/Makefile.all
@@ -0,0 +1,6 @@
+shopt -s extglob
+source $LOST_BUILDMK_ROOT/config.sh
+
+echo "LD   $1/modules/ehci"
+$LOST_TOOLS_LD $LDSCRIPT -oehci.mod  *.o --start-group $2 --end-group
+$LOST_TOOLS_STRIP -s ehci.mod -o $1/modules/ehci
diff --git a/src/modules/cdi/usb-storage/Makefile.all b/src/modules/cdi/usb-storage/Makefile.all
new file mode 100644
index 0000000..727f01d
--- /dev/null
+++ b/src/modules/cdi/usb-storage/Makefile.all
@@ -0,0 +1,6 @@
+shopt -s extglob
+source $LOST_BUILDMK_ROOT/config.sh
+
+echo "LD   $1/modules/usb-storage"
+$LOST_TOOLS_LD $LDSCRIPT -ousb-storage.mod  *.o --start-group $2 --end-group
+$LOST_TOOLS_STRIP -s usb-storage.mod -o $1/modules/usb-storage
diff --git a/src/modules/cdi/usb/Makefile.all b/src/modules/cdi/usb/Makefile.all
new file mode 100644
index 0000000..37a12aa
--- /dev/null
+++ b/src/modules/cdi/usb/Makefile.all
@@ -0,0 +1,6 @@
+shopt -s extglob
+source $LOST_BUILDMK_ROOT/config.sh
+
+echo "LD   $1/modules/usb"
+$LOST_TOOLS_LD $LDSCRIPT -ousb.mod  *.o --start-group $2 --end-group
+$LOST_TOOLS_STRIP -s usb.mod -o $1/modules/usb
-- 
2.6.3