forked from openwrt/openwrt
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
975 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
def axisTargets = ["x86_64","x86_geode","ar71xx_generic"] | ||
def checkout_tasks = [:] | ||
def build_tasks = [:] | ||
def archive_tasks = [:] | ||
|
||
for(int i=0; i< axisTargets.size(); i++) { | ||
def target = axisTargets[i] | ||
def targets_split = target.tokenize( '_' ) | ||
def maintarget = targets_split[0] | ||
def subtarget = targets_split[1] | ||
checkout_tasks["${target}"] = { | ||
node { | ||
ws("${env.JOB_NAME}-${target}") { | ||
dir('firmware') { | ||
checkout scm | ||
} | ||
} | ||
} | ||
} | ||
build_tasks["${target}"] = { | ||
node { | ||
ws("${env.JOB_NAME}-${target}") { | ||
dir('firmware') { | ||
sh "./scripts/feeds update -a" | ||
sh "./scripts/feeds install -a" | ||
sh "./create_config.sh ${target}" | ||
sh "make defconfig" | ||
sh "make -j2 V=s" | ||
} | ||
} | ||
} | ||
} | ||
archive_tasks["${target}"] = { | ||
node { | ||
ws("${env.JOB_NAME}-${target}") { | ||
dir('firmware') { | ||
archiveArtifacts artifacts: 'bin/targets/*/*/*', excludes: '' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
stage('Checkout') { | ||
parallel checkout_tasks | ||
} | ||
|
||
stage ("Build") { | ||
parallel build_tasks | ||
} | ||
|
||
stage ("Archive") { | ||
parallel archive_tasks | ||
} | ||
|
||
|
||
|
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,18 @@ | ||
# OpenC2X embedded | ||
|
||
To build the firmware: | ||
|
||
* Update the feeds: | ||
``` | ||
./scripts/feeds update -a | ||
./scripts/feeds install -a | ||
``` | ||
* Create the configuration, allowed architectures are x86_64, x86_geode, ar71xx_generic: | ||
``` | ||
./create_config.sh x86_64 | ||
make defconfig | ||
``` | ||
* Build | ||
``` | ||
make | ||
``` |
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,6 @@ | ||
CONFIG_TARGET_ar71xx=y | ||
CONFIG_TARGET_ar71xx_generic=y | ||
CONFIG_TARGET_MULTI_PROFILE=y | ||
|
||
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wdr3600-v1=y | ||
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_generic_DEVICE_tl-wdr3600-v1="" |
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,12 @@ | ||
CONFIG_USE_LIBSTDCXX=y | ||
CONFIG_DEFAULT_firewall=n | ||
CONFIG_PACKAGE_firewall=n | ||
CONFIG_PACKAGE_kmod-pcnet32=y | ||
CONFIG_PACKAGE_uhttpd=y | ||
CONFIG_PACKAGE_uhttpd-mod-ubus=y | ||
CONFIG_PACKAGE_luci-mod-admin-full=y | ||
CONFIG_PACKAGE_libiwinfo-lua=y | ||
CONFIG_PACKAGE_luci-app-openc2x=y | ||
CONFIG_PACKAGE_luci-theme-material=y | ||
CONFIG_PACKAGE_openc2x=y | ||
CONFIG_PACKAGE_kmod-usb-serial-ch341=y |
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,76 @@ | ||
CONFIG_TARGET_x86=y | ||
CONFIG_TARGET_x86_64=y | ||
CONFIG_VDI_IMAGES=y | ||
CONFIG_PACKAGE_kmod-pcnet32=y | ||
CONFIG_PACKAGE_openssh-sftp-server=y | ||
|
||
|
||
CONFIG_DEVEL=y | ||
CONFIG_ATH9K_SUPPORT_PCOEM=y | ||
CONFIG_ATH_USER_REGD=y | ||
CONFIG_DRIVER_11N_SUPPORT=y | ||
CONFIG_DRIVER_11W_SUPPORT=y | ||
# CONFIG_IPV6 is not set | ||
# CONFIG_KERNEL_IPV6 is not set | ||
CONFIG_KERNEL_RELAY=y | ||
CONFIG_PACKAGE_ATH_DEBUG=y | ||
CONFIG_PACKAGE_ATH_DFS=y | ||
CONFIG_PACKAGE_MAC80211_DEBUGFS=y | ||
CONFIG_PACKAGE_MAC80211_MESH=y | ||
CONFIG_PACKAGE_ath9k-htc-firmware=y | ||
CONFIG_PACKAGE_boost=y | ||
CONFIG_PACKAGE_boost-program_options=y | ||
CONFIG_PACKAGE_gpsd=y | ||
CONFIG_PACKAGE_gpslogger=y | ||
CONFIG_PACKAGE_hostapd-common=y | ||
CONFIG_PACKAGE_iperf=y | ||
CONFIG_PACKAGE_iperf3=y | ||
CONFIG_PACKAGE_iw=y | ||
CONFIG_PACKAGE_kmod-ath=y | ||
CONFIG_PACKAGE_kmod-ath5k=y | ||
CONFIG_PACKAGE_kmod-ath9k=y | ||
CONFIG_PACKAGE_kmod-ath9k-common=y | ||
CONFIG_PACKAGE_kmod-ath9k-htc=y | ||
CONFIG_PACKAGE_kmod-cfg80211=y | ||
CONFIG_PACKAGE_kmod-hwmon-k10temp=y | ||
CONFIG_PACKAGE_kmod-i2c-algo-bit=y | ||
CONFIG_PACKAGE_kmod-i2c-core=y | ||
CONFIG_PACKAGE_kmod-igb=y | ||
CONFIG_PACKAGE_kmod-leds-apu2=y | ||
CONFIG_PACKAGE_kmod-leds-gpio=y | ||
CONFIG_PACKAGE_kmod-leds-pca963x=y | ||
CONFIG_PACKAGE_kmod-ledtrig-default-on=y | ||
CONFIG_PACKAGE_kmod-ledtrig-gpio=y | ||
CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y | ||
CONFIG_PACKAGE_kmod-ledtrig-netdev=y | ||
CONFIG_PACKAGE_kmod-ledtrig-oneshot=y | ||
CONFIG_PACKAGE_kmod-ledtrig-timer=y | ||
CONFIG_PACKAGE_kmod-ledtrig-transient=y | ||
CONFIG_PACKAGE_kmod-mac80211=y | ||
CONFIG_PACKAGE_kmod-nls-base=y | ||
CONFIG_PACKAGE_kmod-scsi-core=y | ||
CONFIG_PACKAGE_kmod-usb-acm=y | ||
CONFIG_PACKAGE_kmod-usb-core=y | ||
CONFIG_PACKAGE_kmod-usb-ohci=y | ||
CONFIG_PACKAGE_kmod-usb-ohci-pci=y | ||
CONFIG_PACKAGE_kmod-usb-serial=y | ||
CONFIG_PACKAGE_kmod-usb-serial-cp210x=y | ||
CONFIG_PACKAGE_kmod-usb-serial-ftdi=y | ||
CONFIG_PACKAGE_kmod-usb-serial-pl2303=y | ||
CONFIG_PACKAGE_kmod-usb-storage=y | ||
CONFIG_PACKAGE_kmod-usb-storage-extras=y | ||
CONFIG_PACKAGE_kmod-usb-uhci=y | ||
CONFIG_PACKAGE_kmod-usb2=y | ||
CONFIG_PACKAGE_kmod-usb3=y | ||
CONFIG_PACKAGE_libcap=y | ||
CONFIG_PACKAGE_libgps=y | ||
CONFIG_PACKAGE_libncurses=y | ||
CONFIG_PACKAGE_libpcap=y | ||
CONFIG_PACKAGE_libprotobuf-c=y | ||
CONFIG_PACKAGE_libstdcpp=y | ||
CONFIG_PACKAGE_libsysfs=y | ||
CONFIG_PACKAGE_libusb-1.0=y | ||
|
||
CONFIG_TARGET_INITRAMFS_COMPRESSION_NONE=y | ||
CONFIG_TARGET_ROOTFS_INITRAMFS=y | ||
|
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,76 @@ | ||
CONFIG_TARGET_x86=y | ||
CONFIG_TARGET_x86_geode=y | ||
|
||
CONFIG_PACKAGE_kmod-pcnet32=y | ||
CONFIG_PACKAGE_openssh-sftp-server=y | ||
|
||
|
||
CONFIG_DEVEL=y | ||
CONFIG_ATH9K_SUPPORT_PCOEM=y | ||
CONFIG_ATH_USER_REGD=y | ||
CONFIG_DRIVER_11N_SUPPORT=y | ||
CONFIG_DRIVER_11W_SUPPORT=y | ||
# CONFIG_IPV6 is not set | ||
# CONFIG_KERNEL_IPV6 is not set | ||
CONFIG_KERNEL_RELAY=y | ||
CONFIG_PACKAGE_ATH_DEBUG=y | ||
CONFIG_PACKAGE_ATH_DFS=y | ||
CONFIG_PACKAGE_MAC80211_DEBUGFS=y | ||
CONFIG_PACKAGE_MAC80211_MESH=y | ||
CONFIG_PACKAGE_ath9k-htc-firmware=y | ||
CONFIG_PACKAGE_boost=y | ||
CONFIG_PACKAGE_boost-program_options=y | ||
CONFIG_PACKAGE_gpsd=y | ||
CONFIG_PACKAGE_gpslogger=y | ||
CONFIG_PACKAGE_hostapd-common=y | ||
CONFIG_PACKAGE_iperf=y | ||
CONFIG_PACKAGE_iperf3=y | ||
CONFIG_PACKAGE_iw=y | ||
CONFIG_PACKAGE_kmod-ath=y | ||
CONFIG_PACKAGE_kmod-ath5k=y | ||
CONFIG_PACKAGE_kmod-ath9k=y | ||
CONFIG_PACKAGE_kmod-ath9k-common=y | ||
CONFIG_PACKAGE_kmod-ath9k-htc=y | ||
CONFIG_PACKAGE_kmod-cfg80211=y | ||
CONFIG_PACKAGE_kmod-hwmon-k10temp=y | ||
CONFIG_PACKAGE_kmod-i2c-algo-bit=y | ||
CONFIG_PACKAGE_kmod-i2c-core=y | ||
CONFIG_PACKAGE_kmod-igb=y | ||
CONFIG_PACKAGE_kmod-leds-apu2=y | ||
CONFIG_PACKAGE_kmod-leds-gpio=y | ||
CONFIG_PACKAGE_kmod-leds-pca963x=y | ||
CONFIG_PACKAGE_kmod-ledtrig-default-on=y | ||
CONFIG_PACKAGE_kmod-ledtrig-gpio=y | ||
CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y | ||
CONFIG_PACKAGE_kmod-ledtrig-netdev=y | ||
CONFIG_PACKAGE_kmod-ledtrig-oneshot=y | ||
CONFIG_PACKAGE_kmod-ledtrig-timer=y | ||
CONFIG_PACKAGE_kmod-ledtrig-transient=y | ||
CONFIG_PACKAGE_kmod-mac80211=y | ||
CONFIG_PACKAGE_kmod-nls-base=y | ||
CONFIG_PACKAGE_kmod-scsi-core=y | ||
CONFIG_PACKAGE_kmod-usb-acm=y | ||
CONFIG_PACKAGE_kmod-usb-core=y | ||
CONFIG_PACKAGE_kmod-usb-ohci=y | ||
CONFIG_PACKAGE_kmod-usb-ohci-pci=y | ||
CONFIG_PACKAGE_kmod-usb-serial=y | ||
CONFIG_PACKAGE_kmod-usb-serial-cp210x=y | ||
CONFIG_PACKAGE_kmod-usb-serial-ftdi=y | ||
CONFIG_PACKAGE_kmod-usb-serial-pl2303=y | ||
CONFIG_PACKAGE_kmod-usb-storage=y | ||
CONFIG_PACKAGE_kmod-usb-storage-extras=y | ||
CONFIG_PACKAGE_kmod-usb-uhci=y | ||
CONFIG_PACKAGE_kmod-usb2=y | ||
CONFIG_PACKAGE_kmod-usb3=y | ||
CONFIG_PACKAGE_libcap=y | ||
CONFIG_PACKAGE_libgps=y | ||
CONFIG_PACKAGE_libncurses=y | ||
CONFIG_PACKAGE_libpcap=y | ||
CONFIG_PACKAGE_libprotobuf-c=y | ||
CONFIG_PACKAGE_libstdcpp=y | ||
CONFIG_PACKAGE_libsysfs=y | ||
CONFIG_PACKAGE_libusb-1.0=y | ||
|
||
CONFIG_TARGET_INITRAMFS_COMPRESSION_NONE=y | ||
CONFIG_TARGET_ROOTFS_INITRAMFS=y | ||
|
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,2 @@ | ||
cp configs/config.$1.default .config | ||
cat configs/config.default >> .config |
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
Oops, something went wrong.