summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-02-15 19:24:34 -0500
committerDan Halbert <halbert@halwitz.org>2019-02-15 19:24:34 -0500
commit72c03268a485a793948ec428718655a47306736d (patch)
treed7e8a366887f4686cb41dbf5f3d651d946cfd7ad
parent5a32c88db300216450292e370aa449da5e7c58f8 (diff)
remove circuitpy_rules.mk; not used
-rw-r--r--ports/circuitpy-common/circuitpy_rules.mk48
1 files changed, 0 insertions, 48 deletions
diff --git a/ports/circuitpy-common/circuitpy_rules.mk b/ports/circuitpy-common/circuitpy_rules.mk
deleted file mode 100644
index ff8c95561..000000000
--- a/ports/circuitpy-common/circuitpy_rules.mk
+++ /dev/null
@@ -1,48 +0,0 @@
-# This file is part of the MicroPython project, http://micropython.org/
-#
-# The MIT License (MIT)
-#
-# Copyright (c) 2019 Dan Halbert for Adafruit Industries
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in
-# all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-
-###
-# Common make rules. These are split from the common variable defintions due to ordering issues.
-
-all: $(BUILD)/firmware.bin $(BUILD)/firmware.uf2
-
-$(BUILD)/firmware.elf: $(OBJ)
- $(STEPECHO) "LINK $@"
- $(Q)$(CC) -o $@ $(LDFLAGS) $^ -Wl,--start-group $(LIBS) -Wl,--end-group
- $(Q)$(SIZE) $@ | $(PYTHON3) $(TOP)/tools/build_memory_info.py $(LD_FILE)
-
-$(BUILD)/firmware.bin: $(BUILD)/firmware.elf
- $(STEPECHO) "Create $@"
- $(Q)$(OBJCOPY) -O binary -j .vectors -j .text -j .data $^ $@
-
-$(BUILD)/firmware.uf2: $(BUILD)/firmware.bin
- $(STEPECHO) "Create $@"
- $(Q)$(PYTHON3) $(TOP)/tools/uf2/utils/uf2conv.py -b $(BOOTLOADER_SIZE) -c -o $@ $^
-
-include $(TOP)/py/mkrules.mk
-
-# Print out the value of a make variable.
-# https://stackoverflow.com/questions/16467718/how-to-print-out-a-variable-in-makefile
-print-%:
- @echo $* = $($*)