aboutsummaryrefslogtreecommitdiffstats
path: root/Maintenance/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-09-23 11:09:09 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-09-23 11:09:09 +0000
commit4cd80263ff477e81ab88dc76f32103f3852a0468 (patch)
tree8444912e7ab4f14402ca930c0d84ba67d7a47880 /Maintenance/makefile
parent217f1eebc16f6e0758305b270b3990fe002a5e4d (diff)
downloadlufa-4cd80263ff477e81ab88dc76f32103f3852a0468.tar.gz
lufa-4cd80263ff477e81ab88dc76f32103f3852a0468.tar.bz2
lufa-4cd80263ff477e81ab88dc76f32103f3852a0468.zip
Minor documentation improvements. Remove AS4 project generator script as it is buggy; replace with a better system in the future for both AS4 and AS6.
Diffstat (limited to 'Maintenance/makefile')
-rw-r--r--Maintenance/makefile42
1 files changed, 0 insertions, 42 deletions
diff --git a/Maintenance/makefile b/Maintenance/makefile
index 83d543fad..b401f127e 100644
--- a/Maintenance/makefile
+++ b/Maintenance/makefile
@@ -26,48 +26,6 @@ upgrade-doxygen:
done;
@echo Doxygen configuration update complete.
-# Generate AVR Studio 4 project files for each project from a template
-make-as4-projects:
- @echo Creating AVR Studio 4 project files for Demos...
- @for project_makefile in `find $(LUFA_ROOT)/Demos $(LUFA_ROOT)/Projects $(LUFA_ROOT)/Bootloaders -name makefile*`; do \
- target_name=`grep "TARGET *=" $$project_makefile | cut -d'=' -f2 | sed 's/ //g'`; \
- target_folder=`dirname $$project_makefile`; \
- as4_date=`date "+%-e-%b-%Y %-H:%-M:%-S"`; \
- \
- if ( test -n "$$target_name" ); then \
- echo Creating AS4 project for project $$target_name; \
- \
- source_files="<OTHERFILE>`basename $$project_makefile`<\/OTHERFILE>"; \
- gcc_source_files=""; \
- for c_source_file in `find $$target_folder -name *.c`; do \
- source_filename=`basename $$c_source_file`; \
- \
- source_files="$$source_files<SOURCEFILE>$$source_filename<\/SOURCEFILE>"; \
- gcc_source_files="$$gcc_source_files<Name>$$source_filename<\/Name>"; \
- done; \
- for c_header_file in `find $$target_folder -name *.h`; do \
- source_filename=`basename $$c_header_file`; \
- \
- source_files="$$source_files<HEADERFILE>$$source_filename<\/HEADERFILE>"; \
- gcc_source_files="$$gcc_source_files<Name>$$source_filename<\/Name>"; \
- done; \
- for assembly_file in `find $$target_folder -name *.S`; do \
- source_filename=`basename $$assembly_file`; \
- \
- source_files="$$source_files<OTHERFILE>$$source_filename<\/OTHERFILE>"; \
- gcc_source_files="$$gcc_source_files<Name>$$source_filename<\/Name>"; \
- done; \
- \
- sed "s/%TARGET%/$$target_name/g" AS4Template.aps > $$target_folder/$$target_name.aps.new; \
- sed "s/%CREATED%/$$as4_date/g" $$target_folder/$$target_name.aps.new > $$target_folder/$$target_name.aps.new2; \
- sed "s/%FILE_LIST%/$$source_files/g" $$target_folder/$$target_name.aps.new2 > $$target_folder/$$target_name.aps.new3; \
- sed "s/%GCC_FILE_LIST%/$$gcc_source_files/g" $$target_folder/$$target_name.aps.new3 > $$target_folder/$$target_name.aps.new4; \
- mv $$target_folder/$$target_name.aps.new4 $$target_folder/$$target_name.aps; \
- rm $$target_folder/$$target_name.aps.new $$target_folder/$$target_name.aps.new2 $$target_folder/$$target_name.aps.new3; \
- fi; \
- done;
- @echo AVR Studio 4 project generation complete.
-
# Make all possible bootloaders for all targets and configurations as set by the BootloaderTest build test
# and store them in a seperate directory called "Bootloaders"
make_bootloaders: