2
0
mirror of https://github.com/team2059/Zaphod synced 2025-01-07 22:14:14 -05:00

Added two basic scripts (documenting it later but there pretty easy to understand

This commit is contained in:
Adam Long 2014-05-31 11:02:27 -04:00
parent 7f64b16a58
commit 190f230b07
17 changed files with 59 additions and 15 deletions

View File

@ -1,15 +0,0 @@
#UCPP makefile
# Default target
all: force
cd PPC603gnu && exec "$(MAKE)" -f Makefile_linux
# Don't do anything for the "Makefile" target
Makefile: ;
# Recursively run all other targets
%: force
cd PPC603gnu && exec "$(MAKE)" -f Makefile_linux "$*"
force: ;

4
build Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd src
make && cp PPC603gnu/src/Debug/src.out ../bin/Zaphod.out
cd ..

7
configure vendored Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
git submodule init
git submodule update
export PATH=$PATH:$(pwd)/bin/ucpp/ucpp
cd src
ucpp init -t 2059
ucpp configure

48
src/.wrmakefile Executable file
View File

@ -0,0 +1,48 @@
# The file ".wrmakefile" is the template used by the Wind River Workbench to
# generate the makefiles of this project. Add user-specific build targets and
# make rules only(!) in this project's ".wrmakefile" file. These will then be
# automatically dumped into the makefiles.
WIND_HOME := $(subst \,/,$(WIND_HOME))
WIND_BASE := $(subst \,/,$(WIND_BASE))
WIND_USR := $(subst \,/,$(WIND_USR))
all : pre_build main_all post_build
_clean ::
@echo "make: removing targets and objects of `pwd`"
%IDE_GENERATED%
-include $(PRJ_ROOT_DIR)/*.makefile
-include *.makefile
main_all : external_build $(PROJECT_TARGETS)
@echo "make: built targets of `pwd`"
# entry point for extending the build
external_build ::
@echo ""
# main entry point for pre processing prior to the build
pre_build :: $(PRE_BUILD_STEP) generate_sources
@echo ""
# entry point for generating sources prior to the build
generate_sources ::
@echo ""
# main entry point for post processing after the build
post_build :: $(POST_BUILD_STEP) deploy_output
@echo ""
# entry point for deploying output after the build
deploy_output ::
@echo ""
clean :: external_clean $(CLEAN_STEP) _clean
# entry point for extending the build clean
external_clean ::
@echo ""