]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/luppa.git/blob - cmem/Makefile
GA release of 4.10.01.02
[ipc/luppa.git] / cmem / Makefile
1 #
2 #   Copyright (c) 2014, Texas Instruments Incorporated
3 #
4 #   Redistribution and use in source and binary forms, with or without
5 #   modification, are permitted provided that the following conditions
6 #   are met:
7 #
8 #   *  Redistributions of source code must retain the above copyright
9 #      notice, this list of conditions and the following disclaimer.
10 #
11 #   *  Redistributions in binary form must reproduce the above copyright
12 #      notice, this list of conditions and the following disclaimer in the
13 #      documentation and/or other materials provided with the distribution.
14 #
15 #   *  Neither the name of Texas Instruments Incorporated nor the names of
16 #      its contributors may be used to endorse or promote products derived
17 #      from this software without specific prior written permission.
18 #
19 #   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 #   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
21 #   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 #   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
23 #   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 #   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 #   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 #   OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 #   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 #   OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
29 #   EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 #
32 # This can have an underscore
33 # e.g. GIT_CMEM_LABEL = 4.00.03.14
34 GIT_CMEM_LABEL = 4.10.01.02
35 #GIT_CMEM_LABEL = 44ea50d3e57adf75fb78724a7c25e8f86ac4d19b
37 # This _must_ have a .dot
38 # e.g. PV_CMEM = 4.00.03.14
39 PV_CMEM = 4.10.01.02
41 CMEM_TMP = cmem_$(PV_CMEM)
42 CMEM_TAR = cmem_$(PV_CMEM).tar.gz
44 LUDEV_CLONE = $(CURDIR)/ludev
46 all: $(LUDEV_CLONE) $(CMEMMOD_TAR) $(CMEM_TAR)
48 $(LUDEV_CLONE):
49         @echo cloning ludev
50         git clone git://git.ti.com/ipc/ludev.git
51         cd ludev; git checkout -b devtree $(GIT_CMEM_LABEL)
53 $(CMEM_TAR): $(LUDEV_CLONE)
54         echo "Making PPA source package for CMEM "
55         mkdir -p $(CMEM_TMP)
56         cd $(CMEM_TMP); \
57                 cp -r ../ludev/* .; \
58                 cp -r ../debian .
59         tar cvzf $(CMEM_TAR) $(CMEM_TMP)
60         rm -rf $(CMEM_TMP)
62 clean:
63         rm -rf $(LUDEV_CLONE)
64         rm -rf $(CMEM_TMP) $(CMEM_TAR)