Skip to contentSkip to conversation

svn commit: trunk/buildroot: package package/hal package/udev package etc...

Buildroot aldot at uclibc.org 1 participant 1 message Aug 22, 2007 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2007-08-22 04:47:22 -0700 (Wed, 22 Aug 2007) New Revision: 19644

Log:
- random whitespace cleanup

Modified:
trunk/buildroot/package/Makefile.in trunk/buildroot/package/hal/hal.mk trunk/buildroot/package/udev/udev.mk trunk/buildroot/package/vpnc/vpnc.mk trunk/buildroot/target/device/Atmel/DataFlashBoot/DataflashBoot.mk trunk/buildroot/target/device/Atmel/Makefile.in trunk/buildroot/target/device/Atmel/at91bootstrap/at91bootstrap.mk trunk/buildroot/target/device/Atmel/u-boot/u-boot.mk trunk/buildroot/target/linux/Makefile.in trunk/buildroot/toolchain/external-toolchain/ext-tool.mk

Changeset:
Modified: trunk/buildroot/package/Makefile.in
===================================================================

buildroot/package/Makefile.in +1 -1
@@ -1,4 +1,4 @@
-ifndef	MAKE
+ifndef MAKE
 MAKE:=make
 endif
 ifndef HOSTMAKE

Modified: trunk/buildroot/package/hal/hal.mk
===================================================================

buildroot/package/hal/hal.mk +10 -9
@@ -13,7 +13,7 @@
 
 GLIB_CFLAGS:=-I$(STAGING_DIR)/usr/include/glib-2.0 \
 	     -I$(STAGING_DIR)/lib/glib/include
-GLIB_LIBS:=$(STAGING_DIR)/lib/libglib-2.0.so	\
+GLIB_LIBS:=$(STAGING_DIR)/lib/libglib-2.0.so \
 	   $(STAGING_DIR)/lib/libgmodule-2.0.so \
 	   $(STAGING_DIR)/lib/libgobject-2.0.so \
 	   $(STAGING_DIR)/lib/libgthread-2.0.so
@@ -77,14 +77,15 @@
 	rm -rf $(TARGET_DIR)/etc/PolicyKit
 	$(INSTALL) -m 0755 -D package/hal/S98haldaemon $(TARGET_DIR)/etc/init.d
 	rm -rf $(TARGET_DIR)/etc/rc.d
-	for file in hald-addon-acpi* hald-addon-cpufreq		\
-		    hald-addon-keyboard hald-addon-pmu		\
-		    hald-probe-pc-floppy hald-probe-printer	\
-		    hald-probe-serial hald-probe-smbios		\
-		    hal-storage-eject hal-storage-closetray	\
-		    hal-system-power-pmu hald-probe-input	\
-		    hald-probe-hiddev hald-addon-hid-ups; do	\
-		rm -f $(TARGET_DIR)/usr/libexec/$$file;		\
+	for file in hald-addon-acpi* hald-addon-cpufreq \
+		hald-addon-keyboard hald-addon-pmu \
+		hald-probe-pc-floppy hald-probe-printer \
+		hald-probe-serial hald-probe-smbios \
+		hal-storage-eject hal-storage-closetray \
+		hal-system-power-pmu hald-probe-input \
+		hald-probe-hiddev hald-addon-hid-ups; \
+	do \
+		rm -f $(TARGET_DIR)/usr/libexec/$$file; \
 	done
 	-$(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libhal*
 

Modified: trunk/buildroot/package/udev/udev.mk
===================================================================

buildroot/package/udev/udev.mk +5 -5
@@ -92,11 +92,11 @@
 	-ln -sf libvolume_id.so.$(UDEV_VOLUME_ID_VERSION) $(STAGING_DIR)/usr/lib/libvolume_id.so
 
 $(STAGING_DIR)/usr/lib/libvolume_id.la: $(STAGING_DIR)/usr/lib/libvolume_id.so.$(UDEV_VOLUME_ID_VERSION)
-	$(INSTALL) -m 0755 -D package/udev/libvolume_id.la.tmpl		$(STAGING_DIR)/usr/lib/libvolume_id.la
-	$(SED) 's/REPLACE_CURRENT/$(UDEV_VOLUME_ID_CURRENT)/g'		$(STAGING_DIR)/usr/lib/libvolume_id.la
-	$(SED) 's/REPLACE_AGE/$(UDEV_VOLUME_ID_AGE)/g'			$(STAGING_DIR)/usr/lib/libvolume_id.la
-	$(SED) 's/REPLACE_REVISION/$(UDEV_VOLUME_ID_REVISION)/g'	$(STAGING_DIR)/usr/lib/libvolume_id.la
-	$(SED) 's,REPLACE_LIB_DIR,$(STAGING_DIR)/usr/lib,g'		$(STAGING_DIR)/usr/lib/libvolume_id.la
+	$(INSTALL) -m 0755 -D package/udev/libvolume_id.la.tmpl $(STAGING_DIR)/usr/lib/libvolume_id.la
+	$(SED) 's/REPLACE_CURRENT/$(UDEV_VOLUME_ID_CURRENT)/g' $(STAGING_DIR)/usr/lib/libvolume_id.la
+	$(SED) 's/REPLACE_AGE/$(UDEV_VOLUME_ID_AGE)/g' $(STAGING_DIR)/usr/lib/libvolume_id.la
+	$(SED) 's/REPLACE_REVISION/$(UDEV_VOLUME_ID_REVISION)/g' $(STAGING_DIR)/usr/lib/libvolume_id.la
+	$(SED) 's,REPLACE_LIB_DIR,$(STAGING_DIR)/usr/lib,g' $(STAGING_DIR)/usr/lib/libvolume_id.la
 
 $(TARGET_DIR)/lib/udev/vol_id: $(STAGING_DIR)/usr/lib/libvolume_id.la
 	$(INSTALL) -m 0755 -D $(UDEV_DIR)/extras/volume_id/lib/libvolume_id.so.$(UDEV_VOLUME_ID_VERSION) $(TARGET_DIR)/usr/lib/libvolume_id.so.$(UDEV_VOLUME_ID_VERSION)

Modified: trunk/buildroot/package/vpnc/vpnc.mk
===================================================================

buildroot/package/vpnc/vpnc.mk +9 -13
@@ -31,22 +31,18 @@
 		CC=$(TARGET_CC) -C $(VPNC_DIR)
 
 $(VPNC_TARGET_BINARY): $(VPNC_BINARY)
-	$(MAKE) $(TARGET_CONFIGURE_OPTS)		\
-		DESTDIR=$(TARGET_DIR)			\
-		BINDIR=/usr/local/bin			\
-		SBINDIR=/usr/local/sbin			\
-		ETCDIR=/etc/vpnc			\
-		MANDIR=/usr/local/share/man		\
-		VERSION=$(VPNC_VERSION)			\
-		INCLUDE=$(STAGING_DIR)/usr/include	\
-		LDFLAGS="-g -lgcrypt -lgpg-error"	\
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) \
+		DESTDIR=$(TARGET_DIR) \
+		BINDIR=/usr/local/bin \
+		SBINDIR=/usr/local/sbin \
+		ETCDIR=/etc/vpnc \
+		MANDIR=/usr/share/man \
+		VERSION=$(VPNC_VERSION) \
+		INCLUDE=$(STAGING_DIR)/usr/include \
+		LDFLAGS="-g -lgcrypt -lgpg-error" \
 		-C $(VPNC_DIR) install
 	$(STRIP) $(STRIP_STRIP_UNNEEDED) $(VPNC_TARGET_BINARY)
 
-#		CFLAGS+="-W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g -DVERSION=\"$(VPNC_VERSION)\" -c"	\
-
-
-
 vpnc: uclibc $(VPNC_TARGET_BINARY)
 
 vpnc-source: $(DL_DIR)/$(VPNC_SOURCE)

Modified: trunk/buildroot/target/device/Atmel/DataFlashBoot/DataflashBoot.mk
===================================================================

buildroot/target/device/Atmel/DataFlashBoot/DataflashBoot.mk +4 -4
@@ -31,11 +31,11 @@
 DataflashBoot-dirclean:
 	rm -rf $(DATAFLASHBOOT_DIR)
 
-dataflash:	 $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY)
+dataflash: $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY)
 	mkdir -p $(BINARIES_DIR)
-	cp $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY)	$(BINARIES_DIR)/$(BOARD_NAME)-$(DATAFLASHBOOT_BINARY)
-ifneq	($(TARGET_ATMEL_COPYTO),)
-	cp $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY)	/tftpboot/$(BOARD_NAME)-$(DATAFLASHBOOT_BINARY)
+	cp $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY) $(BINARIES_DIR)/$(BOARD_NAME)-$(DATAFLASHBOOT_BINARY)
+ifneq ($(TARGET_ATMEL_COPYTO),)
+	cp $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY) /tftpboot/$(BOARD_NAME)-$(DATAFLASHBOOT_BINARY)
 endif
 
 #############################################################

Modified: trunk/buildroot/target/device/Atmel/Makefile.in
===================================================================

buildroot/target/device/Atmel/Makefile.in +1 -1
@@ -44,7 +44,7 @@
 
 LINUX26_COPYTO:=/tftpboot
 
-ifeq	($(DEFAULT_KERNEL_HEADERS),2.6.22.1)
+ifeq ($(DEFAULT_KERNEL_HEADERS),2.6.22.1)
 KERNEL_HEADERS_PATCH_DIR:=target/device/Atmel/linux/kernel-patches-$(DOWNLOAD_LINUX26_VERSION)
 else
 # Patch during kernel header build

Modified: trunk/buildroot/target/device/Atmel/at91bootstrap/at91bootstrap.mk
===================================================================

buildroot/target/device/Atmel/at91bootstrap/at91bootstrap.mk +10 -10
@@ -27,10 +27,10 @@
 AT91BOOTSTRAP_IMG_SIZE:=$(strip  $(subst ",, $(BR2_AT91BOOTSTRAP_IMG_SIZE)))
 
 AT91_CUSTOM_FLAGS:=
-ifneq	($(AT91BOOTSTRAP_JUMP_ADDR),)
+ifneq ($(AT91BOOTSTRAP_JUMP_ADDR),)
 AT91_CUSTOM_FLAGS+=-DJUMP_ADDR=$(AT91BOOTSTRAP_JUMP_ADDR) 
 endif
-ifneq	($(AT91BOOTSTRAP_IMG_SIZE),)
+ifneq ($(AT91BOOTSTRAP_IMG_SIZE),)
 AT91_CUSTOM_FLAGS+=-DIMG_SIZE=$(AT91BOOTSTRAP_IMG_SIZE) 
 endif
 
@@ -43,31 +43,31 @@
 	toolchain/patch-kernel.sh $(AT91BOOTSTRAP_DIR) target/device/Atmel/at91bootstrap/ at91bootstrap\*.patch
 	touch $(AT91BOOTSTRAP_DIR)/.unpacked
 
-atbu:	$(AT91BOOTSTRAP_DIR)/.unpacked
+atbu: $(AT91BOOTSTRAP_DIR)/.unpacked
 
 $(AT91BOOTSTRAP_DIR)/.configured: $(AT91BOOTSTRAP_DIR)/.unpacked .config
-	$(MAKE)					\
+	$(MAKE) \
 		MEMORY=$(AT91BOOTSTRAP_MEMORY)	\
 		CROSS_COMPILE=$(TARGET_CROSS)	\
 		-C $(AT91BOOTSTRAP_DIR)		\
 		$(BOARD_NAME)_defconfig
-	touch	$(AT91BOOTSTRAP_DIR)/.configured
+	touch $(AT91BOOTSTRAP_DIR)/.configured
 
 $(AT91BOOTSTRAP_TARGET): $(AT91BOOTSTRAP_DIR)/.configured
-	$(MAKE)					\
+	$(MAKE) \
 		MEMORY=$(AT91BOOTSTRAP_MEMORY)	\
 		CROSS_COMPILE=$(TARGET_CROSS)	\
 		AT91_CUSTOM_FLAGS="$(AT91_CUSTOM_FLAGS)" \
 		-C $(AT91BOOTSTRAP_DIR)
 
-$(BINARIES_DIR)/$(AT91BOOTSTRAP_BINARY):	$(AT91BOOTSTRAP_TARGET)
+$(BINARIES_DIR)/$(AT91BOOTSTRAP_BINARY): $(AT91BOOTSTRAP_TARGET)
 	mkdir -p $(BINARIES_DIR)
-	cp $(AT91BOOTSTRAP_TARGET)	$(BINARIES_DIR)/$(AT91BOOTSTRAP_BINARY)
-	cp $(AT91BOOTSTRAP_TARGET)	/tftpboot/$(AT91BOOTSTRAP_BINARY)
+	cp $(AT91BOOTSTRAP_TARGET) $(BINARIES_DIR)/$(AT91BOOTSTRAP_BINARY)
+	cp $(AT91BOOTSTRAP_TARGET) /tftpboot/$(AT91BOOTSTRAP_BINARY)
 
 .PHONY:        at91bootstrap at91bootstrap-source
 
-at91bootstrap:	$(BINARIES_DIR)/$(AT91BOOTSTRAP_BINARY)
+at91bootstrap: $(BINARIES_DIR)/$(AT91BOOTSTRAP_BINARY)
 
 at91bootstrap-source: $(DL_DIR)/$(AT91BOOTSTRAP_SOURCE)
 

Modified: trunk/buildroot/target/device/Atmel/u-boot/u-boot.mk
===================================================================

buildroot/target/device/Atmel/u-boot/u-boot.mk +115 -114

301 lines not on this page · raw message

Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in +1 -1
@@ -55,7 +55,7 @@
 endif
 
 # File name for the Linux kernel binary
-ifndef	LINUX26_KERNEL
+ifndef LINUX26_KERNEL
 LINUX26_KERNEL=$(BINARIES_DIR)/linux-kernel-$(LINUX26_VERSION)-$(KERNEL_ARCH)
 endif
 

Modified: trunk/buildroot/toolchain/external-toolchain/ext-tool.mk
===================================================================

buildroot/toolchain/external-toolchain/ext-tool.mk +1 -1
@@ -3,7 +3,7 @@
 #
 # $1: source
 # $2: destination
-# $2: strip (y|n)	default is to strip
+# $2: strip (y|n)       default is to strip
 #
 copy_toolchain_lib_root =									\
 	LIB="$(strip $1)";									\