Browse files

Updated Makefiles

  • Loading branch information...
1 parent 7cf923e commit 6a1de3737f1b9719e9165a7dd215fad6ca5263d3 @davelxmos davelxmos committed Mar 29, 2012
View
1 app_macaddr_reader/Makefile
@@ -2,6 +2,7 @@ TARGET = XC-3
XCC_FLAGS =
+
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
View
1 app_mii_singlethread_demo/Makefile
@@ -3,6 +3,7 @@ APP_NAME =
XCC_FLAGS = -g -O2
USED_MODULES = module_mii_singlethread module_ethernet_smi
+
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
View
1 app_mii_singlethread_regr/Makefile
@@ -3,6 +3,7 @@ APP_NAME =
XCC_FLAGS = -g -O2 -report -DMII_DRIVER_SIMULATION
USED_MODULES = module_mii_singlethread module_ethernet_smi
+
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
View
1 app_smi_test/Makefile
@@ -3,6 +3,7 @@ APP_NAME =
XCC_FLAGS = -g -O2
USED_MODULES = module_ethernet_smi
+
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
View
20 test_buffering/Makefile
@@ -24,24 +24,10 @@ XCC_FLAGS = -report -g -Wno-timing
USED_MODULES = module_ethernet module_locks
+
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
-
-# Use the latest 1v* version of module_xmos_common
--include ../module_xcommon/build/Makefile.common
--include ../../xcommon/module_xcommon/build/Makefile.common
-
-# The final target of the build. This is usually dependent on a binary file
-# in the $(BIN_DIR) directory e.g.
-#
-# all : $(BIN_DIR)/my_app.xe
-
-all: $(BIN_DIR)/$(APP_NAME).xe
- @echo Build Complete
-
-
-clean: clean_common
-
-test: all
+XMOS_MAKE_PATH ?= ../..
+include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common
View
21 test_ethernet_2_port/Makefile
@@ -25,25 +25,10 @@ XCC_FLAGS = -g -DMAC_CUSTOM_FILTER -report
USED_MODULES = module_ethernet module_locks
+
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
-
-# Use the latest 1v* version of module_xmos_common
--include ../module_xcommon/build/Makefile.common
--include ../../xcommon/module_xcommon/build/Makefile.common
-
-# The final target of the build. This is usually dependent on a binary file
-# in the $(BIN_DIR) directory e.g.
-#
-# all : $(BIN_DIR)/my_app.xe
-
-all: $(BIN_DIR)/$(APP_NAME).xe
- @echo Build Complete
-
-
-clean: clean_common
-
-test: all
-
+XMOS_MAKE_PATH ?= ../..
+include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common
View
20 test_ethernet_qav/Makefile
@@ -24,24 +24,10 @@ XCC_FLAGS = -report -g -DMAC_CUSTOM_FILTER -save-temps -fcomment-asm
USED_MODULES = module_ethernet module_locks
+
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
-
-# Use the latest 1v* version of module_xmos_common
--include ../module_xcommon/build/Makefile.common
--include ../../xcommon/module_xcommon/build/Makefile.common
-
-# The final target of the build. This is usually dependent on a binary file
-# in the $(BIN_DIR) directory e.g.
-#
-# all : $(BIN_DIR)/my_app.xe
-
-all: $(BIN_DIR)/$(APP_NAME).xe
- @echo Build Complete
-
-
-clean: clean_common
-
-test: all
+XMOS_MAKE_PATH ?= ../..
+include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common
View
1 test_mii_simplethread_tx_jitter/Makefile
@@ -3,6 +3,7 @@ APP_NAME =
XCC_FLAGS = -g -O2 -lxscope
USED_MODULES = module_mii_singlethread module_ethernet_smi
+
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
View
20 test_regression/Makefile
@@ -24,24 +24,10 @@ XCC_FLAGS = -report -g -DMAC_CUSTOM_FILTER
USED_MODULES = module_ethernet module_locks
+
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
-
-# Use the latest 1v* version of module_xmos_common
--include ../module_xcommon/build/Makefile.common
--include ../../xcommon/module_xcommon/build/Makefile.common
-
-# The final target of the build. This is usually dependent on a binary file
-# in the $(BIN_DIR) directory e.g.
-#
-# all : $(BIN_DIR)/my_app.xe
-
-all: $(BIN_DIR)/$(APP_NAME).xe
- @echo Build Complete
-
-
-clean: clean_common
-
-test: all
+XMOS_MAKE_PATH ?= ../..
+include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common

0 comments on commit 6a1de37

Please sign in to comment.