aboutsummaryrefslogtreecommitdiffstats
path: root/package/Makefile
Commit message (Expand)AuthorAgeFilesLines
...
* add source feed rev to menuconfig, set 8180 as default rev for kamikaze 7.07Felix Fietkau2007-07-261-1/+1
* fix parallel build issuesFelix Fietkau2007-07-121-2/+2
* package/refresh should clean all packages before refreshing their patchesFelix Fietkau2007-06-041-3/+4
* Rename 'refresh' to 'update' and make the new 'refresh' actually refresh all ...Felix Fietkau2007-06-041-2/+9
* Add quilt integration for packagesFelix Fietkau2007-06-031-2/+2
* make sure that /etc/rc.d exists before creating symlinksFelix Fietkau2007-05-311-0/+1
* fixes for a few build errors on osx without finkFelix Fietkau2007-04-291-3/+3
* clean up version control junk in the rootfs directoryFelix Fietkau2007-04-241-0/+3
* add missing -prepare targetFelix Fietkau2007-04-201-2/+2
* revert package compile breakage introduced in [6936]Felix Fietkau2007-04-121-1/+1
* minor tweaks to the verbose systemMike Baker2007-04-111-4/+9
* Tidy up MakefilesMike Baker2007-04-031-17/+6
* fix the sdkFelix Fietkau2007-03-261-5/+1
* speed up package/installFelix Fietkau2007-03-171-1/+14
* Add an 'Image Configuration' menu to menuconfigFelix Fietkau2007-03-161-4/+8
* use default_subtargets in package/Makefile and target/MakefileFelix Fietkau2007-02-261-14/+1
* missed a reference to compile-targetsMike Baker2007-02-161-1/+1
* remove obsolete compile-targets ruleMike Baker2007-02-161-3/+1
* remove annoying package rm commandFelix Fietkau2007-02-161-1/+0
* move "make symlinks" to "make package/symlinks"Mike Baker2007-01-311-0/+2
* Fix config checks for Image Builder and SDK - only build them when requested.Felix Fietkau2007-01-141-0/+2
* remove hardcoded package nameFelix Fietkau2006-12-201-1/+1
* allow people to add files to the rootfs by putting them in $(TOPDIR)/files/Felix Fietkau2006-12-011-0/+3
* fix path to temporary filesFelix Fietkau2006-11-121-2/+2
* init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname...Felix Fietkau2006-10-151-0/+7
* fix typoFelix Fietkau2006-10-141-1/+1
* only check prerequisites of actually selected packagesFelix Fietkau2006-10-121-1/+1
* replace ipkg-make-index with a shell script that works on bsdFelix Fietkau2006-10-101-1/+2
* speed up package prereq check (only run make on those directories that actual...Felix Fietkau2006-10-051-1/+1
* clean up smp compilesMike Baker2006-08-031-7/+13
* only rebuild the package index when the *.ipk files have changedMike Baker2006-08-021-1/+3
* create a package indexFelix Fietkau2006-07-301-0/+3
* add support for per-package prereq checks, run global prereq checks before (m...Felix Fietkau2006-07-291-2/+7
* add copyright statementNicolas Thill2006-07-211-1/+8
* change 'source' to 'download'Mike Baker2006-07-201-3/+3
* switch on new verbose systemMike Baker2006-06-231-2/+0
* fix and enable the sdkFelix Fietkau2006-06-211-1/+4
* add package/download targetFelix Fietkau2006-06-201-0/+5
* add support for parallel build of packages (tested with -j8)Felix Fietkau2006-05-311-7/+11
* add package install targetFelix Fietkau2006-05-311-0/+4
* improve dependency handling, fix some package makefile bugsFelix Fietkau2006-05-301-2/+2
* add proper build dependsFelix Fietkau2006-05-301-1/+1
* finish up package makefileMike Baker2006-05-161-5/+14
* remove old trace/verbose junkFelix Fietkau2006-05-101-44/+6
* remove some more stuff, change package makefile format in rules.mk, port busy...Felix Fietkau2006-04-141-292/+0
* Add fakeidentd a lightweight identd daemon.Florian Fainelli2006-04-131-0/+1
* Add weechat, a lightweight IRC client, thanks kolter !Florian Fainelli2006-04-131-0/+1
* Add vncrepeater, with uClibc++ linking, needs therefore testingFlorian Fainelli2006-04-101-0/+1
* fix typoOpenWrt Developers2006-04-051-1/+1
* add hdparm to package/MakefileOpenWrt Developers2006-04-051-0/+1
/* start of a choice block (null name) */ #define SYMBOL_CHOICEVAL 0x0020 /* used as a value in a choice block */ #define SYMBOL_VALID 0x0080 /* set when symbol.curr is calculated */ #define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */ #define SYMBOL_WRITE 0x0200 /* ? */ #define SYMBOL_CHANGED 0x0400 /* ? */ #define SYMBOL_AUTO 0x1000 /* value from environment variable */ #define SYMBOL_CHECKED 0x2000 /* used during dependency checking */ #define SYMBOL_WARNED 0x8000 /* warning has been issued */ /* Set when symbol.def[] is used */ #define SYMBOL_DEF 0x10000 /* First bit of SYMBOL_DEF */ #define SYMBOL_DEF_USER 0x10000 /* symbol.def[S_DEF_USER] is valid */ #define SYMBOL_DEF_AUTO 0x20000 /* symbol.def[S_DEF_AUTO] is valid */ #define SYMBOL_DEF3 0x40000 /* symbol.def[S_DEF_3] is valid */ #define SYMBOL_DEF4 0x80000 /* symbol.def[S_DEF_4] is valid */ #define SYMBOL_MAXLENGTH 256 #define SYMBOL_HASHSIZE 9973 /* A property represent the config options that can be associated * with a config "symbol". * Sample: * config FOO * default y * prompt "foo prompt" * select BAR * config BAZ * int "BAZ Value" * range 1..255 */ enum prop_type { P_UNKNOWN, P_PROMPT, /* prompt "foo prompt" or "BAZ Value" */ P_COMMENT, /* text associated with a comment */ P_MENU, /* prompt associated with a menuconfig option */ P_DEFAULT, /* default y */ P_CHOICE, /* choice value */ P_SELECT, /* select BAR */ P_RANGE, /* range 7..100 (for a symbol) */ P_ENV, /* value from environment variable */ P_SYMBOL, /* where a symbol is defined */ P_RESET, /* reset to defaults condition */ }; struct property { struct property *next; /* next property - null if last */ struct symbol *sym; /* the symbol for which the property is associated */ enum prop_type type; /* type of property */ const char *text; /* the prompt value - P_PROMPT, P_MENU, P_COMMENT */ struct expr_value visible; struct expr *expr; /* the optional conditional part of the property */ struct menu *menu; /* the menu the property are associated with * valid for: P_SELECT, P_RANGE, P_CHOICE, * P_PROMPT, P_DEFAULT, P_MENU, P_COMMENT */ struct file *file; /* what file was this property defined */ int lineno; /* what lineno was this property defined */ }; #define for_all_properties(sym, st, tok) \ for (st = sym->prop; st; st = st->next) \ if (st->type == (tok)) #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) #define for_all_prompts(sym, st) \ for (st = sym->prop; st; st = st->next) \ if (st->text) struct menu { struct menu *next; struct menu *parent; struct menu *list; struct symbol *sym; struct property *prompt; struct expr *visibility; struct expr *dep; unsigned int flags; char *help; struct file *file; int lineno; void *data; }; #define MENU_CHANGED 0x0001 #define MENU_ROOT 0x0002 struct jump_key { struct list_head entries; size_t offset; struct menu *target; int index; }; #define JUMP_NB 9 extern struct file *file_list; extern struct file *current_file; struct file *lookup_file(const char *name); extern struct symbol symbol_yes, symbol_no, symbol_mod; extern struct symbol *modules_sym; extern struct symbol *sym_defconfig_list; extern int cdebug; struct expr *expr_alloc_symbol(struct symbol *sym); struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); struct expr *expr_copy(const struct expr *org); void expr_free(struct expr *e); int expr_eq(struct expr *e1, struct expr *e2); void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); tristate expr_calc_value(struct expr *e); struct expr *expr_eliminate_yn(struct expr *e); struct expr *expr_trans_bool(struct expr *e); struct expr *expr_eliminate_dups(struct expr *e); struct expr *expr_transform(struct expr *e); int expr_contains_symbol(struct expr *dep, struct symbol *sym); bool expr_depends_symbol(struct expr *dep, struct symbol *sym); struct expr *expr_extract_eq_and(struct expr **ep1, struct expr **ep2); struct expr *expr_extract_eq_or(struct expr **ep1, struct expr **ep2); void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2); struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); struct expr *expr_simplify_unmet_dep(struct expr *e1, struct expr *e2); void expr_fprint(struct expr *e, FILE *out); struct gstr; /* forward */ void expr_gstr_print(struct expr *e, struct gstr *gs); static inline int expr_is_yes(struct expr *e) { return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); } static inline int expr_is_no(struct expr *e) { return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no); } #ifdef __cplusplus } #endif #endif /* EXPR_H */