[Armadeus-commitlog] SF.net SVN: armadeus:[877] trunk/target/linux/modules/gpio/Makefile
Brought to you by:
sszy
|
From: <ar...@us...> - 2008-09-09 20:40:48
|
Revision: 877
http://armadeus.svn.sourceforge.net/armadeus/?rev=877&view=rev
Author: artemys
Date: 2008-09-09 20:40:58 +0000 (Tue, 09 Sep 2008)
Log Message:
-----------
[LINUX] correct GPIO driver Makefile (SF bug 1901559)
Modified Paths:
--------------
trunk/target/linux/modules/gpio/Makefile
Modified: trunk/target/linux/modules/gpio/Makefile
===================================================================
--- trunk/target/linux/modules/gpio/Makefile 2008-09-09 12:39:29 UTC (rev 876)
+++ trunk/target/linux/modules/gpio/Makefile 2008-09-09 20:40:58 UTC (rev 877)
@@ -15,10 +15,11 @@
# (preferably use Makefile in parent directory)
else
-BASE_DIR="../../../../buildroot/"
-REL=`grep "BR2_PACKAGE_LINUX_VERSION=" $(BASE_DIR).config | \
+BASE_DIR="../../../../buildroot"
+REL=`grep "BR2_PACKAGE_LINUX_VERSION=" $(BASE_DIR)/.config | \
sed "s/BR2_PACKAGE_LINUX_VERSION=\\"//" | sed "s/\\"//"`
-ARMADEUS_KERNEL_DIR=$(BASE_DIR)build_arm/linux-$(REL)
+BUILD_ARM=`ls $(BASE_DIR) | grep "^build_arm"`
+ARMADEUS_KERNEL_DIR=$(BASE_DIR)/$(BUILD_ARM)/linux-$(REL)
KDIR := $(ARMADEUS_KERNEL_DIR)
PWD := $(shell pwd)
@@ -29,6 +30,7 @@
rm -f *.*o \
rm -f Module.symvers
rm -f .*.cmd
-
+ rm -f *.mod.c
+ rm -rf .tmp_versions/
endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|