mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
kernel: drop rpi kernel
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
17
lfs/linux
17
lfs/linux
@@ -25,7 +25,6 @@
|
||||
include Config
|
||||
|
||||
VER = 4.14.26
|
||||
RPI_PATCHES = 3.14.79-grsec-ipfire1
|
||||
A7M_PATCHES = 3.14.79-grsec-ipfire1
|
||||
|
||||
|
||||
@@ -72,15 +71,12 @@ endif
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
objects =$(DL_FILE) \
|
||||
rpi-patches-$(RPI_PATCHES).patch.xz \
|
||||
arm7-multi-patches-$(A7M_PATCHES).patch.xz
|
||||
|
||||
$(DL_FILE) = $(URL_IPFIRE)/$(DL_FILE)
|
||||
rpi-patches-$(RPI_PATCHES).patch.xz = $(URL_IPFIRE)/rpi-patches-$(RPI_PATCHES).patch.xz
|
||||
arm7-multi-patches-$(A7M_PATCHES).patch.xz = $(URL_IPFIRE)/arm7-multi-patches-$(A7M_PATCHES).patch.xz
|
||||
|
||||
$(DL_FILE)_MD5 = cae6af140de3e5c44fe6829257b34064
|
||||
rpi-patches-$(RPI_PATCHES).patch.xz_MD5 = a02a7fd54c642c1e3578a00ed22f54f8
|
||||
arm7-multi-patches-$(A7M_PATCHES).patch.xz_MD5 = 6c3b11e51caa278dbeacd1e23c2b171b
|
||||
|
||||
install : $(TARGET)
|
||||
@@ -167,13 +163,6 @@ ifeq "$(KCFG)" "-multi"
|
||||
cd $(DIR_APP) && install -v -m644 include/uapi/linux/switch.h /usr/include/linux/
|
||||
|
||||
endif
|
||||
|
||||
ifeq "$(KCFG)" "-rpi"
|
||||
# Apply Raspberry Pi kernel patches.
|
||||
cd $(DIR_APP) && xzcat $(DIR_DL)/rpi-patches-$(RPI_PATCHES).patch.xz | patch -Np1
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-3.14.79-rpi-suspend-not-inline.patch
|
||||
endif
|
||||
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-3.14.79-amba-fix.patch
|
||||
|
||||
ifeq "$(KCFG)" "-headers"
|
||||
@@ -203,16 +192,10 @@ ifeq "$(KCFG)" "-multi"
|
||||
cd $(DIR_APP) && make $(MAKETUNING) zImage modules
|
||||
cd $(DIR_APP) && cp -v arch/arm/boot/zImage /boot/vmlinuz-$(VER)-$(VERSUFIX)
|
||||
cd $(DIR_APP) && cp -v arch/arm/boot/zImage /boot/zImage-$(VERSUFIX)
|
||||
else
|
||||
ifeq "$(KCFG)" "-rpi"
|
||||
cd $(DIR_APP) && make $(MAKETUNING) zImage modules
|
||||
cd $(DIR_APP) && cp -v arch/arm/boot/zImage /boot/vmlinuz-$(VER)-$(VERSUFIX)
|
||||
cd $(DIR_APP) && cp -v arch/arm/boot/zImage /boot/kernel.img
|
||||
else
|
||||
cd $(DIR_APP) && make $(MAKETUNING) bzImage modules
|
||||
cd $(DIR_APP) && cp -v arch/$(KERNEL_ARCH)/boot/bzImage /boot/vmlinuz-$(VER)-$(VERSUFIX)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
cd $(DIR_APP) && cp -v System.map /boot/System.map-$(VER)-$(VERSUFIX)
|
||||
|
||||
6
make.sh
6
make.sh
@@ -1096,12 +1096,6 @@ buildipfire() {
|
||||
;;
|
||||
|
||||
armv5tel)
|
||||
# arm-rpi (Raspberry Pi) kernel build
|
||||
lfsmake2 linux KCFG="-rpi"
|
||||
lfsmake2 backports KCFG="-rpi"
|
||||
lfsmake2 xtables-addons KCFG="-rpi"
|
||||
lfsmake2 linux-initrd KCFG="-rpi"
|
||||
|
||||
# arm multi platform (Panda, Wandboard ...) kernel build
|
||||
lfsmake2 linux KCFG="-multi"
|
||||
lfsmake2 backports KCFG="-multi"
|
||||
|
||||
Reference in New Issue
Block a user