[Armadeus-commitlog] SF.net SVN: armadeus:[844] trunk/target/linux/modules/isp1761
Brought to you by:
sszy
|
From: <ar...@us...> - 2008-07-21 17:27:00
|
Revision: 844
http://armadeus.svn.sourceforge.net/armadeus/?rev=844&view=rev
Author: artemys
Date: 2008-07-21 17:27:09 +0000 (Mon, 21 Jul 2008)
Log Message:
-----------
[LINUX] Allows isp1761 driver to be compiled as static or module (even if it's not working when compiled as static: bug opened)
Modified Paths:
--------------
trunk/target/linux/modules/isp1761/Makefile
trunk/target/linux/modules/isp1761/hal/Makefile
trunk/target/linux/modules/isp1761/host/Makefile
Modified: trunk/target/linux/modules/isp1761/Makefile
===================================================================
--- trunk/target/linux/modules/isp1761/Makefile 2008-07-21 13:29:45 UTC (rev 843)
+++ trunk/target/linux/modules/isp1761/Makefile 2008-07-21 17:27:09 UTC (rev 844)
@@ -11,9 +11,11 @@
else
BASE_DIR="../../../../buildroot/"
+BUILD_DIR_EXT:=$(shell ls $(BASE_DIR) | grep -e "^build_arm*")
REL=`grep "BR2_PACKAGE_LINUX_VERSION=" $(BASE_DIR).config | \
sed "s/BR2_PACKAGE_LINUX_VERSION=\\"//" | sed "s/\\"//"`
-ARMADEUS_KERNEL_DIR=$(BASE_DIR)build_arm_nofpu/linux-$(REL)
+
+ARMADEUS_KERNEL_DIR=$(BASE_DIR)/$(BUILD_DIR_EXT)/linux-$(REL)
ifeq ($(LINUX_DIR),)
LINUX_DIR := $(ARMADEUS_KERNEL_DIR)
endif
Modified: trunk/target/linux/modules/isp1761/hal/Makefile
===================================================================
--- trunk/target/linux/modules/isp1761/hal/Makefile 2008-07-21 13:29:45 UTC (rev 843)
+++ trunk/target/linux/modules/isp1761/hal/Makefile 2008-07-21 17:27:09 UTC (rev 844)
@@ -1 +1,3 @@
-obj-m := hal_imx.o
+#
+#
+obj-$(CONFIG_ARMADEUS_ISP1761) := hal_imx.o
Modified: trunk/target/linux/modules/isp1761/host/Makefile
===================================================================
--- trunk/target/linux/modules/isp1761/host/Makefile 2008-07-21 13:29:45 UTC (rev 843)
+++ trunk/target/linux/modules/isp1761/host/Makefile 2008-07-21 17:27:09 UTC (rev 844)
@@ -1,4 +1,6 @@
-obj-m := pehci.o
+#
+#
+obj-$(CONFIG_ARMADEUS_ISP1761) := pehci.o
clean:
find . -name '*.mod.[co]' -or -name '.*.o.cmd' | xargs rm -f
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|