File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
scripts/BuildScripts/KernelScripts Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ kernel_image_package_install: kernel_image_package
78
78
79
79
.PHONY : kernel_config
80
80
kernel_config : $(KERNEL_PATCHED )
81
- $(PRAWNOS_KERNEL_SCRIPTS_MENUCONFIG ) $(KERNEL_RESOURCES ) $(PRAWNOS_KERNEL_BUILD ) $(TARGET )
81
+ $(PRAWNOS_KERNEL_SCRIPTS_MENUCONFIG ) $(KERNEL_RESOURCES ) $(PRAWNOS_KERNEL_BUILD ) $(TARGET ) $( KERNEL_CONFIG )
82
82
83
83
# ## CLEAN RULES
84
84
Original file line number Diff line number Diff line change 37
37
echo " No TARGET supplied"
38
38
exit 1
39
39
fi
40
+ if [ -z " $4 " ]
41
+ then
42
+ echo " No kernel config supplied"
43
+ exit 1
44
+ fi
40
45
41
46
RESOURCES=$1
42
47
BUILD_DIR=$2
43
48
TARGET=$3
49
+ CONFIG=$4
44
50
45
51
ARCH_ARMHF=armhf
46
52
ARCH_ARM64=arm64
58
64
echo " no valid target arch specified"
59
65
fi
60
66
61
- cp $RESOURCES /config .config
67
+ cp $CONFIG .config
62
68
make menuconfig ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILER .config
63
- cp .config $RESOURCES /config
69
+ cp .config $CONFIG
You can’t perform that action at this time.
0 commit comments