-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduced Cavium target #4
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,11 @@ PASSWORD_ENCRYPTED= | |
## Select bash for commands | ||
SHELL := /bin/bash | ||
|
||
## Path to vendor linux patch folder | ||
ifeq ($(MAKECMDGOALS),cavm-all) | ||
export LINUX_PATCH=cavm-as7512 | ||
endif | ||
|
||
## Capture all the files in SDK directories | ||
MLNX-SDK-DEBS=$(notdir $(wildcard src/mlnx-sdk/*.deb)) | ||
BRCM-SDK-DEBS=$(notdir $(wildcard src/brcm-sdk/*.deb)) | ||
|
@@ -20,7 +25,7 @@ define build_docker | |
endef | ||
|
||
## Rules | ||
.phony : brcm-all mlnx-all | ||
.phony : brcm-all mlnx-all cavm-all | ||
|
||
src/%: | ||
$(MAKE) -C src $(subst src/,,$@) | ||
|
@@ -113,3 +118,5 @@ brcm-all: target/sonic-generic.bin $(addprefix target/,docker-syncd.gz docker-or | |
|
||
## Note: docker-fpm.gz must be the last to build the implicit dependency fpmsyncd | ||
mlnx-all: target/sonic-generic.bin $(addprefix target/,docker-syncd-mlnx.gz docker-orchagent-mlnx.gz docker-fpm.gz docker-database.gz) | ||
|
||
cavm-all: target/sonic-generic.bin | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't need to have other dockers like the above two? |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CONSOLE_PORT=0x2f8 | ||
CONSOLE_DEV=1 | ||
CONSOLE_SPEED=115200 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. all sonic kernel use 9600 baud rate |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ mlnx/swss_1.0.0_amd64.deb mlnx/intfsyncd mlnx/neighsyncd mlnx/orchagent mlnx/por | |
cp sonic-swss/debian/swss/usr/bin/fpmsyncd . | ||
|
||
$(addprefix sonic-linux-kernel/,linux-headers-3.16.0-4-amd64_3.16.7-ckt11-2+acs8u2_amd64.deb linux-headers-3.16.0-4-common_3.16.7-ckt11-2+acs8u2_amd64.deb linux-image-3.16.0-4-amd64-dbg_3.16.7-ckt11-2+acs8u2_amd64.deb linux-image-3.16.0-4-amd64_3.16.7-ckt11-2+acs8u2_amd64.deb xen-linux-system-3.16.0-4-amd64_3.16.7-ckt11-2+acs8u2_amd64.deb): | ||
pushd sonic-linux-kernel; sudo ./build.sh; popd | ||
pushd sonic-linux-kernel; sudo ./build.sh $(LINUX_PATCH); popd | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggest drop this for now. Let's first agree on how the sonic kernel is going to be build in the other repo. |
||
|
||
initramfs-tools/initramfs-tools_0.120_all.deb: | ||
pushd initramfs-tools; ./build.sh; popd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest drop this for now. Let's first agree on how the sonic kernel is going to be build in the other repo