[Buildroot] [Bug 821] New: cp: illegal operation

bugzilla at busybox.net bugzilla at busybox.net
Mon Dec 21 23:13:10 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=821

              Host: MacBook Pro running Snow Leopard
            Target: ARM SX-560
             Build: buildroot
           Summary: cp: illegal operation
           Product: buildroot
           Version: 2009.11
          Platform: Macintosh
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: markus.schabel at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.5


When building the toolchain on my Mac, it always halts because of an illegal
parameter for cp. the parameter "-d" is not supported on Mac OS X. The
following patch should work on all systems:

--- Makefile    2008-02-25 09:15:31.000000000 +0100
+++ Makefile    2009-12-22 00:04:29.000000000 +0100
@@ -283,11 +257,11 @@
 $(BR2_DEPENDS_DIR): .config
        rm -rf $@
        mkdir -p $(@D)
+       cp -af $(CONFIG)/buildroot-config $@
-       cp -dpRf $(CONFIG)/buildroot-config $@

 dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the buildroot mailing list