summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}