Restruct obsolete directory
authorWendy Liang <jliang@xilinx.com>
Sat, 9 Jan 2016 00:25:32 +0000 (16:25 -0800)
committerWendy Liang <jliang@xilinx.com>
Tue, 9 Feb 2016 19:55:43 +0000 (11:55 -0800)
Restruct obsolete directory to make it
obsolete/system/<SYSTEM>/machine/<MACHINE>/

Signed-off-by: Wendy Liang <jliang@xilinx.com>
121 files changed:
lib/system/generic/machine/zynqmp_r5/Makefile.platform
obsolete/Makefile [new file with mode: 0644]
obsolete/open_amp/.gitkeep [deleted file]
obsolete/system/generic/machine/zynq7/linux-firmware/boot.c [moved from obsolete/system/zynq7/linux/boot.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/boot_wrapper.S [moved from obsolete/system/zynq7/linux/boot_wrapper.S with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/image.ub [moved from obsolete/system/zynq7/linux/image.ub with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/lib/arm-none-eabi-/libfdt.a [moved from obsolete/system/zynq7/linux/lib/arm-none-eabi-/libfdt.a with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/lib/arm-none-eabi-/libzlib.a [moved from obsolete/system/zynq7/linux/lib/arm-none-eabi-/libzlib.a with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/lib/arm-xilinx-eabi-/libfdt.a [moved from obsolete/system/zynq7/linux/lib/arm-xilinx-eabi-/libfdt.a with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/lib/arm-xilinx-eabi-/libzlib.a [moved from obsolete/system/zynq7/linux/lib/arm-xilinx-eabi-/libzlib.a with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/libfdt/fdt.h [moved from obsolete/system/zynq7/linux/libfdt/fdt.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/libfdt/libfdt.h [moved from obsolete/system/zynq7/linux/libfdt/libfdt.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/libfdt/libfdt_internal.h [moved from obsolete/system/zynq7/linux/libfdt/libfdt_internal.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/libfdt/types.h [moved from obsolete/system/zynq7/linux/libfdt/types.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/link_remote.ld [moved from obsolete/system/zynq7/linux/link_remote.ld with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/make [moved from obsolete/system/zynq7/linux/make with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/patches/linux/petalinux2013.10/devtree.patch [moved from obsolete/system/zynq7/linux/patches/linux/petalinux2013.10/devtree.patch with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/patches/linux/petalinux2013.10/gic.patch [moved from obsolete/system/zynq7/linux/patches/linux/petalinux2013.10/gic.patch with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/patches/linux/petalinux2013.10/readme.txt [moved from obsolete/system/zynq7/linux/patches/linux/petalinux2013.10/readme.txt with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/patches/linux/petalinux2013.10/system.dts [moved from obsolete/system/zynq7/linux/patches/linux/petalinux2013.10/system.dts with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/rsc_table.c [moved from obsolete/system/zynq7/linux/rsc_table.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/rsc_table.h [moved from obsolete/system/zynq7/linux/rsc_table.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/scripts/makefiles/echo_test_baremetal_fw/Makefile [moved from obsolete/system/zynq7/linux/scripts/makefiles/echo_test_baremetal_fw/Makefile with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/scripts/makefiles/mat_mul_baremetal_fw/Makefile [moved from obsolete/system/zynq7/linux/scripts/makefiles/mat_mul_baremetal_fw/Makefile with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/scripts/makefiles/mat_mul_demo/Makefile [moved from obsolete/system/zynq7/linux/scripts/makefiles/mat_mul_demo/Makefile with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/scripts/makefiles/readme [moved from obsolete/system/zynq7/linux/scripts/makefiles/readme with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/scripts/makefiles/rpc_demo_baremetal_fw/Makefile [moved from obsolete/system/zynq7/linux/scripts/makefiles/rpc_demo_baremetal_fw/Makefile with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/scripts/open_amp_create_projects.sh [moved from obsolete/system/zynq7/linux/scripts/open_amp_create_projects.sh with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/Makefile [moved from obsolete/system/zynq7/linux/src/libfdt/Makefile with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/Makefile.commons [moved from obsolete/system/zynq7/linux/src/libfdt/Makefile.commons with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/README [moved from obsolete/system/zynq7/linux/src/libfdt/README with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/fdt.c [moved from obsolete/system/zynq7/linux/src/libfdt/fdt.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/fdt.h [moved from obsolete/system/zynq7/linux/src/libfdt/fdt.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/fdt_ro.c [moved from obsolete/system/zynq7/linux/src/libfdt/fdt_ro.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/fdt_rw.c [moved from obsolete/system/zynq7/linux/src/libfdt/fdt_rw.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/fdt_wip.c [moved from obsolete/system/zynq7/linux/src/libfdt/fdt_wip.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/libfdt.h [moved from obsolete/system/zynq7/linux/src/libfdt/libfdt.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/libfdt_internal.h [moved from obsolete/system/zynq7/linux/src/libfdt/libfdt_internal.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/libfdt/types.h [moved from obsolete/system/zynq7/linux/src/libfdt/types.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/Makefile [moved from obsolete/system/zynq7/linux/src/zlib/Makefile with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/Makefile.commons [moved from obsolete/system/zynq7/linux/src/zlib/Makefile.commons with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/adler32.c [moved from obsolete/system/zynq7/linux/src/zlib/adler32.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/crc32.c [moved from obsolete/system/zynq7/linux/src/zlib/crc32.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/crc32.h [moved from obsolete/system/zynq7/linux/src/zlib/crc32.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/deflate.c [moved from obsolete/system/zynq7/linux/src/zlib/deflate.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/deflate.h [moved from obsolete/system/zynq7/linux/src/zlib/deflate.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/infback.c [moved from obsolete/system/zynq7/linux/src/zlib/infback.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/inffast.c [moved from obsolete/system/zynq7/linux/src/zlib/inffast.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/inffast.h [moved from obsolete/system/zynq7/linux/src/zlib/inffast.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/inffixed.h [moved from obsolete/system/zynq7/linux/src/zlib/inffixed.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/inflate.c [moved from obsolete/system/zynq7/linux/src/zlib/inflate.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/inflate.h [moved from obsolete/system/zynq7/linux/src/zlib/inflate.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/inftrees.c [moved from obsolete/system/zynq7/linux/src/zlib/inftrees.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/inftrees.h [moved from obsolete/system/zynq7/linux/src/zlib/inftrees.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/sbrk.c [moved from obsolete/system/zynq7/linux/src/zlib/sbrk.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/trees.c [moved from obsolete/system/zynq7/linux/src/zlib/trees.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/trees.h [moved from obsolete/system/zynq7/linux/src/zlib/trees.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/zconf.h [moved from obsolete/system/zynq7/linux/src/zlib/zconf.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/zlib.h [moved from obsolete/system/zynq7/linux/src/zlib/zlib.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/zutil.c [moved from obsolete/system/zynq7/linux/src/zlib/zutil.c with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/src/zlib/zutil.h [moved from obsolete/system/zynq7/linux/src/zlib/zutil.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/crc32.h [moved from obsolete/system/zynq7/linux/zlib/crc32.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/deflate.h [moved from obsolete/system/zynq7/linux/zlib/deflate.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/inffast.h [moved from obsolete/system/zynq7/linux/zlib/inffast.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/inffixed.h [moved from obsolete/system/zynq7/linux/zlib/inffixed.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/inflate.h [moved from obsolete/system/zynq7/linux/zlib/inflate.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/inftrees.h [moved from obsolete/system/zynq7/linux/zlib/inftrees.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/trees.h [moved from obsolete/system/zynq7/linux/zlib/trees.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/zconf.h [moved from obsolete/system/zynq7/linux/zlib/zconf.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/zlib.h [moved from obsolete/system/zynq7/linux/zlib/zlib.h with 100% similarity]
obsolete/system/generic/machine/zynq7/linux-firmware/zlib/zutil.h [moved from obsolete/system/zynq7/linux/zlib/zutil.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/Makefile [moved from obsolete/system/zynqmp_r5/generic/Makefile with 66% similarity]
obsolete/system/generic/machine/zynqmp_r5/make_xil_standalone_lib [new file with mode: 0644]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/Makefile [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/Makefile with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/_exit.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/_exit.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/_sbrk.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/_sbrk.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/abort.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/abort.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/asm_vectors.S [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/asm_vectors.S with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/boot.S [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/boot.S with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/bspconfig.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/bspconfig.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/config.make [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/config.make with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/cpu_init.S [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/cpu_init.S with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/errno.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/errno.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/mpu.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/mpu.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/sbrk.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/sbrk.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/vectors.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/vectors.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/vectors.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/vectors.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xbasic_types.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xbasic_types.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xdebug.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xdebug.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xenv.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xenv.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xenv_standalone.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xenv_standalone.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil-crt0.S [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil-crt0.S with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_assert.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_assert.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_assert.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_assert.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_cache.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_cache.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_cache.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_cache.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_cache_vxworks.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_cache_vxworks.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_exception.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_exception.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_exception.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_exception.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_hal.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_hal.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_io.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_io.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_io.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_io.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_macroback.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_macroback.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_mmu.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_mmu.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_mpu.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_mpu.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_mpu.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_mpu.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xil_types.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xil_types.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xparameters.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xparameters.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xparameters_ps.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xparameters_ps.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xpm_counter.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xpm_counter.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xpm_counter.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xpm_counter.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xpseudo_asm.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xpseudo_asm.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xpseudo_asm_gcc.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xpseudo_asm_gcc.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xreg_cortexr5.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xreg_cortexr5.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xscugic.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xscugic.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xscugic.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xscugic.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xscugic_g.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xscugic_g.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xscugic_hw.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xscugic_hw.h with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xscugic_sinit.c [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xscugic_sinit.c with 100% similarity]
obsolete/system/generic/machine/zynqmp_r5/xil_standalone_lib/xstatus.h [moved from obsolete/system/zynqmp_r5/generic/xil_standalone_lib/xstatus.h with 100% similarity]
obsolete/system/zynqmp_r5/generic/make_xil_standalone_lib [deleted file]

index 04f3e81d402b77e90eb9535ccb7de79b9ee04d07..46c113f7e54af8da0a456301ed118bdf07c06a31 100644 (file)
@@ -14,4 +14,4 @@ AR               = $(CROSS)ar
 LD               = $(CROSS)gcc
 OBJCPY           = $(CROSS)objcopy
 
-INCLUDES += -I$(SRCROOT)/../obsolete/system/$(MACHINE)/$(SYSTEM)/xil_standalone_lib
+INCLUDES += -I$(SRCROOT)/../obsolete/system/$(SYSTEM)/machine/$(MACHINE)/xil_standalone_lib
diff --git a/obsolete/Makefile b/obsolete/Makefile
new file mode 100644 (file)
index 0000000..282d238
--- /dev/null
@@ -0,0 +1,14 @@
+BUILD := $(BUILDROOT)/obsolete
+BUILDLIB := $(BUILDROOT)/libs
+export BUILDROOT OHOME BUILDLIB
+
+all:
+       if [ -f "system/$(SYSTEM)/machine/$(MACHINE)/Makefile" ]; then \
+               make -C system/$(SYSTEM)/machine/$(MACHINE) all || exit 255; \
+       fi; \
+       if [ -f "system/$(SYSTEM)/Makefile" ]; then \
+               make -C system/$(SYSTEM) all || exit 255; \
+       fi; \
+
+clean:
+       rm -rf $(BUILDROOT)
diff --git a/obsolete/open_amp/.gitkeep b/obsolete/open_amp/.gitkeep
deleted file mode 100644 (file)
index e69de29..0000000
similarity index 66%
rename from obsolete/system/zynqmp_r5/generic/Makefile
rename to obsolete/system/generic/machine/zynqmp_r5/Makefile
index 72bca8c0802357aa04d3cecd87284b5bb12302ba..f6891a0aa54b4afbeeb94bec3427f8ea377aeea3 100644 (file)
@@ -1,7 +1,10 @@
 # Make file to create baremetal lib.
 
+BUILD := $(BUILDROOT)/$(subst $(OHOME)/,,$(CURDIR))
 
-all: 
+export BUILD
+
+all:
        make  -f make_xil_standalone_lib
 clean:
        make  -f make_xil_standalone_lib clean
diff --git a/obsolete/system/generic/machine/zynqmp_r5/make_xil_standalone_lib b/obsolete/system/generic/machine/zynqmp_r5/make_xil_standalone_lib
new file mode 100644 (file)
index 0000000..ecbbeae
--- /dev/null
@@ -0,0 +1,22 @@
+PBUILD := $(BUILD)
+BUILD := $(PBUILD)/xil_standalone_lib
+
+XIL_DIR := ./xil_standalone_lib
+LIB := $(BUILDLIB)/libxil.a
+
+all: $(LIB)
+
+$(LIB): $(BUILD)/Makefile $(BUILDLIB)
+       make -C $(BUILD) all || exit 255
+       cp $(BUILD)/libxil.a $(BUILDLIB)/
+
+clean:
+       rm -rf $(BUILD)
+
+$(BUILD) $(BUILDLIB):
+       mkdir -p $@
+
+$(BUILD)/Makefile: $(BUILD)
+       rsync -a $(XIL_DIR)/ $(BUILD)/
+
+.PHONY: all clean
diff --git a/obsolete/system/zynqmp_r5/generic/make_xil_standalone_lib b/obsolete/system/zynqmp_r5/generic/make_xil_standalone_lib
deleted file mode 100644 (file)
index 0c5db0d..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-
-XIL_DIR := ./xil_standalone_lib
-LIB := libxil.a
-
-all: $(LIB)
-       make -C $(XIL_DIR) all
-
-$(LIB):
-       ln -s $(XIL_DIR)/$(LIB) $@
-       
-clean:
-       make -C $(XIL_DIR) clean
-       -$(RM) $(LIB) 
-
-.PHONY: all clean