aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@mit.edu>2010-09-13 15:15:39 -0400
committerMarti Bolivar <mbolivar@mit.edu>2010-09-13 15:15:39 -0400
commit208e35e7d704467cb04b054e3fc32acf82be9e49 (patch)
tree42229f087f11444c5dce40f696d44b5ec39f6f1e /support
parentee5667f54d76022beec4584ccf50879c68361a33 (diff)
downloadlibrambutan-208e35e7d704467cb04b054e3fc32acf82be9e49.tar.gz
librambutan-208e35e7d704467cb04b054e3fc32acf82be9e49.zip
exposed build-targets.mk
Diffstat (limited to 'support')
-rw-r--r--support/make/build-targets.mk35
1 files changed, 0 insertions, 35 deletions
diff --git a/support/make/build-targets.mk b/support/make/build-targets.mk
deleted file mode 100644
index 448b1ee..0000000
--- a/support/make/build-targets.mk
+++ /dev/null
@@ -1,35 +0,0 @@
-# main project target
-$(BUILD_PATH)/main.o: main.cpp
- $(SILENT_CXX) $(CXX) $(CFLAGS) $(CXXFLAGS) $(LIBMAPLE_INCLUDES) $(WIRISH_INCLUDES) -o $@ -c $<
-
-$(BUILD_PATH)/$(BOARD).elf: $(BUILDDIRS) $(TGT_BIN) $(BUILD_PATH)/main.o
- $(SILENT_LD) $(CXX) $(LDFLAGS) -o $@ $(TGT_BIN) $(BUILD_PATH)/main.o
-
-$(BUILD_PATH)/$(BOARD).bin: $(BUILD_PATH)/$(BOARD).elf
- $(SILENT_OBJCOPY) $(OBJCOPY) -v -Obinary $(BUILD_PATH)/$(BOARD).elf $@ 1>/dev/null
- $(SILENT_DISAS) $(DISAS) -d $(BUILD_PATH)/$(BOARD).elf > $(BUILD_PATH)/$(BOARD).disas
- @echo " "
- @echo "Object file sizes:"
- @find $(BUILD_PATH) -iname *.o | xargs $(SIZE) -t > $(BUILD_PATH)/$(BOARD).sizes
- @cat $(BUILD_PATH)/$(BOARD).sizes
- @echo " "
- @echo "Final Size:"
- @$(SIZE) $<
- @echo $(MEMORY_TARGET) > $(BUILD_PATH)/build-type
-
-$(BUILDDIRS):
- @mkdir -p $@
-
-MSG_INFO:
- @echo "================================================================================"
- @echo ""
- @echo " Build info:"
- @echo " BOARD: " $(BOARD)
- @echo " MCU: " $(MCU)
- @echo " MEMORY_TARGET: " $(MEMORY_TARGET)
- @echo ""
- @echo " See 'make help' for all possible targets"
- @echo ""
- @echo "================================================================================"
- @echo
-