* [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc...
2007-07-12 13:25 ` Steven J. Hill
@ 2007-07-12 11:58 ` Ulf Samuelsson
2007-07-12 12:15 ` Ulf Samuelsson
1 sibling, 0 replies; 12+ messages in thread
From: Ulf Samuelsson @ 2007-07-12 11:58 UTC (permalink / raw)
To: buildroot
tor 2007-07-12 klockan 08:25 -0500 skrev Steven J. Hill:
> For patches like this and the other ones you are doing, I really feel
> you should be required to update the on-line documentation at the same
> time to denote all these changes you are making. It's difficult enough
> to keep up with all of the changes. Please make sure when you add new
> features like this in the future to not do so unless you document it.
> Please also document this BSP patch for the on-line docs. Thanks.
>
OK, didn't think about that.
Will do this at first convenient time.
> -Steve
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc...
2007-07-12 13:25 ` Steven J. Hill
2007-07-12 11:58 ` Ulf Samuelsson
@ 2007-07-12 12:15 ` Ulf Samuelsson
2007-07-12 14:02 ` Alexander Kriegisch
2007-07-12 14:32 ` Bernhard Fischer
1 sibling, 2 replies; 12+ messages in thread
From: Ulf Samuelsson @ 2007-07-12 12:15 UTC (permalink / raw)
To: buildroot
tor 2007-07-12 klockan 08:25 -0500 skrev Steven J. Hill:
> For patches like this and the other ones you are doing, I really feel
> you should be required to update the on-line documentation at the same
> time to denote all these changes you are making. It's difficult enough
> to keep up with all of the changes. Please make sure when you add new
> features like this in the future to not do so unless you document it.
> Please also document this BSP patch for the on-line docs. Thanks.
>
Is there a recommended tool to edit HTML with CSS?
> -Steve
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc...
@ 2007-07-12 13:11 ulf at uclibc.org
2007-07-12 13:25 ` Steven J. Hill
2007-07-12 14:42 ` Bernhard Fischer
0 siblings, 2 replies; 12+ messages in thread
From: ulf at uclibc.org @ 2007-07-12 13:11 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-07-12 06:11:03 -0700 (Thu, 12 Jul 2007)
New Revision: 19070
Log:
BSP Patch:
=========================================================
The purpose of the BSP patch is to allow building
several boards inside the same buildroot tree.
For this to work, each board has to have its
own "$(TARGET_DIR)" and all *configurable* packages
must be rebuilt for each board.
They are now built in the "$(PROJECT_BUILD_DIR)"
All non configurable packages can and should still
be built in the "$(BUILD_DIR)".
If a package is built for one board, then when
you build for a second board of the same architecture
the build becomes a simple copy of the resulting
binaries.
-----
Define BR2_PROJECT which will be used as the selector
between different boards. Note that BR2_PROJECT allow
you to build multiple root file systems for a single
board, and should not be confused with BR2_BOARD_NAME
which relates to the H/W.
-----
Define PROJECT_BUILD_DIR as "PROJECT_BUILD_DIR/$(PROJECT)"
Define BINARIES_DIR as "binaries/$(PROJECT)"
Define TARGET_DIR as "$(PROJECT_BUILD_DIR)/root"
(some prefix/postfix may apply)
Resulting images are stored in "$(BINARIES_DIR)"
-----
Define a few new environment variables in Makefile
PROJECT: Stripped BR2_PROJECT
DATE: Date of build in YYYY-MM-DD format
HOSTNAME: Stripped BR2_HOSTNAME => /etc/hostname
BANNER: Stripped BR2_BANNER => /etc/issue
Linux and Busybox will be built in $(PROJECT_BUILD_DIR)
More patches will be needed later to ensure all
configurable packages are built in this directory.
Added:
trunk/buildroot/project/
trunk/buildroot/project/Config.in
trunk/buildroot/project/config/
Modified:
trunk/buildroot/Config.in
trunk/buildroot/Makefile
trunk/buildroot/package/Makefile.in
trunk/buildroot/package/busybox/busybox.mk
trunk/buildroot/target/cloop/cloop.mk
trunk/buildroot/target/jffs2/jffs2root.mk
trunk/buildroot/target/linux/Makefile.in
Changeset:
Modified: trunk/buildroot/Config.in
===================================================================
--- trunk/buildroot/Config.in 2007-07-12 00:59:00 UTC (rev 19069)
+++ trunk/buildroot/Config.in 2007-07-12 13:11:03 UTC (rev 19070)
@@ -6,6 +6,8 @@
bool
default y
+source "project/Config.in"
+
choice
prompt "Target Architecture"
default BR2_i386
Modified: trunk/buildroot/Makefile
===================================================================
--- trunk/buildroot/Makefile 2007-07-12 00:59:00 UTC (rev 19069)
+++ trunk/buildroot/Makefile 2007-07-12 13:11:03 UTC (rev 19070)
@@ -155,6 +155,12 @@
else
TARGETS:=uclibc
endif
+
+PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
+HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
+BANNER:=$(strip $(subst ",, $(BR2_BANNER)))
+
+
include toolchain/Makefile.in
include package/Makefile.in
@@ -183,12 +189,14 @@
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
-world: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS)
-dirs: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR)
+world: $(DL_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) \
+ $(BINARIES_DIR) $(STAGING_DIR) $(TARGET_DIR) bsp $(TARGETS)
+dirs: $(DL_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(STAGING_DIR)
-.PHONY: all world dirs clean dirclean distclean source $(TARGETS) \
+.PHONY: all world dirs clean dirclean distclean source bsp $(TARGETS) \
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
- $(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) $(STAGING_DIR)
+ $(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) $(STAGING_DIR) \
+ $(PROJECT_BUILD_DIR) $(BINARIES_DIR)
#############################################################
#
@@ -196,7 +204,8 @@
# dependencies anywhere else
#
#############################################################
-$(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR):
+$(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) \
+ $(PROJECT_BUILD_DIR) $(BINARIES_DIR) :
@mkdir -p $@
$(STAGING_DIR):
@@ -221,6 +230,16 @@
-find $(TARGET_DIR) -type d -name CVS | xargs rm -rf
-find $(TARGET_DIR) -type d -name .svn | xargs rm -rf
+bsp: $(TARGET_DIR)/etc/issue $(TARGET_DIR)/etc/hostname
+
+$(TARGET_DIR)/etc/issue: $(TARGET_DIR) .config
+ echo "" > $(TARGET_DIR)/etc/issue
+ echo "" >> $(TARGET_DIR)/etc/issue
+ echo "$(BANNER)" >> $(TARGET_DIR)/etc/issue
+
+$(TARGET_DIR)/etc/hostname: $(TARGET_DIR) .config
+ echo "$(HOSTNAME)" > $(TARGET_DIR)/etc/hostname
+
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
.config.check: dependencies
@@ -245,12 +264,13 @@
ifeq ($(DL_DIR),$(BASE_DIR)/dl)
rm -rf $(DL_DIR)
endif
- rm -rf $(BUILD_DIR) $(LINUX_KERNEL) $(IMAGE) $(BASE_DIR)/include \
+ rm -rf $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \
+ $(LINUX_KERNEL) $(IMAGE) $(BASE_DIR)/include \
.config.cmd
$(MAKE) -C $(CONFIG) clean
sourceball:
- rm -rf $(BUILD_DIR)
+ rm -rf $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR)
set -e; \
cd ..; \
rm -f buildroot.tar.bz2; \
Modified: trunk/buildroot/package/Makefile.in
===================================================================
--- trunk/buildroot/package/Makefile.in 2007-07-12 00:59:00 UTC (rev 19069)
+++ trunk/buildroot/package/Makefile.in 2007-07-12 13:11:03 UTC (rev 19070)
@@ -69,8 +69,12 @@
endif
#PATCH_DIR=$(BASE_DIR)/sources/patches
BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
-TARGET_DIR:=$(BUILD_DIR)/root
+PROJECT_BUILD_DIR:=$(BASE_DIR)/$(TOPDIR_PREFIX)project_build_$(ARCH)$(ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)/$(PROJECT)
+BINARIES_DIR:=$(BASE_DIR)/binaries/$(PROJECT)
+TARGET_DIR:=$(PROJECT_BUILD_DIR)/root
+
+
GNU_TARGET_SUFFIX:=-$(strip $(subst ",, $(BR2_GNU_TARGET_SUFFIX)))
#"))
@@ -81,7 +85,7 @@
# Quotes are needed for spaces et al in path components.
TARGET_PATH="$(TOOL_BUILD_DIR)/bin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
-IMAGE:=$(BASE_DIR)/rootfs.$(ARCH)$(ARCH_FPU_SUFFIX)
+IMAGE:=$(BINARIES_DIR)/rootfs.$(ARCH)$(ARCH_FPU_SUFFIX)
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
TARGET_CROSS=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-
@@ -93,7 +97,7 @@
#"))
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(TOOLCHAIN_EXTERNAL_PREFIX)
TARGET_PATH="$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(PATH)"
-IMAGE:=$(BASE_DIR)/rootfs.$(TOOLCHAIN_EXTERNAL_PREFIX)
+IMAGE:=$(BINARIES_DIR)/rootfs.$(TOOLCHAIN_EXTERNAL_PREFIX)
REAL_GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
KERNEL_CROSS=$(TOOLCHAIN_EXTERNAL_PATH)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
Modified: trunk/buildroot/package/busybox/busybox.mk
===================================================================
--- trunk/buildroot/package/busybox/busybox.mk 2007-07-12 00:59:00 UTC (rev 19069)
+++ trunk/buildroot/package/busybox/busybox.mk 2007-07-12 13:11:03 UTC (rev 19070)
@@ -7,13 +7,13 @@
ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
# Be aware that this changes daily....
-BUSYBOX_DIR:=$(BUILD_DIR)/busybox
+BUSYBOX_DIR:=$(PROJECT_BUILD_DIR)/busybox
BUSYBOX_SOURCE:=busybox-snapshot.tar.bz2
BUSYBOX_SITE:=http://www.busybox.net/downloads/snapshots
else
BUSYBOX_VERSION=$(strip $(subst ",, $(BR2_BUSYBOX_VERSION)))
#"))
-BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BUSYBOX_VERSION)
+BUSYBOX_DIR:=$(PROJECT_BUILD_DIR)/busybox-$(BUSYBOX_VERSION)
BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VERSION).tar.bz2
BUSYBOX_SITE:=http://www.busybox.net/downloads
endif
@@ -31,7 +31,7 @@
busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG_FILE) dependencies
$(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
- $(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(PROJECT_BUILD_DIR) $(TAR_OPTIONS) -
ifeq ($(BR2_PACKAGE_SYSKLOGD),y)
# if we have external syslogd, force busybox to use it
$(SED) "/#include.*busybox\.h/a#define CONFIG_SYSLOGD" $(BUSYBOX_DIR)/init/init.c
@@ -127,7 +127,7 @@
busybox: uclibc $(TARGET_DIR)/bin/busybox
-busybox-menuconfig: host-sed $(BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.configured
+busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.configured
$(MAKE) __TARGET_ARCH=$(ARCH) -C $(BUSYBOX_DIR) menuconfig
cp -f $(BUSYBOX_DIR)/.config $(BUSYBOX_CONFIG_FILE)
Added: trunk/buildroot/project/Config.in
===================================================================
--- trunk/buildroot/project/Config.in (rev 0)
+++ trunk/buildroot/project/Config.in 2007-07-12 13:11:03 UTC (rev 19070)
@@ -0,0 +1,26 @@
+menu "Project Options"
+
+config BR2_PROJECT
+ string "Project name"
+ default "uclibc"
+ help
+ The project name is used to define subdirectories
+ * where the Board Support Packages are built
+ (Linux,Root fs Bootmonitor,Utilities etc.)
+ * where the resulting binaries are stored.
+ Older targets may still build in the build_<arch>
+ and store binaries in the top directory.
+
+config BR2_HOSTNAME
+ string "hostname"
+ default "uclibc"
+ help
+ The hostname string is stored in "/etc/hostname"
+
+config BR2_BANNER
+ string "banner"
+ default "Welcome to the Erik's uClibc development environment."
+ help
+ The banner string is stored in "/etc/issue"
+
+endmenu
Modified: trunk/buildroot/target/cloop/cloop.mk
===================================================================
--- trunk/buildroot/target/cloop/cloop.mk 2007-07-12 00:59:00 UTC (rev 19069)
+++ trunk/buildroot/target/cloop/cloop.mk 2007-07-12 13:11:03 UTC (rev 19070)
@@ -15,6 +15,7 @@
CLOOP_SOURCE=cloop_$(CLOOP_VERSION)-5.tar.gz
CLOOP_SITE=http://developer.linuxtag.net/knoppix/sources
+CLOOP_TARGET:=$(IMAGE).cloop
### Note: not used yet! ck
### $(DL_DIR)/$(CLOOP_PATCH1):
### $(WGET) -P $(DL_DIR) $(CLOOP_PATCH1_URL)/$(CLOOP_PATCH1)
@@ -78,19 +79,19 @@
@rm -rf $(TARGET_DIR)/usr/share/man
@rm -rf $(TARGET_DIR)/usr/info
@rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
- ### $(CLOOP_DIR)/create_compressed_fs -q -D target/default/device_table.txt $(TARGET_DIR) $(IMAGE).cloop
- ## mkisofs -r $(TARGET_DIR) | $(CLOOP_DIR)/create_compressed_fs - 65536 > $(IMAGE).cloop
+ ### $(CLOOP_DIR)/create_compressed_fs -q -D target/default/device_table.txt $(TARGET_DIR) $(CLOOP_TARGET)
+ ## mkisofs -r $(TARGET_DIR) | $(CLOOP_DIR)/create_compressed_fs - 65536 > $(CLOOP_TARGET)
sudo /sbin/losetup -d /dev/loop1
sudo /sbin/losetup /dev/loop1 $(IMAGE).cramfs
sudo mkdir -p /mnt/compressed
sudo mount -o ro -t cramfs /dev/loop1 /mnt/compressed
- mkisofs -r /mnt/compressed | $(CLOOP_DIR)/create_compressed_fs - 65536 > $(IMAGE).cloop
+ mkisofs -r /mnt/compressed | $(CLOOP_DIR)/create_compressed_fs - 65536 > $(CLOOP_TARGET)
- symlinks -r /mnt/compressed
sudo umount /mnt/compressed
@echo "Mounting a compressed image:"
@echo " sudo mkdir -p /mnt/compressed"
@echo " sudo /sbin/insmod cloop"
- @echo " sudo /sbin/losetup /dev/cloop1 $(IMAGE).cloop"
+ @echo " sudo /sbin/losetup /dev/cloop1 $(CLOOP_TARGET)"
@echo " sudo mount -o ro -t iso9660 /dev/cloop1 /mnt/compressed"
clooproot-source: cloop-source
Modified: trunk/buildroot/target/jffs2/jffs2root.mk
===================================================================
--- trunk/buildroot/target/jffs2/jffs2root.mk 2007-07-12 00:59:00 UTC (rev 19069)
+++ trunk/buildroot/target/jffs2/jffs2root.mk 2007-07-12 13:11:03 UTC (rev 19070)
@@ -66,7 +66,7 @@
>> $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
endif
# Use fakeroot so mkfs.jffs2 believes the previous fakery
- echo "$(MKFS_JFFS2) $(JFFS2_OPTS) -d $(BUILD_DIR)/root -o $(JFFS2_TARGET)" \
+ echo "$(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $(JFFS2_TARGET)" \
>> $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
chmod a+x $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
$(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================
--- trunk/buildroot/target/linux/Makefile.in 2007-07-12 00:59:00 UTC (rev 19069)
+++ trunk/buildroot/target/linux/Makefile.in 2007-07-12 13:11:03 UTC (rev 19070)
@@ -58,7 +58,7 @@
LINUX26_KERNEL=linux-kernel-$(LINUX26_VERSION)-$(KERNEL_ARCH)
# Version of Linux AFTER patches
-LINUX26_DIR=$(BUILD_DIR)/linux-$(LINUX26_VERSION)
+LINUX26_DIR=$(PROJECT_BUILD_DIR)/linux-$(LINUX26_VERSION)
# for packages that need it
LINUX_VERSION:=$(LINUX_VERSION)
@@ -89,10 +89,10 @@
$(LINUX26_DIR)/.unpacked: $(DL_DIR)/$(LINUX26_SOURCE)
rm -rf $(LINUX26_DIR)
- $(LINUX26_BZCAT) $(DL_DIR)/$(LINUX26_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(LINUX26_BZCAT) $(DL_DIR)/$(LINUX26_SOURCE) | tar -C $(PROJECT_BUILD_DIR) $(TAR_OPTIONS) -
ifneq ($(DOWNLOAD_LINUX26_VERSION),$(LINUX26_VERSION))
# Rename the dir from the downloaded version to the AFTER patch version
- mv -f $(BUILD_DIR)/linux-$(DOWNLOAD_LINUX26_VERSION) $(LINUX26_DIR)
+ mv -f $(PROJECT_BUILD_DIR)/linux-$(DOWNLOAD_LINUX26_VERSION) $(LINUX26_DIR)
endif
touch $@
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc...
2007-07-12 13:11 [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc ulf at uclibc.org
@ 2007-07-12 13:25 ` Steven J. Hill
2007-07-12 11:58 ` Ulf Samuelsson
2007-07-12 12:15 ` Ulf Samuelsson
2007-07-12 14:42 ` Bernhard Fischer
1 sibling, 2 replies; 12+ messages in thread
From: Steven J. Hill @ 2007-07-12 13:25 UTC (permalink / raw)
To: buildroot
For patches like this and the other ones you are doing, I really feel
you should be required to update the on-line documentation at the same
time to denote all these changes you are making. It's difficult enough
to keep up with all of the changes. Please make sure when you add new
features like this in the future to not do so unless you document it.
Please also document this BSP patch for the on-line docs. Thanks.
-Steve
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc...
2007-07-12 14:42 ` Bernhard Fischer
@ 2007-07-12 13:56 ` Ulf Samuelsson
2007-07-12 15:51 ` Yann E. MORIN
0 siblings, 1 reply; 12+ messages in thread
From: Ulf Samuelsson @ 2007-07-12 13:56 UTC (permalink / raw)
To: buildroot
tor 2007-07-12 klockan 16:42 +0200 skrev Bernhard Fischer:
> On Thu, Jul 12, 2007 at 06:11:06AM -0700, ulf at uclibc.org wrote:
> >Author: ulf
> >Date: 2007-07-12 06:11:03 -0700 (Thu, 12 Jul 2007)
> >New Revision: 19070
>
> >Modified: trunk/buildroot/Makefile
> >===================================================================
> >--- trunk/buildroot/Makefile 2007-07-12 00:59:00 UTC (rev 19069)
> >+++ trunk/buildroot/Makefile 2007-07-12 13:11:03 UTC (rev 19070)
> >@@ -155,6 +155,12 @@
> > else
> > TARGETS:=uclibc
> > endif
> >+
> >+PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
> >+HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
> >+BANNER:=$(strip $(subst ",, $(BR2_BANNER)))
>
> This breaks vi's syntax highlighing, please fix
Pls supply a template on what you want me to do.
"vi" on OpenSuSE is not compiled with that extension
so I can't test that.
On gedit there
This is how it is done in other places in buildroot.
> Also, you're aware that HOSTNAME previously was set to the hostname of
> the build host and you just broke this, aren't you?
>
OK, I'll change to TARGET_HOSTNAME
> >Added: trunk/buildroot/project/Config.in
> >===================================================================
> >--- trunk/buildroot/project/Config.in (rev 0)
> >+++ trunk/buildroot/project/Config.in 2007-07-12 13:11:03 UTC (rev 19070)
> >@@ -0,0 +1,26 @@
> >+menu "Project Options"
> >+
> >+config BR2_PROJECT
> >+ string "Project name"
> >+ default "uclibc"
> >+ help
> >+ The project name is used to define subdirectories
> >+ * where the Board Support Packages are built
> >+ (Linux,Root fs Bootmonitor,Utilities etc.)
>
> whitespace dammaged CSVs
Is it the indentation you don't like? Pls elaborate.
>
> Please add inline documentation to PROJECT_BUILD_DIR and BUILD_DIR
/Done, pls check if this is what you meant.
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc...
2007-07-12 12:15 ` Ulf Samuelsson
@ 2007-07-12 14:02 ` Alexander Kriegisch
2007-07-12 14:32 ` Bernhard Fischer
1 sibling, 0 replies; 12+ messages in thread
From: Alexander Kriegisch @ 2007-07-12 14:02 UTC (permalink / raw)
To: buildroot
> Is there a recommended tool to edit HTML with CSS?
(Sorry for being OT, but he asked...)
Just because there is an ongoing discussion about this topic in the
users mailing list: Take a look at SciTE, a good text editor capable of
installing lexer plugins and of highlighting nested languages like CSS
in HTML. There are add-ons and derivatives like SciTE-st - you may want
to take a look at the web site (http://www.scintilla.org/SciTE.html) and
the mailing list archives. BTW: The editor runs likewise well under
Linux and Windows.
--
Alexander Kriegisch
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc...
2007-07-12 12:15 ` Ulf Samuelsson
2007-07-12 14:02 ` Alexander Kriegisch
@ 2007-07-12 14:32 ` Bernhard Fischer
1 sibling, 0 replies; 12+ messages in thread
From: Bernhard Fischer @ 2007-07-12 14:32 UTC (permalink / raw)
To: buildroot
On Thu, Jul 12, 2007 at 02:15:18PM +0200, Ulf Samuelsson wrote:
>tor 2007-07-12 klockan 08:25 -0500 skrev Steven J. Hill:
>> For patches like this and the other ones you are doing, I really feel
>> you should be required to update the on-line documentation at the same
>> time to denote all these changes you are making. It's difficult enough
>> to keep up with all of the changes. Please make sure when you add new
>> features like this in the future to not do so unless you document it.
>> Please also document this BSP patch for the on-line docs. Thanks.
>>
>
>Is there a recommended tool to edit HTML with CSS?
./busybox vi
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc...
2007-07-12 13:11 [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc ulf at uclibc.org
2007-07-12 13:25 ` Steven J. Hill
@ 2007-07-12 14:42 ` Bernhard Fischer
2007-07-12 13:56 ` Ulf Samuelsson
1 sibling, 1 reply; 12+ messages in thread
From: Bernhard Fischer @ 2007-07-12 14:42 UTC (permalink / raw)
To: buildroot
On Thu, Jul 12, 2007 at 06:11:06AM -0700, ulf at uclibc.org wrote:
>Author: ulf
>Date: 2007-07-12 06:11:03 -0700 (Thu, 12 Jul 2007)
>New Revision: 19070
>Modified: trunk/buildroot/Makefile
>===================================================================
>--- trunk/buildroot/Makefile 2007-07-12 00:59:00 UTC (rev 19069)
>+++ trunk/buildroot/Makefile 2007-07-12 13:11:03 UTC (rev 19070)
>@@ -155,6 +155,12 @@
> else
> TARGETS:=uclibc
> endif
>+
>+PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
>+HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
>+BANNER:=$(strip $(subst ",, $(BR2_BANNER)))
This breaks vi's syntax highlighing, please fix
Also, you're aware that HOSTNAME previously was set to the hostname of
the build host and you just broke this, aren't you?
>Added: trunk/buildroot/project/Config.in
>===================================================================
>--- trunk/buildroot/project/Config.in (rev 0)
>+++ trunk/buildroot/project/Config.in 2007-07-12 13:11:03 UTC (rev 19070)
>@@ -0,0 +1,26 @@
>+menu "Project Options"
>+
>+config BR2_PROJECT
>+ string "Project name"
>+ default "uclibc"
>+ help
>+ The project name is used to define subdirectories
>+ * where the Board Support Packages are built
>+ (Linux,Root fs Bootmonitor,Utilities etc.)
whitespace dammaged CSVs
Please add inline documentation to PROJECT_BUILD_DIR and BUILD_DIR
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc...
2007-07-12 13:56 ` Ulf Samuelsson
@ 2007-07-12 15:51 ` Yann E. MORIN
2007-07-12 16:24 ` [Buildroot] svn commit: trunk/buildroot: package?package/busybox " Bernhard Fischer
0 siblings, 1 reply; 12+ messages in thread
From: Yann E. MORIN @ 2007-07-12 15:51 UTC (permalink / raw)
To: buildroot
Ulf, Bernhard,
All,
On Thursday 12 July 2007 15:56, Ulf Samuelsson wrote:
> tor 2007-07-12 klockan 16:42 +0200 skrev Bernhard Fischer:
> > On Thu, Jul 12, 2007 at 06:11:06AM -0700, ulf at uclibc.org wrote:
> > >+PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
> > >+HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
> > >+BANNER:=$(strip $(subst ",, $(BR2_BANNER)))
> > This breaks vi's syntax highlighing, please fix
> Pls supply a template on what you want me to do.
I guess something like the following:
PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
# Shut up you stupid vim! "
HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
# Shut up you stupid vim! "
And so on... Maybe comments at the end of the line would do as well...
Regards,
Yann E. MORIN.
PS. Using vi exclusively here, but no syntax highlighting, which I find
ultimately annoying. Thank you, I know (or tend to) what I'm doing! :-)
YEM.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< ?_? >==-- ?------------.-------: X AGAINST | /e\ There is no |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL | """ conspiracy. |
?------------------------------?-------?------------------?--------------------?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package?package/busybox project target/ etc...
2007-07-12 15:51 ` Yann E. MORIN
@ 2007-07-12 16:24 ` Bernhard Fischer
2007-07-12 16:39 ` Yann E. MORIN
2007-07-12 17:51 ` Benjamin Tietz
0 siblings, 2 replies; 12+ messages in thread
From: Bernhard Fischer @ 2007-07-12 16:24 UTC (permalink / raw)
To: buildroot
On Thu, Jul 12, 2007 at 05:51:47PM +0200, Yann E. MORIN wrote:
>Ulf, Bernhard,
>All,
>
>On Thursday 12 July 2007 15:56, Ulf Samuelsson wrote:
>> tor 2007-07-12 klockan 16:42 +0200 skrev Bernhard Fischer:
>> > On Thu, Jul 12, 2007 at 06:11:06AM -0700, ulf at uclibc.org wrote:
>> > >+PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
>> > >+HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
>> > >+BANNER:=$(strip $(subst ",, $(BR2_BANNER)))
>> > This breaks vi's syntax highlighing, please fix
>> Pls supply a template on what you want me to do.
>
>I guess something like the following:
>
>PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
># Shut up you stupid vim! "
close.
# ")))
Ulf, just do :syntax on
>HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
># Shut up you stupid vim! "
>
>And so on... Maybe comments at the end of the line would do as well...
>
>Regards,
>Yann E. MORIN.
>
>PS. Using vi exclusively here, but no syntax highlighting, which I find
> ultimately annoying. Thank you, I know (or tend to) what I'm doing! :-)
It's handy at times..
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package?package/busybox project target/ etc...
2007-07-12 16:24 ` [Buildroot] svn commit: trunk/buildroot: package?package/busybox " Bernhard Fischer
@ 2007-07-12 16:39 ` Yann E. MORIN
2007-07-12 17:51 ` Benjamin Tietz
1 sibling, 0 replies; 12+ messages in thread
From: Yann E. MORIN @ 2007-07-12 16:39 UTC (permalink / raw)
To: buildroot
Bernhard, Ulf,
All,
On Thursday 12 July 2007 18:24, Bernhard Fischer wrote:
> >PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
> ># Shut up you stupid vim! "
>
> close.
> # ")))
Gosh! I forgot the parenthesis... :-(
But not quite yet! Only two parenthesis are outside the quotes! So:
# "))
should be enough, no? ;-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< ?_? >==-- ?------------.-------: X AGAINST | /e\ There is no |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL | """ conspiracy. |
?------------------------------?-------?------------------?--------------------?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: package?package/busybox project target/ etc...
2007-07-12 16:24 ` [Buildroot] svn commit: trunk/buildroot: package?package/busybox " Bernhard Fischer
2007-07-12 16:39 ` Yann E. MORIN
@ 2007-07-12 17:51 ` Benjamin Tietz
1 sibling, 0 replies; 12+ messages in thread
From: Benjamin Tietz @ 2007-07-12 17:51 UTC (permalink / raw)
To: buildroot
On Thu, Jul 12, 2007 at 06:24:11PM +0200, Bernhard Fischer wrote:
> On Thu, Jul 12, 2007 at 05:51:47PM +0200, Yann E. MORIN wrote:
> >Ulf, Bernhard,
> >All,
> >
> >On Thursday 12 July 2007 15:56, Ulf Samuelsson wrote:
> >> tor 2007-07-12 klockan 16:42 +0200 skrev Bernhard Fischer:
> >> > On Thu, Jul 12, 2007 at 06:11:06AM -0700, ulf at uclibc.org wrote:
> >> > >+PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
> >> > >+HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
> >> > >+BANNER:=$(strip $(subst ",, $(BR2_BANNER)))
> >> > This breaks vi's syntax highlighing, please fix
> >> Pls supply a template on what you want me to do.
> >
> >I guess something like the following:
> >
> >PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
> ># Shut up you stupid vim! "
>
> close.
> # ")))
A nother way to get around would be
PROJECT:=$(strip $(patsubst "%",%,$(BR2_PROJECT))
It just catches the first and the last '"' but in most cases this is
enough.
These characters sometimes come up as values in .config. So it would be
cleaner to fix it, when this file is included.
Sometimes even variables in some Makefiles are (incorrect) defined with
these. Here the Makefile should be updated...
>
> Ulf, just do :syntax on
>
> >HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
> ># Shut up you stupid vim! "
> >
> >And so on... Maybe comments at the end of the line would do as well...
> >
> >Regards,
> >Yann E. MORIN.
> >
> >PS. Using vi exclusively here, but no syntax highlighting, which I find
> > ultimately annoying. Thank you, I know (or tend to) what I'm doing! :-)
>
> It's handy at times..
It even can help to find wrong-closed brackets. the difference between )
and } could be very small after a whole day of work,
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2007-07-12 17:51 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12 13:11 [Buildroot] svn commit: trunk/buildroot: package package/busybox project target/ etc ulf at uclibc.org
2007-07-12 13:25 ` Steven J. Hill
2007-07-12 11:58 ` Ulf Samuelsson
2007-07-12 12:15 ` Ulf Samuelsson
2007-07-12 14:02 ` Alexander Kriegisch
2007-07-12 14:32 ` Bernhard Fischer
2007-07-12 14:42 ` Bernhard Fischer
2007-07-12 13:56 ` Ulf Samuelsson
2007-07-12 15:51 ` Yann E. MORIN
2007-07-12 16:24 ` [Buildroot] svn commit: trunk/buildroot: package?package/busybox " Bernhard Fischer
2007-07-12 16:39 ` Yann E. MORIN
2007-07-12 17:51 ` Benjamin Tietz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox