X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Ftriface%2Ftriface.mk;h=fe5fdcfea9489e7720d13e1ea9929d4e2f4ebd3d;hb=36743f1df2a4fa3839d6af0204330915af563e6b;hp=a30697f89a309577045d122b3ad167bff6a66ed5;hpb=d22dfaec1fff3dfb5d216b0317f6e2845313f688;p=bertos.git diff --git a/app/triface/triface.mk b/app/triface/triface.mk index a30697f8..fe5fdcfe 100644 --- a/app/triface/triface.mk +++ b/app/triface/triface.mk @@ -5,13 +5,10 @@ # # Makefile fragment for DevLib triface application. # -# Author: Bernardo Innocenti +# Author: Bernie Innocenti # # -# This is an embedded project -triface_EMBEDDED_TGT = 1 - # Set to 1 for debug builds triface_DEBUG = 1 @@ -50,16 +47,8 @@ triface_LDFLAGS = -Wl triface_MCU = atmega64 triface_CROSS = avr- -# Debug stuff -ifeq ($(triface_DEBUG),1) - triface_CFLAGS += -D_DEBUG - triface_PCSRC += bertos/drv/kdebug.c -endif - - -boot_EMBEDDED_TGT = 1 # Set to 1 for debug builds -boot_DEBUG = 1 +boot_DEBUG = 0 # Our target application TRG += boot @@ -74,17 +63,10 @@ boot_CSRC = \ bertos/drv/timer.c \ bertos/algo/crc.c \ bertos/mware/hex.c \ - bertos/kern/kfile.c \ - # + bertos/kern/kfile.c \ + # boot_CROSS = avr- boot_CPPFLAGS = -D'ARCH=(ARCH_TRIFACE|ARCH_BOOT)' -Iapp/triface/boot -Ibertos/cpu/avr boot_CFLAGS = -Os -mcall-prologues boot_LDSCRIPT = app/triface/boot/boot.ld boot_LDFLAGS = -Wl,--relax - -# Debug stuff -ifeq ($(boot_DEBUG),1) - boot_CFLAGS += -D_DEBUG - boot_PCSRC += bertos/drv/kdebug.c bertos/mware/formatwr.c -endif -