Add missing assert.
[bertos.git] / app / triface / triface.mk
index c3709f9dfed4baf019fbd81ca657b2926cb79228..f208dfa33bfb0dd429bd4110d477f92f0c97f7be 100644 (file)
@@ -5,13 +5,10 @@
 #
 # Makefile fragment for DevLib triface application.
 #
-# Author: Bernardo Innocenti <bernie@develer.com>
+# Author: Bernie Innocenti <bernie@codewiz.org>
 #
 #
 
-# This is an embedded project
-triface_EMBEDDED_TGT = 1
-
 # Set to 1 for debug builds
 triface_DEBUG = 1
 
@@ -33,7 +30,7 @@ triface_CSRC = \
        bertos/cpu/avr/drv/sipo.c \
        bertos/mware/formatwr.c \
        bertos/mware/hex.c \
-       bertos/mware/hashtable.c \
+       bertos/struct/hashtable.c \
        bertos/mware/readline.c \
        bertos/mware/parser.c \
        bertos/mware/event.c \
@@ -50,14 +47,6 @@ 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 = 0
 
@@ -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
-