Add a top level target to the LAR makefile so it can be built by itself in the LBv3 tree. Also remove any reference to the build system so that LAr can be constructed in an un-configured tree.
Signed-off-by: Jordan Crouse jordan.crouse@amd.com Index: LinuxBIOSv3/util/lar/Makefile =================================================================== --- LinuxBIOSv3.orig/util/lar/Makefile 2007-07-23 09:44:22.000000000 -0600 +++ LinuxBIOSv3/util/lar/Makefile 2007-07-23 09:44:26.000000000 -0600 @@ -47,6 +47,8 @@ $(Q)$(HOSTCC) $(HOSTCFLAGS) -c $< -o $@
+lar: $(obj)/util/lar/lar + # ----------------------------------------------------------------------------- # Stuff below this line is for debugging purposes only.
Index: LinuxBIOSv3/util/lar/lar.h =================================================================== --- LinuxBIOSv3.orig/util/lar/lar.h 2007-07-23 09:44:21.000000000 -0600 +++ LinuxBIOSv3/util/lar/lar.h 2007-07-23 09:44:34.000000000 -0600 @@ -49,7 +49,6 @@ */
#include <stdint.h> -#include "../../build/config.h"
#define MAGIC "LARCHIVE" #define MAX_PATHLEN 1024
-- Jordan Crouse Systems Software Development Engineer Advanced Micro Devices, Inc.