Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] patch for makedevs to put in target - svn 17728
@ 2007-02-04 22:32 Doug the RockRat
  0 siblings, 0 replies; only message in thread
From: Doug the RockRat @ 2007-02-04 22:32 UTC (permalink / raw)
  To: buildroot

--- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-04 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-04 22:32 [Buildroot] patch for makedevs to put in target - svn 17728 Doug the RockRat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox