mirror of
git://projects.qi-hardware.com/iris.git
synced 2025-04-21 12:27:27 +03:00
work on device swapping
This commit is contained in:
5
Makefile
5
Makefile
@@ -16,6 +16,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Define some variables.
|
||||
SERIAL = /dev/ttyUSB0
|
||||
CXXFLAGS = -Wno-unused-parameter -fno-strict-aliasing -fno-builtin -nostdinc $(ARCH_CXXFLAGS) -ggdb3
|
||||
CPPFLAGS = -O5 -fno-inline $(ARCH_CPPFLAGS)
|
||||
CC = $(CROSS)gcc
|
||||
@@ -54,8 +55,8 @@ clean:
|
||||
rm -f *.o boot-programs/*.o $(BUILT_SOURCES) $(ARCH_CLEAN_FILES)
|
||||
|
||||
debug:
|
||||
stty -F /dev/ttyS0 raw 9600
|
||||
cat /dev/ttyS0
|
||||
stty -F $(SERIAL) raw 9600
|
||||
cat $(SERIAL)
|
||||
|
||||
.PHONY: clean
|
||||
.PRECIOUS: iris.hh kernel.hh boot-programs/crt0.o
|
||||
|
||||
Reference in New Issue
Block a user