module.order
.pc
code-metrics.txt
-compat_base_tree
-compat_base_tree_version
-compat_version
+.compat_base_tree
+.compat_base_tree_version
+.compat_version
.compat_autoconf_compat-*
.config
.config.mk_md5sum.txt
endif
export CFLAGS += \
- -DCOMPAT_BASE_TREE="\"$(shell cat $(PWD)/compat_base_tree)\"" \
- -DCOMPAT_BASE_TREE_VERSION="\"$(shell cat $(PWD)/compat_base_tree_version)\"" \
+ -DCOMPAT_BASE_TREE="\"$(shell cat $(PWD)/.compat_base_tree)\"" \
+ -DCOMPAT_BASE_TREE_VERSION="\"$(shell cat $(PWD)/.compat_base_tree_version)\"" \
-DCOMPAT_PROJECT="\"Compat-wireless\"" \
- -DCOMPAT_VERSION="\"$(shell cat $(PWD)/compat_version)\""
+ -DCOMPAT_VERSION="\"$(shell cat $(PWD)/.compat_version)\""
# These exported as they are used by the scripts
# to check config and compat autoconf
export COMPAT_CONFIG=$(PWD)/.config
export CONFIG_CHECK=$(PWD)/.config.mk_md5sum.txt
export COMPAT_AUTOCONF=include/linux/compat_autoconf.h
-export CREL=$(shell cat $(PWD)/compat_version)
+export CREL=$(shell cat $(PWD)/.compat_version)
export CREL_PRE:=.compat_autoconf_
export CREL_CHECK:=$(PWD)/$(CREL_PRE)$(CREL)
# Update this if you are adding support for older kernels.
-OLDEST_KERNEL_SUPPORTED="2.6.24"
+OLDEST_KERNEL_SUPPORTED="2.6.21"
- COMPAT_RELEASE="compat_version"
- KERNEL_RELEASE="compat_base_tree_version"
+ COMPAT_RELEASE=".compat_version"
+ KERNEL_RELEASE=".compat_base_tree_version"
MULT_DEP_FILE=".compat_pivot_dep"
# Update this if you are adding support for older kernels.
-OLDEST_KERNEL_SUPPORTED="2.6.24"
+OLDEST_KERNEL_SUPPORTED="2.6.22"
- COMPAT_RELEASE="compat_version"
- KERNEL_RELEASE="compat_base_tree_version"
+ COMPAT_RELEASE=".compat_version"
+ KERNEL_RELEASE=".compat_base_tree_version"
MULT_DEP_FILE=".compat_pivot_dep"
# Update this if you are adding support for older kernels.
-OLDEST_KERNEL_SUPPORTED="2.6.24"
+OLDEST_KERNEL_SUPPORTED="2.6.23"
- COMPAT_RELEASE="compat_version"
- KERNEL_RELEASE="compat_base_tree_version"
+ COMPAT_RELEASE=".compat_version"
+ KERNEL_RELEASE=".compat_base_tree_version"
MULT_DEP_FILE=".compat_pivot_dep"
rm -rf compat
rm -rf udev
rm -f master-tag
-rm -f compat_base_tree
-rm -f compat_base_tree_version
-rm -f compat_version
+rm -f .compat_base_tree
+rm -f .compat_base_tree_version
+rm -f .compat_version
rm -f code-metrics.txt
echo "Cleaned wireless-bt-compat-2.6"
cd $DIR
if [ -d ./.git ]; then
if [[ ${POSTFIX_RELEASE_TAG} != "" ]]; then
- echo -e "$(git describe)-${POSTFIX_RELEASE_TAG}" > compat_version
+ echo -e "$(git describe)-${POSTFIX_RELEASE_TAG}" > .compat_version
else
- echo -e "$(git describe)" > compat_version
+ echo -e "$(git describe)" > .compat_version
fi
cd $GIT_TREE
TREE_NAME=${GIT_REMOTE_URL##*/}
- echo $TREE_NAME > $DIR/compat_base_tree
- echo $GIT_DESCRIBE > $DIR/compat_base_tree_version
+ echo $TREE_NAME > $DIR/.compat_base_tree
+ echo $GIT_DESCRIBE > $DIR/.compat_base_tree_version
case $TREE_NAME in
"wireless-testing.git") # John's wireless-testing
- # We override the compat_base_tree_version for wireless-testing
+ # We override the .compat_base_tree_version for wireless-testing
# as john keeps the Linus' tags and does not write a tag for his
# tree himself so git describe would yield a v2.6.3x.y-etc but
# what is more useful is just the wireless-testing master tag
MASTER_TAG=$(git tag -l| grep master | tail -1)
- echo $MASTER_TAG > $DIR/compat_base_tree_version
+ echo $MASTER_TAG > $DIR/.compat_base_tree_version
echo -e "This is a ${RED}wireless-testing.git${NORMAL} compat-wireless release"
;;
"linux-next.git") # The linux-next integration testing tree
esac
cd $DIR
- echo -e "\nBase tree: ${GREEN}$(cat compat_base_tree)${NORMAL}" >> $CODE_METRICS
- echo -e "Base tree version: ${PURPLE}$(cat compat_base_tree_version)${NORMAL}" >> $CODE_METRICS
- echo -e "compat-wireless release: ${YELLOW}$(cat compat_version)${NORMAL}" >> $CODE_METRICS
+ echo -e "\nBase tree: ${GREEN}$(cat .compat_base_tree)${NORMAL}" >> $CODE_METRICS
+ echo -e "Base tree version: ${PURPLE}$(cat .compat_base_tree_version)${NORMAL}" >> $CODE_METRICS
+ echo -e "compat-wireless release: ${YELLOW}$(cat .compat_version)${NORMAL}" >> $CODE_METRICS
fi
exit
fi
-if [ ! -f compat_version ]; then
+if [ ! -f .compat_version ]; then
echo "Must run $0 from the compat-wireless top level directory"
exit
fi
# This indicates which is the oldest kernel we support
# Update this if you are adding support for older kernels.
OLDEST_KERNEL_SUPPORTED="2.6.24"
-COMPAT_RELEASE="compat_version"
-KERNEL_RELEASE="compat_base_tree_version"
+COMPAT_RELEASE=".compat_version"
+KERNEL_RELEASE=".compat_base_tree_version"
MULT_DEP_FILE=".compat_pivot_dep"
if [ $# -ne 2 ]; then
# udev/
# include/
# scripts/
-# compat_base_tree
-# compat_base_tree_version
-# compat_version
+# .compat_base_tree
+# .compat_base_tree_version
+# .compat_version
# config.mk
#
# An example git tree for standalone development will be provided later.
COPY="$COPY scripts/gen-compat-autoconf.sh"
COPY="$COPY scripts/modlib.sh"
COPY="$COPY scripts/update-initramfs"
-COPY="$COPY compat_base_tree"
-COPY="$COPY compat_base_tree_version"
-COPY="$COPY compat_version"
+COPY="$COPY .compat_base_tree"
+COPY="$COPY .compat_base_tree_version"
+COPY="$COPY .compat_version"
COPY="$COPY config.mk"
COPY="$COPY $EXTRA_COPY"
cp -f ${COMPAT_SRC}/${REFRESH_LOCAL} ${REFRESH_TARGET}
-if [[ ! -f compat_base_tree_version ]]; then
+if [[ ! -f .compat_base_tree_version ]]; then
echo -e "Failed at copying files over..."
exit 1
fi
echo
-echo -e "Synched with ${CYAN}$(cat compat_version)${NORMAL}"
+echo -e "Synched with ${CYAN}$(cat .compat_version)${NORMAL}"