Revision 9f72695e images/Makefile
| b/images/Makefile | ||
|---|---|---|
| 1 | 1 |
# |
| 2 |
# Copyright 2010 Ettus Research LLC |
|
| 2 |
# Copyright 2010-2011 Ettus Research LLC
|
|
| 3 | 3 |
# |
| 4 | 4 |
# This program is free software: you can redistribute it and/or modify |
| 5 | 5 |
# it under the terms of the GNU General Public License as published by |
| ... | ... | |
| 198 | 198 |
clean: |
| 199 | 199 |
$(RM) -rf $(BUILT_IMAGES_DIR) |
| 200 | 200 |
$(RM) -rf $(CMAKE_BUILD_DIR) |
| 201 |
|
|
| 202 |
#packages that a linux machine can build |
|
| 203 |
linux-packages: |
|
| 204 |
mkdir -p $(CMAKE_BUILD_DIR) |
|
| 205 |
|
|
| 206 |
cd $(CMAKE_BUILD_DIR) && cmake -DCPACK_GENERATOR=TGZ $(TOP_DIR) |
|
| 207 |
make -C $(CMAKE_BUILD_DIR) package |
|
| 208 |
|
|
| 209 |
cd $(CMAKE_BUILD_DIR) && cmake -DCPACK_GENERATOR=ZIP $(TOP_DIR) |
|
| 210 |
make -C $(CMAKE_BUILD_DIR) package |
|
| 211 |
|
|
| 212 |
cd $(CMAKE_BUILD_DIR) && cmake -DCPACK_GENERATOR=DEB $(TOP_DIR) |
|
| 213 |
make -C $(CMAKE_BUILD_DIR) package |
|
| 214 |
|
|
| 215 |
cd $(CMAKE_BUILD_DIR) && cmake -DCPACK_GENERATOR=RPM $(TOP_DIR) |
|
| 216 |
make -C $(CMAKE_BUILD_DIR) package |
|
Also available in: Unified diff