From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/target/cramfs
Date: Tue, 2 Dec 2008 01:15:08 -0800 (PST) [thread overview]
Message-ID: <20081202091508.7E32B3C6D4@busybox.net> (raw)
Author: jacmet
Date: 2008-12-02 01:15:08 -0800 (Tue, 02 Dec 2008)
New Revision: 24228
Log:
target/cramfs/cramfs.mk: Fix device table not being passed to mkcramfs
While mkcramfs was being patched to support a device table, the target device table was not being passed to the mkcramfs options. This patch fixes that
Signed-off-by: Jared Holzman <j.holzman@genesysdesign.com.au>
Modified:
trunk/buildroot/target/cramfs/cramfs.mk
Changeset:
Modified: trunk/buildroot/target/cramfs/cramfs.mk
===================================================================
--- trunk/buildroot/target/cramfs/cramfs.mk 2008-12-02 06:38:26 UTC (rev 24227)
+++ trunk/buildroot/target/cramfs/cramfs.mk 2008-12-02 09:15:08 UTC (rev 24228)
@@ -40,11 +40,15 @@
#
#############################################################
ifeq ($(BR2_ENDIAN),"BIG")
-CRAMFS_ENDIANNESS=-b
+CRAMFS_OPTS=-b
else
-CRAMFS_ENDIANNESS=-l
+CRAMFS_OPTS=-l
endif
+ifneq ($(TARGET_DEVICE_TABLE),)
+CRAMFS_OPTS += -D $(TARGET_DEVICE_TABLE)
+endif
+
CRAMFS_TARGET=$(IMAGE).cramfs
cramfsroot: host-fakeroot makedevs cramfs
@@ -68,7 +72,7 @@
>> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
endif
# Use fakeroot so mkcramfs believes the previous fakery
- echo "$(CRAMFS_DIR)/mkcramfs -q $(CRAMFS_ENDIANNESS) " \
+ echo "$(CRAMFS_DIR)/mkcramfs -q $(CRAMFS_OPTS) " \
"$(TARGET_DIR) $(CRAMFS_TARGET)" >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
chmod a+x $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
$(STAGING_DIR)/usr/bin/fakeroot -- $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
next reply other threads:[~2008-12-02 9:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 9:15 jacmet at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-12-22 12:22 [Buildroot] svn commit: trunk/buildroot/target/cramfs aldot at uclibc.org
2006-12-10 13:42 aldot at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081202091508.7E32B3C6D4@busybox.net \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox