@ -18,7 +18,21 @@ KDIR=$(KERNEL_BUILD_DIR)
KDIR_TMP = $( KDIR) /tmp
DTS_DIR := $( LINUX_DIR) /arch/$( LINUX_KARCH) /boot/dts
IMG_PREFIX := openwrt-$( if $( CONFIG_VERSION_FILENAMES) ,$( VERSION_NUMBER) -) $( BOARD) $( if $( SUBTARGET) ,-$( SUBTARGET) )
d e f i n e t o u p p e r
$(shell echo $(1) | tr '[ : lower :]' '[:upper :]')
e n d e f
d e f i n e t o l o w e r
$(shell echo $(1) | tr '[ : upper :]' '[:lower :]')
e n d e f
d e f i n e s a n i t i z e
$( shell echo $ ( call tolower ,$ ( 1) ) | sed 's /_ /-/g ')
e n d e f
DIST_SANITIZED := $( call sanitize,$( VERSION_DIST) )
IMG_PREFIX := $( DIST_SANITIZED) -$( if $( CONFIG_VERSION_FILENAMES) ,$( VERSION_NUMBER) -) $( BOARD) $( if $( SUBTARGET) ,-$( SUBTARGET) )
MKFS_DEVTABLE_OPT := -D $( INCLUDE_DIR) /device_table.txt
@ -85,18 +99,6 @@ define add_jffs2_mark
echo -ne '\xde\xad\xc0\xde' >> $( 1)
e n d e f
d e f i n e t o u p p e r
$(shell echo $(1) | tr '[ : lower :]' '[:upper :]')
e n d e f
d e f i n e t o l o w e r
$(shell echo $(1) | tr '[ : upper :]' '[:lower :]')
e n d e f
d e f i n e s a n i t i z e
$( shell echo $ ( call tolower ,$ ( 1) ) | sed 's /_ /-/g ')
e n d e f
PROFILE_SANITIZED := $( call sanitize,$( PROFILE) )
d e f i n e s p l i t _ a r g s