define Package/base-files$(TARGET)
SECTION:=base
CATEGORY:=Base system
- DEFAULT:=y
TITLE:=Base filesystem for OpenWrt
DESCRIPTION:=\
This package contains a base filesystem and system scripts for OpenWrt.
define Package/libgcc
SECTION:=libs
CATEGORY:=Base system
- DEFAULT:=y
DEPENDS:=@!NATIVE_TOOLCHAIN
TITLE:=GCC support library
URL:=http://gcc.gnu.org/
define Package/uclibc
SECTION:=libs
CATEGORY:=Base system
- DEFAULT:=y
DEPENDS:=@!NATIVE_TOOLCHAIN
TITLE:=C library embedded systems
URL:=http://uclibc.org/
endef
define Build/Compile/brcm
- $(TARGET_CC) -o $(PKG_BUILD_DIR)/jffs2root src/jffs2root.c
+ $(TARGET_CC) -I src -o $(PKG_BUILD_DIR)/jffs2root src/jffs2root.c
endef
define Build/Compile
define Package/base-files$(TARGET)/install
$(CP) ./default/* $(1)/
+ if [ -d $(BOARD) ]; then \
+ $(CP) $(BOARD)/* $(1)/; \
+ fi
if [ -d $(BOARD)-$(KERNEL) ]; then \
$(CP) $(BOARD)-$(KERNEL)/* $(1)/; \
fi