From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Wed, 13 Jul 2011 17:53:43 +0900 Subject: [U-Boot] [PATCH v2] SMDKV310: Fix host compilation of mkv310_image In-Reply-To: References: <1310410158-21273-1-git-send-email-dirk.behme@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Dirk Behme, On 12 July 2011 16:20, Chander Kashyap wrote: > On 12 July 2011 00:19, Dirk Behme wrote: >> From: Dirk Behme >> >> Fix compilation of mkv310_image host tool >> >> tools/mkv310_image.c: In function 'main': >> tools/mkv310_image.c:67: error: 'S_IRUSR' undeclared (first use in this function) >> tools/mkv310_image.c:67: error: (Each undeclared identifier is reported only once >> tools/mkv310_image.c:67: error: for each function it appears in.) >> tools/mkv310_image.c:67: error: 'S_IWUSR' undeclared (first use in this function) >> tools/mkv310_image.c:67: error: 'S_IRGRP' undeclared (first use in this function) >> tools/mkv310_image.c:67: error: 'S_IWGRP' undeclared (first use in this function) >> tools/mkv310_image.c:67: error: 'S_IROTH' undeclared (first use in this function) >> tools/mkv310_image.c:67: error: 'S_IWOTH' undeclared (first use in this function) >> >> resulting from a 'make smdkv310_config'. >> >> Signed-off-by: Dirk Behme >> >> --- >> Changes in v2: Use sys/stat.h instead of linux/stat.h >> >> Note: mkv310_image is compiled for the host by the host's gcc: >> >> cd mmc_spl/board/samsung/smdkv310 >> gcc tools/mkv310_image.c -o tools/mkv310_mmc_spl_exec >> >> ?mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c | ? ?1 + >> ?1 file changed, 1 insertion(+) >> applied to u-boot-samsung. Please use "git format-patch" to make patches. Thanks Minkyu Kang -- from. prom. www.promsoft.net