Skip to content

Commit

Permalink
compat-wireless: use version from original git tree for TI drivers
Browse files Browse the repository at this point in the history
Change the admin-update.sh script to fetch the version from the
original git tree where the TI drivers were taken from and generate
the version.h files accordingly.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Ido Reis <idor@ti.com>

Conflicts:

	scripts/admin-update.sh
  • Loading branch information
elp committed Jul 24, 2013
1 parent 97ae96b commit 2db2394
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/admin-update.sh
Expand Up @@ -1069,6 +1069,17 @@ for subsystem in $SUBSYSTEMS; do
done
done

echo -e "Getting TI drivers version..."
TI_VERSION=`git describe --dirty`
TI_DRIVERS="wlcore wl12xx wl18xx"
TI_PATH=drivers/net/wireless/ti
for driver in ${TI_DRIVERS}; do
echo "static const char *${driver}_timestamp = __TIMESTAMP__;" > \
${TI_PATH}/${driver}/version.h
echo "static const char *${driver}_git_head = \"${TI_VERSION}\";" >> \
${TI_PATH}/${driver}/version.h
done

refresh_compat
gen_compat_labels

Expand Down

0 comments on commit 2db2394

Please sign in to comment.