Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
1d2f231c
Commit
1d2f231c
authored
Jun 19, 2012
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Add extra human readable output to the build test makefile scripts.
parent
7e65340c
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
BuildTests/BootloaderTest/makefile
+1
-1
1 addition, 1 deletion
BuildTests/BootloaderTest/makefile
BuildTests/ModuleTest/makefile
+3
-0
3 additions, 0 deletions
BuildTests/ModuleTest/makefile
BuildTests/SingleUSBModeTest/makefile
+7
-0
7 additions, 0 deletions
BuildTests/SingleUSBModeTest/makefile
with
11 additions
and
1 deletion
BuildTests/BootloaderTest/makefile
+
1
−
1
View file @
1d2f231c
...
@@ -41,7 +41,7 @@ testbootloaders:
...
@@ -41,7 +41,7 @@ testbootloaders:
build_flashsize
=
`
echo
$$
build_cfg |
cut
-d
':'
-f4
`
;
\
build_flashsize
=
`
echo
$$
build_cfg |
cut
-d
':'
-f4
`
;
\
build_bootsize
=
`
echo
$$
build_cfg |
cut
-d
':'
-f5
`
;
\
build_bootsize
=
`
echo
$$
build_cfg |
cut
-d
':'
-f5
`
;
\
\
\
printf
"Found bootloader configuration
for bootloader '%s'
(FLASH: %3s KB | BOOT: %3s KB | MCU: %12s / %4s)
\n
"
$$
build_bootloader
$$
build_flashsize
$$
build_bootsize
$$
build_mcu
$$
build_arch
;
\
printf
"Found
'%s'
bootloader configuration (FLASH: %3s KB | BOOT: %3s KB | MCU: %12s / %4s)
\n
"
$$
build_bootloader
$$
build_flashsize
$$
build_bootsize
$$
build_mcu
$$
build_arch
;
\
\
\
printf
"
\t
@echo Building bootloader %s - %s - FLASH: %s KB, BOOT: %s KB
\n
"
$$
build_bootloader
$$
build_mcu
$$
build_flashsize
$$
build_bootsize
>>
BuildMakefile
;
\
printf
"
\t
@echo Building bootloader %s - %s - FLASH: %s KB, BOOT: %s KB
\n
"
$$
build_bootloader
$$
build_mcu
$$
build_flashsize
$$
build_bootsize
>>
BuildMakefile
;
\
printf
"
\t
$(
MAKE
)
-s -C
$(
patsubst %/,%,
$(
LUFA_PATH
))
/../Bootloaders/%s/ clean elf ARCH=%s MCU=%s BOARD=%s FLASH_SIZE_KB=%s BOOT_SECTION_SIZE_KB=%s
\n\n
"
$$
build_bootloader
$$
build_arch
$$
build_mcu
$$
build_board
$$
build_flashsize
$$
build_bootsize
>>
BuildMakefile
;
\
printf
"
\t
$(
MAKE
)
-s -C
$(
patsubst %/,%,
$(
LUFA_PATH
))
/../Bootloaders/%s/ clean elf ARCH=%s MCU=%s BOARD=%s FLASH_SIZE_KB=%s BOOT_SECTION_SIZE_KB=%s
\n\n
"
$$
build_bootloader
$$
build_arch
$$
build_mcu
$$
build_board
$$
build_flashsize
$$
build_bootsize
>>
BuildMakefile
;
\
...
...
This diff is collapsed.
Click to expand it.
BuildTests/ModuleTest/makefile
+
3
−
0
View file @
1d2f231c
...
@@ -39,12 +39,15 @@ end:
...
@@ -39,12 +39,15 @@ end:
@
echo
@
echo
%.avr8
:
%.avr8
:
@
echo
Building ModuleTest
for
ARCH
=
AVR8
MCU
=
$(
@:%.avr8
=
%
)
...
$(
MAKE
)
-s
-f
makefile.test clean elf
ARCH
=
AVR8
MCU
=
$(
@:%.avr8
=
%
)
$(
MAKE
)
-s
-f
makefile.test clean elf
ARCH
=
AVR8
MCU
=
$(
@:%.avr8
=
%
)
%.xmega
:
%.xmega
:
@
echo
Building ModuleTest
for
ARCH
=
XMEGA
MCU
=
$(
@:%.xmega
=
%
)
...
$(
MAKE
)
-s
-f
makefile.test clean elf
ARCH
=
XMEGA
MCU
=
$(
@:%.xmega
=
%
)
$(
MAKE
)
-s
-f
makefile.test clean elf
ARCH
=
XMEGA
MCU
=
$(
@:%.xmega
=
%
)
%.uc3
:
%.uc3
:
@
echo
Building ModuleTest
for
ARCH
=
UC3
MCU
=
$(
@:%.uc3
=
%
)
...
$(
MAKE
)
-s
-f
makefile.test clean elf
ARCH
=
UC3
MCU
=
$(
@:%.uc3
=
%
)
$(
MAKE
)
-s
-f
makefile.test clean elf
ARCH
=
UC3
MCU
=
$(
@:%.uc3
=
%
)
clean
:
clean
:
...
...
This diff is collapsed.
Click to expand it.
BuildTests/SingleUSBModeTest/makefile
+
7
−
0
View file @
1d2f231c
...
@@ -25,12 +25,19 @@ end:
...
@@ -25,12 +25,19 @@ end:
@
echo
@
echo
compile
:
compile
:
@
echo
Building SingleUSBModeTest
for
ARCH
=
AVR8
in
device only mode...
$(
MAKE
)
-s
-f
makefile.test clean elf
ARCH
=
AVR8
MCU
=
at90usb1287
CC_FLAGS
=
'-D USB_DEVICE_ONLY'
$(
MAKE
)
-s
-f
makefile.test clean elf
ARCH
=
AVR8
MCU
=
at90usb1287
CC_FLAGS
=
'-D USB_DEVICE_ONLY'
@echo
Building
SingleUSBModeTest
for
ARCH
=
AVR8
in
host only mode...
$(MAKE)
-s
-f
makefile.test
clean
elf
ARCH
=
AVR8
MCU
=
at90usb1287
CC_FLAGS
=
'-D USB_HOST_ONLY'
$(MAKE)
-s
-f
makefile.test
clean
elf
ARCH
=
AVR8
MCU
=
at90usb1287
CC_FLAGS
=
'-D USB_HOST_ONLY'
@echo
Building
SingleUSBModeTest
for
ARCH
=
XMEGA
in
device only mode...
$(MAKE)
-s
-f
makefile.test
clean
elf
ARCH
=
XMEGA
MCU
=
atxmega128a1u
CC_FLAGS
=
'-D USB_DEVICE_ONLY'
$(MAKE)
-s
-f
makefile.test
clean
elf
ARCH
=
XMEGA
MCU
=
atxmega128a1u
CC_FLAGS
=
'-D USB_DEVICE_ONLY'
@echo
Building
SingleUSBModeTest
for
ARCH
=
UC3
in
device only mode...
$(MAKE)
-s
-f
makefile.test
clean
elf
ARCH
=
UC3
MCU
=
uc3a0256
CC_FLAGS
=
'-D USB_DEVICE_ONLY'
$(MAKE)
-s
-f
makefile.test
clean
elf
ARCH
=
UC3
MCU
=
uc3a0256
CC_FLAGS
=
'-D USB_DEVICE_ONLY'
@echo
Building
SingleUSBModeTest
for
ARCH
=
UC3
in
host only mode...
$(MAKE)
-s
-f
makefile.test
clean
elf
ARCH
=
UC3
MCU
=
uc3a0256
CC_FLAGS
=
'-D USB_HOST_ONLY'
$(MAKE)
-s
-f
makefile.test
clean
elf
ARCH
=
UC3
MCU
=
uc3a0256
CC_FLAGS
=
'-D USB_HOST_ONLY'
clean
:
clean
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment