From: Doug the RockRat <rickyrockrat@yahoo.com>
To: buildroot@busybox.net
Subject: [Buildroot] patch for makedevs to put in target - svn 17728
Date: Sun, 4 Feb 2007 14:32:22 -0800 (PST) [thread overview]
Message-ID: <265874.9205.qm@web62003.mail.re1.yahoo.com> (raw)
--- svn/buildroot/target/makedevs/Config.in
1969-12-31 17:00:00.000000000 -0700
+++
buildroot-2007-02-02.diff/target/makedevs/Config.in
2007-02-03 05:54:22.000000000 -0700
@@ -0,0 +1,5 @@
+config BR2_TARGET_MAKEDEVS
+ bool "make devices from config"
+ default n
+ help
+ Create device nodes whatnot for the target
device, in conjunction with device file.
diff -ruN svn/buildroot/target/makedevs/makedevs.mk
buildroot-2007-02-02.diff/target/makedevs/makedevs.mk
--- svn/buildroot/target/makedevs/makedevs.mk
2007-02-02 10:49:25.000000000 -0700
+++
buildroot-2007-02-02.diff/target/makedevs/makedevs.mk
2007-02-03 05:57:10.000000000 -0700
@@ -20,7 +20,19 @@
$(INSTALL) -m 755 $(MAKEDEVS_DIR)/makedevs
$(STAGING_DIR)/bin/makedevs
touch -c $(STAGING_DIR)/bin/makedevs
-makedevs: $(STAGING_DIR)/bin/makedevs
+$(TARGET_DIR)/sbin/makedevs:
$(MAKEDEVS_DIR)/makedevs.c
+ $(TARGET_CC) -Wall -Werror -O2
$(MAKEDEVS_DIR)/makedevs.c -o
$(TARGET_DIR)/sbin/makedevs
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_TARGET_MAKEDEVS)),y)
+TARGETS+=$(TARGET_DIR)/sbin/makedevs
+endif
+
+makedevs: $(STAGING_DIR)/bin/makedevs
$(TARGET_DIR)/sbin/makedevs
makedevs-source:
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
reply other threads:[~2007-02-04 22:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=265874.9205.qm@web62003.mail.re1.yahoo.com \
--to=rickyrockrat@yahoo.com \
--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