Author: titmuss
Date: Thu Mar 13 12:09:01 2008
New Revision: 2114

URL: http://svn.slimdevices.com?rev=2114&root=Jive&view=rev
Log:
Bug: 6019
Description:
Name jive.bin file as jive_7.x_rxyz.bin in the build.


Modified:
    trunk/squeezeos/src/Makefile

Modified: trunk/squeezeos/src/Makefile
URL: 
http://svn.slimdevices.com/trunk/squeezeos/src/Makefile?rev=2114&root=Jive&r1=2113&r2=2114&view=diff
==============================================================================
--- trunk/squeezeos/src/Makefile (original)
+++ trunk/squeezeos/src/Makefile Thu Mar 13 12:09:01 2008
@@ -19,6 +19,7 @@
 export AR=$(TARGET)-ar
 export HOST=${TARGET}
 
+SQUEEZEPLAY_SRC=${TOPDIR}/../squeezeplay/src
 
 
 .PHONY: all s3c2412 system debug squeezeplay image clean distclean
@@ -45,7 +46,7 @@
 # Squeezeplay
 #
 squeezeplay:
-       cd ../../squeezeplay/src; ${MAKE} -f Makefile.squeezeos TOPDIR=${TOPDIR}
+       cd ${SQUEEZEPLAY_SRC}; ${MAKE} -f Makefile.squeezeos TOPDIR=${TOPDIR}
 
 
 #
@@ -67,7 +68,7 @@
        # Create upgrade.md5
        cd ${IMAGEDIR} && md5sum zImage-P7 root.cramfs > upgrade.md5
        # Create jive.bin
-       cd ${IMAGEDIR} && zip ${IMAGEDIR}/jive.bin jive.version upgrade.md5 
zImage zImage-P7 root.cramfs
+       VERSION=`cat ${SQUEEZEPLAY_SRC}/squeezeplay/src/version.h | cut -sd\" 
-f 2 | sed -e 's/ /_/'` && cd ${IMAGEDIR} && echo $$VERSION && zip 
${IMAGEDIR}/jive_$$VERSION.bin jive.version upgrade.md5 zImage-P7 root.cramfs
        @cat ${IMAGEDIR}/jive.version
 
 

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to