summaryrefslogtreecommitdiff
path: root/multitech
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-03-03 12:26:36 -0600
committerJesse Gilles <jgilles@multitech.com>2014-03-03 12:26:36 -0600
commit6cf9cfa3b9e68891949f88ef6fbfb153d63055ed (patch)
tree01a806f4501e9eac93711975ca1b7a8ebb5cb7d4 /multitech
parent08f6c711e6e0c535738243d88373f759ae068ce2 (diff)
ti-compat-wireless-wl12xx_r5.sp7.01: fix wl12xx version.h
Diffstat (limited to 'multitech')
-rw-r--r--multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_r5.sp7.01.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_r5.sp7.01.bb b/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_r5.sp7.01.bb
index c8a9bd5..1371b15 100644
--- a/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_r5.sp7.01.bb
+++ b/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_r5.sp7.01.bb
@@ -11,7 +11,7 @@ RDEPENDS_${PN} = "wireless-tools"
inherit module
-LOCAL_PR = ".1"
+LOCAL_PR = ".2"
MACHINE_KERNEL_PR_append = "${LOCAL_PR}"
TAG="ol_R5.SP7.01"
@@ -51,6 +51,12 @@ do_configure() {
echo -e "${TAG}" > compat_base_tree_version
echo "" > compat_base_tree
+ # create wl12xx/version.h manually since we aren't using a git repo
+ TI_VERSION="${TAG}"
+ DRIVER_PATH="drivers/net/wireless/wl12xx"
+ echo "static const char *wl12xx_timestamp = __TIMESTAMP__;" > ${DRIVER_PATH}/version.h
+ echo "static const char *wl12xx_git_head = \"${TI_VERSION}\";" >> ${DRIVER_PATH}/version.h
+
./scripts/driver-select wl12xx
}