Displaying 20 results from an estimated 49 matches for "makedir".
2011 Apr 11
0
[PATCH] Makefile: Move Makefile fragments into mk/
...es.
This is purely a cosmetic change to make the 'include' directives a
bit more coherent by making it obvious exactly which MCONFIG file
we're including. For example, in com32/lua/src/Makefile we exchange
the line,
include ../../MCONFIG
for the much more comprehensible,
include $(MAKEDIR)/com32.mk
Signed-off-by: Matt Fleming <matt.fleming at linux.intel.com>
---
Makefile | 3 ++-
Makefile.private | 2 +-
com32/cmenu/Makefile | 5 +++--
com32/gdbstub/Makefile | 3 ++-
com32/gfxboot/Makefile...
2011 Apr 16
6
[PATCH 0/6] Makefile cleanups
From: Matt Fleming <matt.fleming at linux.intel.com>
This series includes a patch (PATCH 1/6) that I sent previously but I
thought it was worth sending it again since the rest of the series
depends on it, and it also gives a bit of context.
These cleanups make it simpler to do the big switchover to ELF modules
on the elflink branch because the libraries in $LIBS are now contained
in one
2010 May 11
1
Xen 4.0 build error
..._64/Makefile=20
#
=0AAutomatically generated by
=0A/foo/xen40/xen-4.0.0/linux-2.6-pvops.git=
/scripts/mkmakefile:
don''t edit
VERSION=0A =3D 2
PATCHLEVEL =3D 6
lastword =3D $(word $(words $(1)),$(1))=A0=A0
<----------------------------=
- line 7
makedir=0A :=3D
$(dir $(call lastword,$(MAKEFILE_LIST)))
MAKEARGS :=3D
-C =0A/foo/xen40/xen-4.0.0/linux-2.6-pvops.git
MAKEARGS +=3D
O=3D$(if =0A$(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst =
%/,%,$(makedir))
MAKEFLAGS=0A +=3D --no-print-directory
.PHONY: all $(MA...
2005 Jun 13
3
Perl installation under SuSe
Hi R-Help,
I have just downloaded RSPerl_0.7-0.tar.gz under SuSe.
If I type
owner@linux: ~work> R CMD INSTALL -c RSPerl_0.7-0.tar.gz
i get the following error message
makedir: cannot create directory '/user/lib/R/library/00LOCK' : Permission denied
ERROR: failed to lock directory '/usr/lib/R/library' for modifing
I would really appreciate if somebody can help me please.
Thanks in advance,
Tom
__________________________________________________
[[...
2011 Apr 29
1
[PATCH] hdt: libmenu.a no longer exists
...Fleming <matt.fleming at linux.intel.com>
---
com32/hdt/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/com32/hdt/Makefile b/com32/hdt/Makefile
index 65bc1c6..934ad25 100644
--- a/com32/hdt/Makefile
+++ b/com32/hdt/Makefile
@@ -19,7 +19,7 @@ topdir = ../..
MAKEDIR = $(topdir)/mk
include $(MAKEDIR)/elf.mk
-LIBS = ../cmenu/libmenu/libmenu.a ../libupload/libcom32upload.a
+LIBS = ../libupload/libcom32upload.a
CFLAGS += -I$(com32)/cmenu/libmenu -I$(com32)
MODULES = hdt.c32
--
1.7.4.4
2012 Jun 29
1
[syslinux:elflink] elflink: fix dependency problem in cmenu/ Makefile
...m32/cmenu/Makefile
> index 40a09d1..c6e0cae 100644
> --- a/com32/cmenu/Makefile
> +++ b/com32/cmenu/Makefile
> @@ -17,26 +17,15 @@
>
> NOGPL := 1
>
> -# This must be defined before com32.mk is included
> -LIBS = libmenu/libmenu.c32
> -
> topdir = ../..
> MAKEDIR = $(topdir)/mk
> include $(MAKEDIR)/elf.mk
>
> CFLAGS += -I./libmenu
>
> -LDFLAGS_complex.o = $(com32)/cmenu/libmenu/libmenu.c32 \
> - $(com32)/libutil/libutil_com.c32 \
> - $(com32)/lib/libcom32.c32
> -LDFLAGS_display.o = $(com32)/cmenu/libmenu/libmenu.c32...
2012 Oct 19
3
[PATCH 0/3] elflink fixes
From: Matt Fleming <matt.fleming at intel.com>
The first two patches in this series are fixes for bugs reported by
someone in #syslinux. The third makes dmitest.c32 actually wait for
user input.
If no one has any objections/concerns, I'll pull this into the
official elflink branch.
Matt Fleming (3):
core: Print error message if we don't load ldlinux.c32
Clean up $(GPLLIB) leak
2008 Nov 13
3
Creating a file and saving in public directory
...e a text file that
is saved in a /public/report directory.
I''ve had a look at the ruby api but I can''t seem to get this working.
The current code I have is:
#report.rb
class Report < ActiveRecord::Base
after_save :write_file
def write_file
if @file_data
File.makedirs("#{RAILS_ROOT}/report")
File.open("#{RAILS_ROOT}/report/waiting.adc", "w") { |file|
file.write("hello world") }
end
end
end
#report_controller.rb
def new
@report = File.new
end
def create
if @report.save
flash[:notice]='&...
2017 Jun 30
4
[PATCH v2 0/4] Allow cross-building of syslinux
Hi together,
this is the second version of my cross-compilation patch serie. I'm sending it in the hope to get an honest review, and possibly see the patches integrated upstream.
Those patches allow to build syslinux using a toolchain different from the host one by explicitely using the host toolchain for the utilities that are required at build-time / on the build machine.
I am using the
2013 Jul 31
3
Booting FreeBSD
...3:38] /tmp/syslinux-6.01 #gmake -C utils isohybrid.pl
gmake: Entering directory `/local0/tmp/syslinux-6.01/utils'
Makefile:18: /syslinux.mk: No such file or directory
gmake: *** No rule to make target `/syslinux.mk'. Stop.
gmake: Leaving directory `/local0/tmp/syslinux-6.01/utils'
(ie MAKEDIR is unset)
>> Syslinux loads & runs fine (indeed I can use it to run cdboot.bin and that actually runs FreeBSD if I am on a CD but it does not grok HD booting) however mboot does not like /boot/kernel/kernel. I get..
>> "Invalid Multiboot image: neither ELF header nor a.out klu...
2009 Jan 19
3
[LLVMdev] avoid creating .dir files
...n 19, 2009, at 1:58 PM, Chris Lattner wrote:
> On Jan 19, 2009, at 10:02 AM, Mike Stump wrote:
>
>> There isn't a good reason to create files called .dir in the
>> installation directory. This patch fixes that.
>
> If we don't have this line, every build with do the makedir.
And?
$ time mkdir -p /bin
real 0m0.002s
user 0m0.000s
sys 0m0.002s
an extra mkdir takes around 2ms per build. An up-to-date inc build
takes 2231ms for me. If you want some of the extra 2231ms back, I'd
recommend avoiding recursion in the makefiles. This will yield a
larger benefit...
2009 Jan 19
2
[LLVMdev] avoid creating .dir files
There isn't a good reason to create files called .dir in the
installation directory. This patch fixes that.
Ok?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-1.patch
Type: application/octet-stream
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090119/2086e82a/attachment.obj>
--------------
2009 Jan 19
0
[LLVMdev] avoid creating .dir files
On Jan 19, 2009, at 10:02 AM, Mike Stump wrote:
> There isn't a good reason to create files called .dir in the
> installation directory. This patch fixes that.
If we don't have this line, every build with do the makedir.
-Chris
2011 Apr 28
1
elflink: build failure
make[2]: *** No rule to make target `../cmenu/libmenu/libmenu.a', needed by `hdt.c32'. Stop.
Sebastian
2016 Mar 05
2
build problems with 6.04-pre1
...e_ fix is
needed.
thanks a lot for your valuable work
ciao
gabriele
Complete patch
==============
--- syslinux-6.04-pre1-BROKEN/mtools/Makefile.ORIG 2016-03-04 17:07:14.696050599 +0100
+++ syslinux-6.04-pre1-BROKEN/mtools/Makefile 2016-03-05 10:34:14.235228580 +0100
@@ -1,7 +1,7 @@
include $(MAKEDIR)/syslinux.mk
OPTFLAGS = -g -Os
-INCLUDES = -I$(SRC) -I$(objdir) -I$(SRC)/../libfat -I$(SRC)/../libinstaller
+INCLUDES = -I$(SRC) -I$(objdir) -I$(SRC)/../bios -I$(SRC)/../libfat -I$(SRC)/../libinstaller
CFLAGS = $(GCCWARN) -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
LDFLAGS =
--- syslin...
2014 Dec 17
0
[PATCH] build: sort sources to build in a more deterministic way
...rd *.menu))
+ rm -f $(patsubst %.menu,%.c,$(sort $(wildcard *.menu)))
spotless: clean libclean menuclean
rm -f *~ \#* *.c32
diff --git a/com32/gpllib/Makefile b/com32/gpllib/Makefile
index e3e30d7..1fec914 100644
--- a/com32/gpllib/Makefile
+++ b/com32/gpllib/Makefile
@@ -8,7 +8,7 @@ include $(MAKEDIR)/lib.mk
REQFLAGS += -I$(SRC)/../gplinclude -I$(SRC)/../gplinclude/zzjson
GPLDIRS := $(SRC) $(addprefix $(SRC)/,disk dmi vpd acpi zzjson)
-LIBOBJS := $(subst $(SRC)/,,$(foreach dir,$(GPLDIRS),$(patsubst %.c,%.o,$(wildcard $(dir)/*.c))))
+LIBOBJS := $(subst $(SRC)/,,$(foreach dir,$(GPLDIRS),$(pat...
2007 Dec 17
2
configure and assembler
I'm attempting to install a product and it's failing the compiler check.
CentOS 5.1
+ echo='/bin/echo -e'
+ rm -rf configure-tmp
+ mkdir configure-tmp
+ tmp_file=configure-tmp/xxx
+ makedirs=.
+ /bin/echo -e 'Checking C++ compiler... \c'
Checking C++ compiler... + cat
+ CXX=unknown
+ for i in '"CC"' '"g++"' '"cc"' '"$CC"'
+ CC -c configure-tmp/xxx.C
+ for i in '"CC"' '"g++"&...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and
2009 Sep 22
1
[PATCH] edit-livecd in python
...inally:
+ os.unlink(path)
+
+
+ def mount(self, base_on, cachedir = None):
+ """mount existing file system.
+
+ we have to override mount b/c we are not creating an new install root
+ nor do we need to setup the file system, ie makedirs(/etc/, /boot, ...),
+ nor do we want to overwrite fstab, or create selinuxfs
+
+ We also need to get some info about the image before we
+ can mount it.
+
+ """
+
+ if not base_on:
+ raise CreatorError("No...
2015 Sep 20
1
[syslinux:master] com32/modules: Split build by architecture. Add dir.c32
...+-------
> 1 file changed, 16 insertions(+), 7 deletions(-)
>
> diff --git a/com32/modules/Makefile b/com32/modules/Makefile
> index 13cc63b..c01d633 100644
> --- a/com32/modules/Makefile
> +++ b/com32/modules/Makefile
> @@ -18,13 +18,22 @@
> VPATH = $(SRC)
> include $(MAKEDIR)/elf.mk
>
> -MODULES = config.c32 ethersel.c32 dmitest.c32 cpuidtest.c32 \
> - disk.c32 pcitest.c32 elf.c32 linux.c32 reboot.c32 pmload.c32 \
> - meminfo.c32 sdi.c32 sanboot.c32 ifcpu64.c32 vesainfo.c32 \
> - kbdmap.c32 cmd.c32 vpdtest.c32 host....