Commit Graph
67 Commits
Author SHA1 Message Date
BVK Chaitanya 6556eba9c6 Add missing files into "make dist" tarball for other platforms.
* gentpl.py (script): Use dist_noinst_DATA instead of EXTRA_DIST.
	* conf/Makefile.common (dist_noinst_DATA): New variable.
	* conf/Makefile.extra-dist: Added missing make dist files.
	* grub-core/Makefile.core.def: Likewise.
2010-09-03 21:23:00 +05:30
BVK Chaitanya ebd65b82dc remove leading / in dprintf output 2010-08-30 09:37:35 +05:30
BVK Chaitanya a7363f53c8 Use ldadd instead of ldflags for libraries 2010-08-29 09:33:13 +05:30
BVK Chaitanya 8ecbb72dee Multiple variable names support to "export" command.
* normal/context.c (grub_cmd_export): "export" command supports
	multiple variable names.
2010-08-25 18:50:41 +05:30
BVK Chaitanya cd6891117f review comment fixes 2010-08-25 18:39:00 +05:30
BVK Chaitanya d24c6190ae add changelog 2010-08-25 18:34:20 +05:30
BVK Chaitanya 5faf2ec0d7 merge with mainline 2010-08-25 14:05:05 +05:30
BVK Chaitanya 0c8b61d8e4 automake based build system for grub 2010-08-23 23:26:24 +05:30
BVK Chaitanya 645586e686 Replace --enable-grub-emu-modules with grub-emu-lite.
* kern/emu/cache.S: New file.  Wrapper for $target_cpu specific
	cache.S.

	* include/grub/emu/misc.h (grub_emu_init): New prototype.
	* kern/emu/full.c: New file. For grub-emu specific initialization.
	* kern/emu/lite.c: New file. For grub-emu-lite initialization.
	* kern/emu/main.c: Call initialization function grub_emu_init.

	* Makefile.in: Include grub-emu-lite in install.
	* commands/parttool.c: Use grub_no_autoload to differentiate
	between grub-emu and grub-emu-lite.
	* include/grub/misc.h: New variable grub_no_autoload.

	* conf/any-emu.rmk: New rules for grub-emu-lite.
	* configure.ac: Remove --enable-grub-emu-modules.
	* genmk.rb: Cleanup unnecessary rules.
	* include/grub/dl.h: Remove GRUB_NO_MODULES macro.

	* normal/main.c: Don't load list files on grub-emu-lite.
	* util/misc.c (grub_arch_sync_caches): Removed.
2010-08-23 23:06:29 +05:30
BVK Chaitanya 9444311834 merge with mainline 2010-08-23 21:50:38 +05:30
BVK Chaitanya 41b016a481 fix x86_64-efi build 2010-08-23 21:23:39 +05:30
BVK Chaitanya 9e860d5437 force bash for autogen.sh 2010-08-23 14:07:29 +05:30
BVK Chaitanya 40a4a8a9ed fix exit 1 in autogen.sh 2010-08-23 13:32:59 +05:30
BVK Chaitanya f7711f5ef1 final touches 2010-08-23 13:23:56 +05:30
BVK Chaitanya 30c4f234cc fix emu build 2010-08-23 10:31:08 +05:30
BVK Chaitanya d84666e6bb merge with mainline 2010-08-22 21:00:22 +05:30
BVK Chaitanya f51c98c485 remove wrong extension 2010-08-21 21:23:42 +05:30
BVK Chaitanya 5815f2c19a picks 10_${host_kernel} script 2010-08-21 21:03:26 +05:30
BVK Chaitanya 354128c8af fix x86_64_efi build 2010-08-21 17:22:19 +05:30
BVK Chaitanya c721825b4f build fixes for mips and ieee1275 platforms 2010-08-21 17:11:40 +05:30
BVK Chaitanya 8427685faa *_sources now collect all values of all its groups 2010-08-21 14:27:31 +05:30
BVK Chaitanya bdf0d62321 review comments 2010-08-21 09:48:27 +05:30
BVK Chaitanya 2bd591d03e add USE_ASCII_FAILBACK define 2010-08-21 00:50:12 +05:30
BVK Chaitanya 2be24791dd merge with mainline 2010-08-21 00:49:29 +05:30
BVK Chaitanya 00d0648491 fix emu build on netbsd 2010-08-20 22:34:19 +05:30
BVK Chaitanya a71e471975 fix distcheck from source tree 2010-08-20 21:01:13 +05:30
BVK Chaitanya 34cf2b8aea fix distcheck 2010-08-20 18:47:22 +05:30
BVK Chaitanya 3d9d354297 generate gcry rules from import_gcry 2010-08-20 18:21:31 +05:30
BVK Chaitanya 771111e53d fix COND_APPLE_CC definition 2010-08-20 13:00:11 +05:30
BVK Chaitanya 07daa815af better fix for setjmp module 2010-08-20 11:39:47 +05:30
BVK Chaitanya a26187d7c0 update .bzrignore 2010-08-20 11:13:37 +05:30
BVK Chaitanya 02a6605e7e minor fixes 2010-08-20 11:10:42 +05:30
BVK Chaitanya a5a3bccd54 added conf/Makefile.common and conf/Makefile.extra-dist 2010-08-20 10:14:29 +05:30
BVK Chaitanya 34980574fc minor cleanups 2010-08-19 17:50:05 +05:30
BVK Chaitanya 16c7cb32c8 merge with mainline 2010-08-19 16:54:00 +05:30
BVK Chaitanya 7afdce98a6 fix example_unit_test build 2010-08-19 15:47:38 +05:30
BVK Chaitanya 62f7d20835 fixed grub-emu build 2010-08-18 20:25:16 +05:30
BVK Chaitanya 019be613d0 fixed distcheck 2010-08-18 16:53:11 +05:30
BVK Chaitanya 2b6c00842d distcheck almost done 2010-08-18 11:57:51 +05:30
BVK Chaitanya f99b0464df rm grub-core/video/emu.moved 2010-08-17 19:46:13 +05:30
BVK Chaitanya a525bb9ae4 rm grub-core/configure.ac 2010-08-17 19:43:37 +05:30
BVK Chaitanya 76ed06b921 moved configure.common back to configure.ac 2010-08-17 19:41:43 +05:30
BVK Chaitanya adf4ef86af add po/Makefile.am 2010-08-17 19:23:50 +05:30
BVK Chaitanya a6b3849314 move grub-core/po back 2010-08-17 19:23:26 +05:30
BVK Chaitanya c49e5dfff8 remove Makefile.kernel and Makefile.vars 2010-08-17 19:17:57 +05:30
BVK Chaitanya 5c2d039c58 update .bzrignore 2010-08-17 19:04:35 +05:30
BVK Chaitanya 6304d29255 working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
BVK Chaitanya 1ec4a27928 export command supports multiple args 2010-08-16 15:04:30 +05:30
BVK Chaitanya 0a4fc180ec parallel build fix for utils 2010-08-15 21:09:37 +05:30
BVK Chaitanya db4122ba30 fix for grub-core parallel build failure 2010-08-15 20:40:24 +05:30
BVK Chaitanya 7a3c13dea5 Fix for misspelled color names defaulting to black/black (bug
reported by Doug Nazar)

	* include/grub/normal.h (grub_parse_color_name_pair): Add return
	status to prototype.
	* normal/color.c (grub_parse_color_name_pair): Return failure
	status.
	(grub_env_write_color_normal): Ignore bad color names.
	(grub_env_write_color_highlight): Likewise.
	* normal/main.c (GRUB_MOD_INIT): Set default color names.
2010-08-12 20:52:42 +05:30
BVK Chaitanya 681440aa5b fix bad color name handling 2010-08-12 20:45:55 +05:30
BVK Chaitanya ab8ba50d75 "shift" command support to GRUB script.
* include/grub/script_sh.h (grub_script_shift): New prototype.
	* script/execute.c (grub_script_shift): New function.
	* script/main.c (grub_script_init): Register shift command.
	(grub_script_fini): Unregister shift command.
	* util/grub-script-check.c (grub_script_cmd_shift): New function.

	* tests/grub_script_shift.in: New testcase.
	* conf/tests.rmk: Rules for new testcase.
2010-08-12 12:07:27 +05:30
BVK Chaitanya 163dd4f7e9 merge with mainline 2010-08-12 12:02:48 +05:30
BVK Chaitanya 4d61999e33 "continue" command support to GRUB script.
* script/execute.c (grub_script_execute_cmdwhile): Continue support.
	(grub_script_break): Continue support.
	* script/main.c (grub_script_init): Register continue command.
	(grub_script_fini): Unregister continue command.

	* tests/grub_script_continue.in: New testcase.
	* conf/tests.rmk: Rules for new testcase.
2010-08-12 11:48:21 +05:30
BVK Chaitanya 8908e49937 merge with mainline 2010-08-12 09:46:01 +05:30
BVK Chaitanya 4df51e0007 "break" command support to GRUB script.
* conf/common.rmk: Rule updates to grub-script-check.
	* include/grub/misc.h (grub_min): New function.
	* include/grub/script_sh.h (grub_script_init): New prototype.
	(grub_script_fini): New prototype.
	(grub_script_break): New prototype.
	* script/main.c (grub_script_init): New function.
	(grub_script_fini): New function.
	* script/execute.c (grub_script_break): New function.
	* normal/main.c: Calls to grub_script_{init,fini}.
	* util/grub-script-check.c (grub_script_break): New function.

	* tests/grub_script_break.in: New testcase.
	* conf/tests.rmk: Rules for new test case.
2010-08-12 09:35:15 +05:30
BVK Chaitanya fd324286d4 merge with mainline 2010-08-12 09:30:26 +05:30
BVK Chaitanya f12c842082 Function parameters support to GRUB script.
* script/yylex.l (VARIABLE): Regular expression update.
	* script/function.c (grub_script_function_call): Moved ...
	* script/execute.c (grub_script_function_call): ... to here.
	(grub_script_execute_arglist_to_argv): Removed.
	(grub_script_arglist_to_argv): New function.
	* script/argv.c: New file.
	(grub_script_argv_free): New function.
	(grub_script_argv_next): Likewise.
	(grub_script_argv_append): Likewise.
	(grub_script_argv_split_append): Likewise.
	* include/grub/script_sh.h (grub_script_argv): New struct.
	(grub_script_argv_free): New function.
	(grub_script_argv_next): Likewise.
	(grub_script_argv_append): Likewise.
	(grub_script_argv_split_append): Likewise.

	* conf/common.rmk (normal.mod): New source script/argv.c.

	* tests/grub_script_echo1.in: More tests.
	* tests/grub_script_vars1.in: Likewise.
	* tests/grub_script_functions.in: New test case.
	* conf/tests.rmk: Rules for new testcase.
2010-08-12 09:20:58 +05:30
BVK Chaitanya 4962a2032f merge with mainline 2010-08-12 09:16:24 +05:30
BVK Chaitanya 8022b74825 Remove grub_script_cmdblock struct.
* include/grub/script_sh.h: Remove grub_script_cmdblock.
	* script/parser.y: Likewise.
	* script/execute.c: Rename cmdblock suffix to cmdlist.
	* script/script.c: Likewise.
	* util/grub-script-check.c: Likewise.
2010-08-12 09:04:37 +05:30
BVK Chaitanya 0bcbae0fa7 merge with mainline 2010-08-12 09:01:59 +05:30
BVK Chaitanya 368ba29261 merge with mainline 2010-08-10 09:52:16 +05:30
BVK Chaitanya 02c9030aae builds w/o custom DEPDIR 2010-08-06 10:01:54 +05:30
BVK Chaitanya c9f7ff97cf * script/execute.c (grub_script_execute_cmdline): Check for NULL
as command name case.
2010-08-03 11:56:36 +05:30
BVK Chaitanya 29d7e783d2 * bus/usb/usbhub.c: #include time.h header. 2010-07-06 14:53:55 +05:30
BVK Chaitanya 14d3f08e70 Fix parallel build.
* conf/common.rmk: Add grub_script.tab.h as a grub-script-check
	dependency.
	* script/parser.y: #include grub_script.tab.h header.
2010-06-21 20:34:30 +05:30