Now each project can have its own EMBEDDED_TGT variable to be compiled in embedded...
[bertos.git] / app / at91sam7s / at91sam7s.mk
index c8ea600ef45a738d7a2d798c1db39c9679f0850a..5cb34b68d34c4f8bff2130c9bb7158fe28bf31f6 100644 (file)
@@ -12,6 +12,9 @@
 # Set to 1 for debug builds
 at91sam7s_DEBUG = 1
 
+#This is an embedded project
+at91sam7s_EMBEDDED_TGT = 1
+
 # Our target application
 TRG += at91sam7s
 
@@ -32,7 +35,7 @@ at91sam7s_CSRC = \
 
 at91sam7s_CPPASRC = \
        bertos/cpu/arm/hw/crtat91sam7_rom.S \
-       bertos/kern/switch_arm.S
+       bertos/cpu/arm/hw/switch_arm.S
 
 at91sam7s_CROSS = arm-elf-