This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
spb.config
71 lines (63 loc) · 2.35 KB
/
spb.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#############################################
# ----------------------------------------- #
# Star Package Builder - Configuration File #
# ----------------------------------------- #
#############################################
# Configuration file for SPB Executable
#############################################
# Created by AwlsomeAlex
# Copyright (C) 2018 Alex Barris - All Rights Reserved
# Awlsome Public License v1.0
TITLE=' _____ __ __ _
/ ___// /_____ ______/ / (_)___ __ ___ __
\__ \/ __/ __ `/ ___/ / / / __ \/ / / / |/_/
___/ / /_/ /_/ / / / /___/ / / / / /_/ /> <
/____/\__/\__,_/_/ /_____/_/_/ /_/\__,_/_/|_|
Star Package Builder v0.21a [AWLPL v1.0]
'
DEBUG="True"
DATE=`date +%Y-%m-%d`
#############
# Directory #
#############
SPB_DIR="$HOME/StarLinux"
BASE_DIR="$SPB_DIR/base"
REPO_DIR="$SPB_DIR/repo"
REPO_LINK="https://github.com/AwlsomeAlex/StarLinux/archive/master.zip"
ARCHIVE_FILE="$HOME/Desktop/StarLinux-$DATE.tar.xz"
SRC_DIR="$BASE_DIR/source"
WORK_DIR="$BASE_DIR/work"
FINAL_DIR="$BASE_DIR/final"
HEADER_DIR="$WORK_DIR/linux/linux_extra/include"
#####################
# Compiler Settings #
#####################
JOB_FACTOR=2
CFLAGS="-Os -s -fno-stack-protector -fomit-frame-pointer -U_FORTIFY_SOURCE"
NUM_CORES="$(grep ^processor /proc/cpuinfo | wc -l)"
NUM_JOBS="$((NUM_CORES * JOB_FACTOR))"
CONFIG="mini"
STARLINUX_BUILD="002-alpha"
CODENAME="Nebula"
################
# Package Info #
################
PACKAGE_NAME="Star Package Builder"
PACKAGE_VERSION="vGIT"
# ---------- VERSION CONTROL CENTER ---------- #
######################
# Package Versioning #
######################
linux_version="5.0.4"
glibc_version="2.28"
busybox_version="1.30.1"
syslinux_version="6.03"
##########################
# Package Download Links #
##########################
linux_downloadlink="http://kernel.org/pub/linux/kernel/v5.x/linux-$linux_version.tar.xz"
glibc_downloadlink="http://mirror.clarkson.edu/gnu/libc/glibc-$glibc_version.tar.xz"
busybox_downloadlink="http://busybox.net/downloads/busybox-$busybox_version.tar.bz2"
xiongnu_downloadlink="https://github.com/AwlsomeAlex/Xiongnu/archive/v1.2.4a.tar.gz"
syslinux_downloadlink="https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/syslinux-$syslinux_version.tar.xz"
commonlib_downloadlink="https://raw.githubusercontent.com/AwlsomeAlex/StarLinux/master/common.lib"