mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
kernel: Add a preliminary kernel from the i586 PAE configuration
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
5957
config/kernel/kernel.config.x86_64-ipfire
Normal file
5957
config/kernel/kernel.config.x86_64-ipfire
Normal file
File diff suppressed because it is too large
Load Diff
3079
config/rootfiles/common/x86_64/linux
Normal file
3079
config/rootfiles/common/x86_64/linux
Normal file
File diff suppressed because it is too large
Load Diff
1
config/rootfiles/common/x86_64/linux-headers
Symbolic link
1
config/rootfiles/common/x86_64/linux-headers
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../i586/linux-headers
|
||||||
1
config/rootfiles/common/x86_64/linux-initrd
Symbolic link
1
config/rootfiles/common/x86_64/linux-initrd
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../i586/linux-initrd
|
||||||
@@ -113,6 +113,10 @@ endif
|
|||||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_CFG80211_DEFAULT_PS=y/# CPTCFG_CFG80211_DEFAULT_PS is not set/g" .config
|
cd $(DIR_APP) && sed -i -e "s/CPTCFG_CFG80211_DEFAULT_PS=y/# CPTCFG_CFG80211_DEFAULT_PS is not set/g" .config
|
||||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_NFC=m/# CPTCFG_NFC is not set/g" .config
|
cd $(DIR_APP) && sed -i -e "s/CPTCFG_NFC=m/# CPTCFG_NFC is not set/g" .config
|
||||||
|
|
||||||
|
ifeq "$(MACHINE)" "x86_64"
|
||||||
|
cd $(DIR_APP) && sed -i -e "s/CPTCFG_LIBERTAS_UAP=m/# CPTCFG_LIBERTAS_UAP is not set/g" .config
|
||||||
|
endif
|
||||||
|
|
||||||
# Disable some modules (build fail)
|
# Disable some modules (build fail)
|
||||||
cd $(DIR_APP) && sed -i -e "s/CPTCFG_VIDEO_VIA_CAMERA=m/# CPTCFG_VIDEO_VIA_CAMERA is not set/g" .config
|
cd $(DIR_APP) && sed -i -e "s/CPTCFG_VIDEO_VIA_CAMERA=m/# CPTCFG_VIDEO_VIA_CAMERA is not set/g" .config
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,12 @@ CXXFLAGS =
|
|||||||
PAK_VER = 62
|
PAK_VER = 62
|
||||||
DEPS = ""
|
DEPS = ""
|
||||||
|
|
||||||
|
KERNEL_ARCH = $(MACHINE)
|
||||||
|
|
||||||
|
ifeq "$(MACHINE)" "i586"
|
||||||
|
KERNEL_ARCH = i386
|
||||||
|
endif
|
||||||
|
|
||||||
VERSUFIX=ipfire$(KCFG)
|
VERSUFIX=ipfire$(KCFG)
|
||||||
|
|
||||||
ifeq "$(TOOLS)" "1"
|
ifeq "$(TOOLS)" "1"
|
||||||
@@ -224,7 +230,7 @@ ifeq "$(KCFG)" "-rpi"
|
|||||||
cd $(DIR_APP) && cp -v arch/arm/boot/zImage /boot/kernel.img
|
cd $(DIR_APP) && cp -v arch/arm/boot/zImage /boot/kernel.img
|
||||||
else
|
else
|
||||||
cd $(DIR_APP) && make $(MAKETUNING) bzImage modules
|
cd $(DIR_APP) && make $(MAKETUNING) bzImage modules
|
||||||
cd $(DIR_APP) && cp -v arch/i386/boot/bzImage /boot/vmlinuz-$(VER)-$(VERSUFIX)
|
cd $(DIR_APP) && cp -v arch/$(KERNEL_ARCH)/boot/bzImage /boot/vmlinuz-$(VER)-$(VERSUFIX)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|||||||
9
make.sh
9
make.sh
@@ -419,7 +419,14 @@ buildipfire() {
|
|||||||
|
|
||||||
case "${TARGET_ARCH}" in
|
case "${TARGET_ARCH}" in
|
||||||
x86_64)
|
x86_64)
|
||||||
# No kernel, yet.
|
ipfiremake linux KCFG=""
|
||||||
|
ipfiremake backports KCFG=""
|
||||||
|
ipfiremake cryptodev KCFG=""
|
||||||
|
ipfiremake e1000e KCFG=""
|
||||||
|
# ipfiremake igb KCFG=""
|
||||||
|
ipfiremake ixgbe KCFG=""
|
||||||
|
ipfiremake xtables-addons KCFG=""
|
||||||
|
ipfiremake linux-initrd KCFG=""
|
||||||
;;
|
;;
|
||||||
i586)
|
i586)
|
||||||
# x86-pae (Native and new XEN) kernel build
|
# x86-pae (Native and new XEN) kernel build
|
||||||
|
|||||||
Reference in New Issue
Block a user