From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9309 invoked by alias); 23 Sep 2012 03:30:29 -0000 Received: (qmail 9187 invoked by uid 22791); 23 Sep 2012 03:30:28 -0000 X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pb0-f41.google.com (HELO mail-pb0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 23 Sep 2012 03:30:10 +0000 Received: by pbbro12 with SMTP id ro12so11298264pbb.0 for ; Sat, 22 Sep 2012 20:30:10 -0700 (PDT) Received: by 10.68.242.42 with SMTP id wn10mr26607518pbc.105.1348371010243; Sat, 22 Sep 2012 20:30:10 -0700 (PDT) Received: from localhost.localdomain ([210.205.14.5]) by mx.google.com with ESMTPS id b9sm6544430pay.22.2012.09.22.20.30.07 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 22 Sep 2012 20:30:09 -0700 (PDT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 3 of 3] scripts/build/kernel: symlink custom kernel source dir with '-f' X-Mercurial-Node: 543e2981f2b723ecd850cf2f839a1a7ccdf571b3 Message-Id: <543e2981f2b723ecd850.1348370892@localhost.localdomain> In-Reply-To: References: User-Agent: Mercurial-patchbomb/2.3.1 Date: Sun, 23 Sep 2012 03:30:00 -0000 From: graycells@gmail.com To: "Yann E. MORIN" Cc: crossgcc@sourceware.org X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00099.txt.bz2 # HG changeset patch # User Jang, Bongseo # Date 1348369168 -32400 # Node ID 543e2981f2b723ecd850cf2f839a1a7ccdf571b3 # Parent 4eef2edec3201c50b420a2ce04b73e29890dd553 scripts/build/kernel: symlink custom kernel source dir with '-f' build fails to symlink to custom kernel dir when the build is not the first time because of 'ln -s' without '-f' option. Signed-off-by: "Jang, Bongseo" diff -r 4eef2edec320 -r 543e2981f2b7 scripts/build/kernel/linux.sh --- a/scripts/build/kernel/linux.sh Sun Sep 23 11:53:02 2012 +0900 +++ b/scripts/build/kernel/linux.sh Sun Sep 23 11:59:28 2012 +0900 @@ -41,7 +41,7 @@ "${CT_TARBALLS_DIR}/${custom_name}" else custom_name="linux-custom" - CT_DoExecLog DEBUG ln -s "${CT_KERNEL_LINUX_CUSTOM_LOCATION}" \ + CT_DoExecLog DEBUG ln -sf "${CT_KERNEL_LINUX_CUSTOM_LOCATION}" \ "${CT_SRC_DIR}/${custom_name}" fi else # Not a custom tarball -- For unsubscribe information see http://sourceware.org/lists.html#faq