|
|
@ -1,7 +1,7 @@
|
|
|
|
#!/bin/bash
|
|
|
|
#!/bin/bash
|
|
|
|
# Genkernel v3
|
|
|
|
# Genkernel v3
|
|
|
|
|
|
|
|
|
|
|
|
GK_V='3.2.0_pre9'
|
|
|
|
GK_V='3.2.0_pre10'
|
|
|
|
TEMP='/var/tmp/genkernel'
|
|
|
|
TEMP='/var/tmp/genkernel'
|
|
|
|
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.
|
|
|
|
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.
|
|
|
|
|
|
|
|
|
|
|
@ -65,6 +65,14 @@ get_official_arch
|
|
|
|
source ${ARCH_CONFIG} || gen_die "Could not read ${ARCH_CONFIG}"
|
|
|
|
source ${ARCH_CONFIG} || gen_die "Could not read ${ARCH_CONFIG}"
|
|
|
|
source ${GK_SHARE}/${ARCH}/modules_load || gen_die "Could not read ${GK_SHARE}/${ARCH}/modules_load"
|
|
|
|
source ${GK_SHARE}/${ARCH}/modules_load || gen_die "Could not read ${GK_SHARE}/${ARCH}/modules_load"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Merge modules_load from config
|
|
|
|
|
|
|
|
for group_modules in ${!AMODULES_*}; do
|
|
|
|
|
|
|
|
group="$(echo $group_modules | cut -d_ -f2)"
|
|
|
|
|
|
|
|
eval cmodules="\$$group_modules"
|
|
|
|
|
|
|
|
eval MODULES_${group}=\"\${MODULES_${group}} ${cmodules}\"
|
|
|
|
|
|
|
|
print_info 1 "<config> Merged AMODULES_${group}:'${cmodules}' into MODULES_${group}"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
[ ! -f "${TEMP}" ] && mkdir -p "${TEMP}"
|
|
|
|
[ ! -f "${TEMP}" ] && mkdir -p "${TEMP}"
|
|
|
|
[ ! -f "${CACHE_DIR}" ] && mkdir -p "${CACHE_DIR}"
|
|
|
|
[ ! -f "${CACHE_DIR}" ] && mkdir -p "${CACHE_DIR}"
|
|
|
|
|
|
|
|
|
|
|
|