summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/Makefile.ds
diff options
context:
space:
mode:
authorSrikant Patnaik2015-01-11 12:28:04 +0530
committerSrikant Patnaik2015-01-11 12:28:04 +0530
commit871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch)
tree8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/Makefile.ds
parent9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff)
downloadFOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz
FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2
FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/Makefile.ds')
-rwxr-xr-xANDROID_3.4.5/Makefile.ds45
1 files changed, 0 insertions, 45 deletions
diff --git a/ANDROID_3.4.5/Makefile.ds b/ANDROID_3.4.5/Makefile.ds
deleted file mode 100755
index d20e8ef9..00000000
--- a/ANDROID_3.4.5/Makefile.ds
+++ /dev/null
@@ -1,45 +0,0 @@
-# Build Linux Kernel
-PROCESSING_ROOT =..
-KERNEL_ID =Kernel_3.4.5_WM8880
-KERNEL_NAME =ANDROID_3.4.5
-KERNEL_CONFIG_NAME =Android
-MAKE_J =-j4
-MAJOR_CORE_NAME =WM8880
-MINOR_CORE_NAME =
-CORENAME_DATETIME =$(MAJOR_CORE_NAME).`date +%y%m%d.%H%M`
-CROSS_COMPILE =arm_1103_le-
-
-###### Build BSP usage
-DST_ROOT =$(PROCESSING_ROOT)/$(KERNEL_NAME)-DS
-DST_SRC =$(DST_ROOT)/$(KERNEL_NAME)
-
-kernel-ds:
- @echo -e "\033[1;31m====== Build Linux Kernel for $@ ======\033[0m"
- rm $(DST_ROOT) -rf
- mkdir -p $(DST_SRC)
- cp . $(DST_SRC)/ -arf
- mv $(DST_SRC)/Makefile.$(KERNEL_ID)-DS $(DST_ROOT)/Makefile
- make -f Makefile.$(KERNEL_ID) create_driver_obj_folder
- make -f Makefile.$(KERNEL_ID) remove_driver_src
- make -f Makefile.$(KERNEL_ID) cp_objs_to_kernel_bsp
-
-### verification
- find $(DST_ROOT) -name "built-in.o" -exec rm -rf {} \;
- find $(DST_SRC) -name ".*.o.cmd" -exec rm -rf {} \;
- @echo -e "\033[0m"
- make -C $(DST_ROOT) clean CROSS_COMPILE=$(CROSS_COMPILE)
- make -C $(DST_SRC) $(KERNEL_CONFIG_NAME)_defconfig
- make -C $(DST_ROOT) ubin CROSS_COMPILE=$(CROSS_COMPILE) $(MAKE_J)
- make -C $(DST_ROOT) modules CROSS_COMPILE=$(CROSS_COMPILE) $(MAKE_J)
-
- cd $(DST_ROOT) && make clean && cd -
- rm -rf $(DST_SRC)/Makefile.$(KERNEL_ID)
- mv $(DST_SRC)/modules_release_bsp.sh $(DST_SRC)/modules_release.sh
- rm -rf $(DST_ROOT)/.module
- ./check_svn.sh $(DST_SRC)
- find $(DST_SRC) -name .svn | xargs rm -rf
- rm -f $(DST_SRC)/check_svn.sh
- rm -rf $(PROCESSING_ROOT)/KERNEL-DS_$(KERNEL_NAME)_*.tgz
- tar zcf $(PROCESSING_ROOT)/KERNEL-DS_$(KERNEL_NAME)_$(CORENAME_DATETIME).tgz -C $(PROCESSING_ROOT)/ $(KERNEL_NAME)-DS
- @echo -e "\033[1;32m====== Build Linux Kernel for $@ Done ======\033[0m"
-