Skip to contentSkip to conversation

Normalize separator size to 80 in remaining makefiles

PATCH New Alexandre Belloni 3 participants 3 messages Jun 7, 2013 – Jun 20, 2013 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Normalize separator size to 80 in remaining makefiles

---

Changes in v2:
- fixed Makefile and package/Makefile.in

 Makefile                             | 20 ++++++++++----------
 fs/iso9660/iso9660.mk                |  4 ++--
 linux/linux-ext-rtai.mk              |  4 ++--
 linux/linux-ext-xenomai.mk           |  4 ++--
 linux/linux.mk                       |  4 ++--
 package/Makefile.in                  |  4 ++--
 support/dependencies/dependencies.mk |  8 ++++----
 toolchain/gcc/gcc-uclibc-4.x.mk      | 20 ++++++++++----------
 toolchain/uClibc/uclibc.mk           |  4 ++--
 9 files changed, 36 insertions(+), 36 deletions(-)
Makefile +10 -10
index d7437a7..a023a79 100644
@@ -193,11 +193,11 @@ BUILD_DIR:=$(BASE_DIR)/build
 
 ifeq ($(BR2_HAVE_DOT_CONFIG),y)
 
-#############################################################
+################################################################################
 #
 # Hide troublesome environment variables from sub processes
 #
-#############################################################
+################################################################################
 unexport CROSS_COMPILE
 unexport ARCH
 unexport CC
@@ -212,12 +212,12 @@ unexport TERMINFO
 
 GNU_HOST_NAME:=$(shell support/gnuconfig/config.guess)
 
-##############################################################
+################################################################################
 #
 # The list of stuff to build for the target toolchain
 # along with the packages to build for the target.
 #
-##############################################################
+################################################################################
 
 ifeq ($(BR2_CCACHE),y)
 BASE_TARGETS += host-ccache
@@ -296,12 +296,12 @@ export HOST_DIR
 export BINARIES_DIR
 export BASE_DIR
 
-#############################################################
+################################################################################
 #
 # You should probably leave this stuff alone unless you know
 # what you are doing.
 #
-#############################################################
+################################################################################
 
 all: world
 
@@ -408,12 +408,12 @@ world: toolchain $(TARGETS_ALL)
 	$(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
 	$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
 
-#############################################################
+################################################################################
 #
 # staging and target directories do NOT list these as
 # dependencies anywhere else
 #
-#############################################################
+################################################################################
 $(TOOLCHAIN_DIR) $(BUILD_DIR) $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR):
 	@mkdir -p $@
 
@@ -716,11 +716,11 @@ source-check:
 
 .PHONY: defconfig savedefconfig
 
-#############################################################
+################################################################################
 #
 # Cleanup and misc junk
 #
-#############################################################
+################################################################################
 
 # outputmakefile generates a Makefile in the output directory, if using a
 # separate output directory. This allows convenient use of make in the
fs/iso9660/iso9660.mk +2 -2
index 0a10512..36e6388 100644
@@ -36,11 +36,11 @@ $(BINARIES_DIR)/rootfs.iso9660: host-cdrkit host-fakeroot linux rootfs-cpio grub
 
 rootfs-iso9660: $(BINARIES_DIR)/rootfs.iso9660
 
-#############################################################
+################################################################################
 #
 # Toplevel Makefile options
 #
-#############################################################
+################################################################################
 ifeq ($(BR2_TARGET_ROOTFS_ISO9660),y)
 TARGETS+=rootfs-iso9660
 endif
linux/linux-ext-rtai.mk +2 -2
index 78488af..dcfab49 100644
@@ -1,8 +1,8 @@
-##################################################
+################################################################################
 # Linux RTAI extensions
 #
 # Patch the linux kernel with RTAI extension
-##################################################
+################################################################################
 
 ifeq ($(BR2_LINUX_KERNEL_EXT_RTAI),y)
 # Add dependency to RTAI (user-space) which provide kernel patches
linux/linux-ext-xenomai.mk +2 -2
index 9b6772e..115d4a8 100644
@@ -1,8 +1,8 @@
-##################################################
+################################################################################
 # Linux Adeos/Xenomai extensions
 #
 # Patch the linux kernel with xenomai extension
-##################################################
+################################################################################
 
 ifeq ($(BR2_LINUX_KERNEL_EXT_XENOMAI),y)
 # Add dependency to xenomai (user-space) which provide ksrc part
linux/linux.mk +2 -2
index 57956dd..befef16 100644
@@ -1,8 +1,8 @@
-###############################################################################
+################################################################################
 #
 # Linux kernel target
 #
-###############################################################################
+################################################################################
 
 LINUX_VERSION=$(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
 LINUX_LICENSE = GPLv2
package/Makefile.in +2 -2
index 9ba6e8c..6835de3 100644
@@ -258,7 +258,7 @@ HOST_MAKE_ENV=PATH=$(HOST_PATH) \
 		PERLLIB="$(HOST_DIR)/usr/lib/perl"
 
 
-#######################################################################
+################################################################################
 # settings we need to pass to configure
 
 # does unaligned access trap?
@@ -294,7 +294,7 @@ TARGET_CONFIGURE_ARGS= \
 	lt_cv_sys_lib_search_path_spec="" \
 	$(BR2_AC_CV_C_BIGENDIAN)
 
-#######################################################################
+################################################################################
 
 ifeq ($(BR2_ENABLE_LOCALE),y)
 DISABLE_NLS:=
support/dependencies/dependencies.mk +4 -4
index ebe743a..c93dcb4 100644
@@ -1,9 +1,9 @@
-######################################################################
+################################################################################
 #
 # Check buildroot dependencies and bail out if the user's
 # system is judged to be lacking....
 #
-######################################################################
+################################################################################
 
 DEPENDENCIES_HOST_PREREQ:=
 
@@ -35,10 +35,10 @@ dependencies-clean:
 dependencies-dirclean:
 	true
 
-#############################################################
+################################################################################
 #
 # Toplevel Makefile options
 #
-#############################################################
+################################################################################
 .PHONY: dependencies core-dependencies
 
toolchain/gcc/gcc-uclibc-4.x.mk +10 -10
index 7ebcbac..92361e5 100644
@@ -133,11 +133,11 @@ EXTRA_GCC_CONFIG_OPTIONS += \
 EXTRA_TARGET_GCC_CONFIG_OPTIONS += \
 	$(call qstrip,$(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS))
 
-#############################################################
+################################################################################
 #
 # Setup some initial stuff
 #
-#############################################################
+################################################################################
 
 GCC_STAGING_PREREQ+=$(STAGING_DIR)/usr/lib/libc.a
 
@@ -260,11 +260,11 @@ endif
 endif
 	touch $@
 
-#############################################################
+################################################################################
 #
 # build the first pass gcc compiler
 #
-#############################################################
+################################################################################
 GCC_BUILD_DIR1:=$(TOOLCHAIN_DIR)/gcc-$(GCC_VERSION)-initial
 
 $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
@@ -327,11 +327,11 @@ gcc_initial-clean:
 gcc_initial-dirclean:
 	rm -rf $(GCC_BUILD_DIR1) $(GCC_DIR)
 
-#############################################################
+################################################################################
 #
 # build the second pass gcc compiler
 #
-#############################################################
+################################################################################
 GCC_BUILD_DIR2:=$(TOOLCHAIN_DIR)/gcc-$(GCC_VERSION)-intermediate
 
 # The --without-headers option stopped working with gcc 3.0 and has never been
@@ -403,12 +403,12 @@ gcc_intermediate-clean:
 gcc_intermediate-dirclean:
 	rm -rf $(GCC_BUILD_DIR2) $(GCC_DIR)
 
-#############################################################
+################################################################################
 #
 # third pass compiler build. Build the compiler targeting
 # the newly built shared uClibc library.
 #
-#############################################################
+################################################################################
 #
 # Sigh... I had to rework things because using --with-gxx-include-dir
 # causes issues with include dir search order for g++. This seems to
@@ -538,11 +538,11 @@ gcc-clean:
 gcc-dirclean: gcc_initial-dirclean
 	rm -rf $(GCC_BUILD_DIR3)
 
-#############################################################
+################################################################################
 #
 # Next build target gcc compiler
 #
-#############################################################
+################################################################################
 GCC_BUILD_DIR4:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
 $(GCC_BUILD_DIR4)/.prepared: $(STAMP_DIR)/gcc_libs_target_installed
toolchain/uClibc/uclibc.mk +2 -2
index 44079e7..da1830f 100644
@@ -576,12 +576,12 @@ uclibc-test-clean:
 uclibc-test-dirclean:
 	rm -rf $(TARGET_DIR)/root/uClibc
 
-#############################################################
+################################################################################
 #
 # uClibc for the target just needs its header files
 # and whatnot installed.
 #
-#############################################################
+################################################################################
 
 $(TARGET_DIR)/usr/lib/libc.a: $(STAGING_DIR)/usr/lib/libc.a
 	$(Q)$(call MESSAGE,"Installing uClibc development files to target dir")
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH v2 1/1 Normalize separator size to 80 in remaining makefiles

W dniu 07.06.2013 12:13, Alexandre Belloni pisze:
Hi Alexandre,

Please, add the header to dsp-tools.mk .

Regards,
Jerzy

Quoted 302 lines

---

Changes in v2:
- fixed Makefile and package/Makefile.in

  Makefile                             | 20 ++++++++++----------
  fs/iso9660/iso9660.mk                |  4 ++--
  linux/linux-ext-rtai.mk              |  4 ++--
  linux/linux-ext-xenomai.mk           |  4 ++--
  linux/linux.mk                       |  4 ++--
  package/Makefile.in                  |  4 ++--
  support/dependencies/dependencies.mk |  8 ++++----
  toolchain/gcc/gcc-uclibc-4.x.mk      | 20 ++++++++++----------
  toolchain/uClibc/uclibc.mk           |  4 ++--
  9 files changed, 36 insertions(+), 36 deletions(-)
Makefile +10 -10
index d7437a7..a023a79 100644
@@ -193,11 +193,11 @@ BUILD_DIR:=$(BASE_DIR)/build
 
  ifeq ($(BR2_HAVE_DOT_CONFIG),y)
 
-#############################################################
+################################################################################
  #
  # Hide troublesome environment variables from sub processes
  #
-#############################################################
+################################################################################
  unexport CROSS_COMPILE
  unexport ARCH
  unexport CC
@@ -212,12 +212,12 @@ unexport TERMINFO
 
  GNU_HOST_NAME:=$(shell support/gnuconfig/config.guess)
 
-##############################################################
+################################################################################
  #
  # The list of stuff to build for the target toolchain
  # along with the packages to build for the target.
  #
-##############################################################
+################################################################################
 
  ifeq ($(BR2_CCACHE),y)
  BASE_TARGETS += host-ccache
@@ -296,12 +296,12 @@ export HOST_DIR
  export BINARIES_DIR
  export BASE_DIR
 
-#############################################################
+################################################################################
  #
  # You should probably leave this stuff alone unless you know
  # what you are doing.
  #
-#############################################################
+################################################################################
 
  all: world
 
@@ -408,12 +408,12 @@ world: toolchain $(TARGETS_ALL)
  	$(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
  	$(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
 
-#############################################################
+################################################################################
  #
  # staging and target directories do NOT list these as
  # dependencies anywhere else
  #
-#############################################################
+################################################################################
  $(TOOLCHAIN_DIR) $(BUILD_DIR) $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR):
  	@mkdir -p $@
 
@@ -716,11 +716,11 @@ source-check:
 
  .PHONY: defconfig savedefconfig
 
-#############################################################
+################################################################################
  #
  # Cleanup and misc junk
  #
-#############################################################
+################################################################################
 
  # outputmakefile generates a Makefile in the output directory, if using a
  # separate output directory. This allows convenient use of make in the
fs/iso9660/iso9660.mk +2 -2
index 0a10512..36e6388 100644
@@ -36,11 +36,11 @@ $(BINARIES_DIR)/rootfs.iso9660: host-cdrkit host-fakeroot linux rootfs-cpio grub
 
  rootfs-iso9660: $(BINARIES_DIR)/rootfs.iso9660
 
-#############################################################
+################################################################################
  #
  # Toplevel Makefile options
  #
-#############################################################
+################################################################################
  ifeq ($(BR2_TARGET_ROOTFS_ISO9660),y)
  TARGETS+=rootfs-iso9660
  endif
linux/linux-ext-rtai.mk +2 -2
index 78488af..dcfab49 100644
@@ -1,8 +1,8 @@
-##################################################
+################################################################################
  # Linux RTAI extensions
  #
  # Patch the linux kernel with RTAI extension
-##################################################
+################################################################################
 
  ifeq ($(BR2_LINUX_KERNEL_EXT_RTAI),y)
  # Add dependency to RTAI (user-space) which provide kernel patches
linux/linux-ext-xenomai.mk +2 -2
index 9b6772e..115d4a8 100644
@@ -1,8 +1,8 @@
-##################################################
+################################################################################
  # Linux Adeos/Xenomai extensions
  #
  # Patch the linux kernel with xenomai extension
-##################################################
+################################################################################
 
  ifeq ($(BR2_LINUX_KERNEL_EXT_XENOMAI),y)
  # Add dependency to xenomai (user-space) which provide ksrc part
linux/linux.mk +2 -2
index 57956dd..befef16 100644
@@ -1,8 +1,8 @@
-###############################################################################
+################################################################################
  #
  # Linux kernel target
  #
-###############################################################################
+################################################################################
 
  LINUX_VERSION=$(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
  LINUX_LICENSE = GPLv2
package/Makefile.in +2 -2
index 9ba6e8c..6835de3 100644
@@ -258,7 +258,7 @@ HOST_MAKE_ENV=PATH=$(HOST_PATH) \
  		PERLLIB="$(HOST_DIR)/usr/lib/perl"
 
 
-#######################################################################
+################################################################################
  # settings we need to pass to configure
 
  # does unaligned access trap?
@@ -294,7 +294,7 @@ TARGET_CONFIGURE_ARGS= \
  	lt_cv_sys_lib_search_path_spec="" \
  	$(BR2_AC_CV_C_BIGENDIAN)
 
-#######################################################################
+################################################################################
 
  ifeq ($(BR2_ENABLE_LOCALE),y)
  DISABLE_NLS:=
support/dependencies/dependencies.mk +4 -4
index ebe743a..c93dcb4 100644
@@ -1,9 +1,9 @@
-######################################################################
+################################################################################
  #
  # Check buildroot dependencies and bail out if the user's
  # system is judged to be lacking....
  #
-######################################################################
+################################################################################
 
  DEPENDENCIES_HOST_PREREQ:=
 
@@ -35,10 +35,10 @@ dependencies-clean:
  dependencies-dirclean:
  	true
 
-#############################################################
+################################################################################
  #
  # Toplevel Makefile options
  #
-#############################################################
+################################################################################
  .PHONY: dependencies core-dependencies
 
toolchain/gcc/gcc-uclibc-4.x.mk +10 -10
index 7ebcbac..92361e5 100644
@@ -133,11 +133,11 @@ EXTRA_GCC_CONFIG_OPTIONS += \
  EXTRA_TARGET_GCC_CONFIG_OPTIONS += \
  	$(call qstrip,$(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS))
 
-#############################################################
+################################################################################
  #
  # Setup some initial stuff
  #
-#############################################################
+################################################################################
 
  GCC_STAGING_PREREQ+=$(STAGING_DIR)/usr/lib/libc.a
 
@@ -260,11 +260,11 @@ endif
  endif
  	touch $@
 
-#############################################################
+################################################################################
  #
  # build the first pass gcc compiler
  #
-#############################################################
+################################################################################
  GCC_BUILD_DIR1:=$(TOOLCHAIN_DIR)/gcc-$(GCC_VERSION)-initial
 
  $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
@@ -327,11 +327,11 @@ gcc_initial-clean:
  gcc_initial-dirclean:
  	rm -rf $(GCC_BUILD_DIR1) $(GCC_DIR)
 
-#############################################################
+################################################################################
  #
  # build the second pass gcc compiler
  #
-#############################################################
+################################################################################
  GCC_BUILD_DIR2:=$(TOOLCHAIN_DIR)/gcc-$(GCC_VERSION)-intermediate
 
  # The --without-headers option stopped working with gcc 3.0 and has never been
@@ -403,12 +403,12 @@ gcc_intermediate-clean:
  gcc_intermediate-dirclean:
  	rm -rf $(GCC_BUILD_DIR2) $(GCC_DIR)
 
-#############################################################
+################################################################################
  #
  # third pass compiler build. Build the compiler targeting
  # the newly built shared uClibc library.
  #
-#############################################################
+################################################################################
  #
  # Sigh... I had to rework things because using --with-gxx-include-dir
  # causes issues with include dir search order for g++. This seems to
@@ -538,11 +538,11 @@ gcc-clean:
  gcc-dirclean: gcc_initial-dirclean
  	rm -rf $(GCC_BUILD_DIR3)
 
-#############################################################
+################################################################################
  #
  # Next build target gcc compiler
  #
-#############################################################
+################################################################################
  GCC_BUILD_DIR4:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
  $(GCC_BUILD_DIR4)/.prepared: $(STAMP_DIR)/gcc_libs_target_installed
toolchain/uClibc/uclibc.mk +2 -2
index 44079e7..da1830f 100644
@@ -576,12 +576,12 @@ uclibc-test-clean:
  uclibc-test-dirclean:
  	rm -rf $(TARGET_DIR)/root/uClibc
 
-#############################################################
+################################################################################
  #
  # uClibc for the target just needs its header files
  # and whatnot installed.
  #
-#############################################################
+################################################################################
 
  $(TARGET_DIR)/usr/lib/libc.a: $(STAGING_DIR)/usr/lib/libc.a
  	$(Q)$(call MESSAGE,"Installing uClibc development files to target dir")