* BuildPlatformMain supports overriding HOST_LIBROOT on the target now,
so one can set it to the static libroot, if desired.
* Generic attribute emulation:
- Added build tool rm_attrs, a simple "rm" replacement, which also
removes the attributes directory for a given file.
- Added build/scripts/rm_attrs shell script, which wraps the
invocation of the rm_attrs tool. If it doesn't exist yet, the
ordinary rm is used.
- The RM jam variable refers to the rm_attrs script now, i.e. whenever
something is removed by the build system, the attributes are removed
too (if the build tool has already been built, that is).
- Removed the shell function attrrmrf() in build_haiku_image. We use
the rm_attrs tool instead, if necessary.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24528 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -37,7 +37,7 @@ rule InitScript
|
||||
|
||||
actions InitScript1
|
||||
{
|
||||
rm -f $(1)
|
||||
$(RM) $(1)
|
||||
echo -n > $(1)
|
||||
}
|
||||
|
||||
@@ -678,7 +678,7 @@ rule BuildVMWareImage vmwareImage : plainImage : imageSize
|
||||
|
||||
actions BuildVMWareImage1
|
||||
{
|
||||
rm -f $(1)
|
||||
$(RM) $(1)
|
||||
$(2[1]) -h 64k -i$(IMAGE_SIZE)M $(1) &&
|
||||
cat $(2[2]) >> $(1)
|
||||
}
|
||||
@@ -857,7 +857,7 @@ rule BuildFloppyBootImage image : zbeos : archive
|
||||
|
||||
actions BuildFloppyBootImage1
|
||||
{
|
||||
rm -f $(<)
|
||||
$(RM) $(<)
|
||||
# make an empty image
|
||||
dd if=/dev/zero of=$(<) bs=1k count=1440
|
||||
# add zbeos
|
||||
@@ -882,7 +882,7 @@ rule BuildCDBootImage image : bootfloppy : extrafiles
|
||||
|
||||
actions BuildCDBootImage1
|
||||
{
|
||||
rm -f $(<)
|
||||
$(RM) $(<)
|
||||
mkisofs -b $(BOOTIMG) -r -J -V bootimg -o $(<) $(>[1]) $(>[2-])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user