kernel: Add a preliminary kernel from the i586 PAE configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2015-09-11 00:20:08 +02:00
parent ebf9683b4d
commit ba58389215
7 changed files with 9057 additions and 2 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
../i586/linux-headers

View File

@@ -0,0 +1 @@
../i586/linux-initrd

View File

@@ -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

View File

@@ -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

View File

@@ -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