-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DSM6] Add support for apollolake and denverton toolchains (6.1) (#2942)
* [DSM6] Add support for apollolake * [DSM6] Add support for denverton * [DSM6] Add apollolake and denverton to generic x64 toolchain
- Loading branch information
Showing
6 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
TC_NAME = syno-$(TC_ARCH) | ||
|
||
TC_ARCH = apollolake | ||
TC_VERS = 6.1 | ||
TC_FIRMWARE = 6.1-15047 | ||
|
||
TC_DIST = apollolake-gcc493_glibc220_linaro_x86_64-GPL | ||
TC_EXT = txz | ||
TC_DIST_NAME = $(TC_DIST).$(TC_EXT) | ||
TC_DIST_SITE = https://sourceforge.net/projects/dsgpl/files/DSM%206.1%20Tool%20Chains/Intel%20x86%20Linux%204.4.15%20%28Apollolake%29 | ||
|
||
TC_BASE_DIR = x86_64-pc-linux-gnu | ||
TC_PREFIX = x86_64-pc-linux-gnu | ||
TC_TARGET = x86_64-pc-linux-gnu | ||
|
||
TC_CFLAGS = -I$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/usr/include | ||
TC_CPPFLAGS = -I$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/usr/include | ||
TC_CXXFLAGS = -I$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/usr/include | ||
TC_LDFLAGS = -L$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/lib | ||
|
||
FIX_TARGET = myFix | ||
|
||
include ../../mk/spksrc.tc.mk | ||
|
||
.PHONY: myFix | ||
myFix: | ||
chmod -R u+w $(WORK_DIR) | ||
@find $(WORK_DIR)/$(TC_BASE_DIR) -type f -name '*.la' -exec sed -i -e "s|^libdir=.*$$|libdir='$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/lib'|" {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
apollolake-gcc493_glibc220_linaro_x86_64-GPL.txz SHA1 5f69a10faaec67ceb600be34ffd54bb44b162dfe | ||
apollolake-gcc493_glibc220_linaro_x86_64-GPL.txz SHA256 12195a6925685f63e0aadd7cb91a35f105926d523657ff9386cfe27f85254941 | ||
apollolake-gcc493_glibc220_linaro_x86_64-GPL.txz MD5 ab21b8aa64d81d5e783b734dd2eb60e1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
TC_NAME = syno-$(TC_ARCH) | ||
|
||
TC_ARCH = denverton | ||
TC_VERS = 6.1 | ||
TC_FIRMWARE = 6.1-15047 | ||
|
||
TC_DIST = denverton-gcc493_glibc220_linaro_x86_64-GPL | ||
TC_EXT = txz | ||
TC_DIST_NAME = $(TC_DIST).$(TC_EXT) | ||
TC_DIST_SITE = https://sourceforge.net/projects/dsgpl/files/DSM%206.1%20Tool%20Chains/Intel%20x86%20Linux%204.4.15%20%28Denverton%29 | ||
|
||
TC_BASE_DIR = x86_64-pc-linux-gnu | ||
TC_PREFIX = x86_64-pc-linux-gnu | ||
TC_TARGET = x86_64-pc-linux-gnu | ||
|
||
TC_CFLAGS = -I$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/usr/include | ||
TC_CPPFLAGS = -I$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/usr/include | ||
TC_CXXFLAGS = -I$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/usr/include | ||
TC_LDFLAGS = -L$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/lib | ||
|
||
FIX_TARGET = myFix | ||
|
||
include ../../mk/spksrc.tc.mk | ||
|
||
.PHONY: myFix | ||
myFix: | ||
chmod -R u+w $(WORK_DIR) | ||
@find $(WORK_DIR)/$(TC_BASE_DIR) -type f -name '*.la' -exec sed -i -e "s|^libdir=.*$$|libdir='$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/sys-root/lib'|" {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
denverton-gcc493_glibc220_linaro_x86_64-GPL.txz SHA1 92293eb0e918b4961943592261f7c4a96843fe71 | ||
denverton-gcc493_glibc220_linaro_x86_64-GPL.txz SHA256 e507a8a168c0729b6180d58271dd5bd71ea7fc7032031a33855c1c25efcf2a84 | ||
denverton-gcc493_glibc220_linaro_x86_64-GPL.txz MD5 7ec1c8009ebba7eef6ae945db2960b35 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters